Learning CS and Math with Robotics

CSP Unit 3 Lesson 8.12

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.12

Using the drawFish and drawStar function definitions from Lesson 8.11 as a model, modify the drawGrass function so that it has two parameters, named grass_x and grass_y, that specify the (x, y) location for the grass. Then add function calls to your program to draw grass in several locations. If you get stuck, see the Hint, and don't forget to save your work to the cloud in an xml file named "YourName_Lesson8.12"!

Load Blocks
Workspace Show Ch Save File Console

Rubbish bin