Learning CS and Math with Robotics

CSP Unit 3 Lesson 8.14b

Piano MinView
Linkbot Image Mindstorm Image
Grid Lines:
Tics Lines:
Width px
Hash Lines:
Width px
Font px
Trace Lines:
Robot 1:
Width px
Robot 2:
Width px
Robot 3:
Width px
Robot 4:
Width px
Simple View: Grid Size: S M L
CSP Unit 3 Lesson 8.14b

Using your code from Lesson 8.14a, modify the "fillColor" code block in the drawFish function so that it uses the "color with" code stub instead of the "hex color with" code stub. Keep the parameters (red, green, blue) as they are. Then change the drawFish function calls in your program so that the parameters used are numbers instead of text, with values between 0 and 255. (Remember that the number stub is found in the Math tab menu.)

See the hint if you get stuck, and don't forget to save your work to the cloud in an xml file named "YourName_Lesson8.14b"!

Load Blocks
Workspace Show Ch Save File Console

Rubbish bin