Learning CS and Math with Robotics

CSP Unit 3 Lesson 8.13

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

Using your code from Lesson 8.12, modify the drawGrass function so that it uses a third parameter, named grassWidth, that can be used to specify the width of the grass blades drawn. Then add function calls to your program to draw grass in several locations with different widths. Don't forget to save your work to the cloud in an xml file named "YourName_Lesson8.13"!

Load Blocks
Workspace Show Ch Save File Console

Rubbish bin