Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Your task is to write a program that will display Beep Boopers to the Processing canvas. Moreover, you will write your program such that it

Your task is to write a program that will display Beep Boopers to the Processing canvas. Moreover, you
will write your program such that it is very easy to change Beep Boopers color. Beep Boopers will have a
primary colour (which we will shorten to pc) in grayscale, and a secondary colour (sc) in RGB. Your code
should be split up into several smaller functions as outlined below.. Note that each of these functions will
involve one or more parameters; review the textbook carefully and/or ask your TA to make sure you use
these effectively!
draw_arms(pc,sc1,sc2,sc3) draws the robot monkeys arms with fists (you dont need to draw every
finger- just a ball representing a balled up first will do). The arms should be coloured in grayscale
given by function parameter pc while the fists are coloured in RGB given by the function parameters
(sc1,sc2,sc3)
draw_legs(pc,sc1,sc2,sc3) draws the robot monkeys legs and feet (you dont need to draw ev-
ery toe- just a ball representing the feet works). The legs should be coloured in grayscale given by
the function parameter pc while the feet are coloured in RGB given by the function parameters
(sc1,sc2,sc3).
draw_beep_boopers(pc,sc1,sc2,sc3) makes a function call to all four of the functions above in order
to draw all parts of Beep Boopers. This functions parameters should be passed on as arguments to
the other four functions

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Fundamentals Study Guide

Authors: Dr. Sergio Pisano

1st Edition

B09K1WW84J, 979-8985115307

More Books

Students also viewed these Databases questions

Question

Define span of management or define span of control ?

Answered: 1 week ago

Question

What is meant by formal organisation ?

Answered: 1 week ago

Question

What is meant by staff authority ?

Answered: 1 week ago

Question

Discuss the various types of policies ?

Answered: 1 week ago