Learning CS and Math with Robotics
Barobo

CSP Unit 3 Lesson 8.11

Piano MinView
Linkbot Image Mindstorm Image
x061218243036y363024181260
Grid Lines:
Tics Lines:
Width px
Hash Lines:
Width px
Labels:
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.11

Using the drawFish function definition as a model, modify the drawStar function so that it has two parameters, named star_x and star_y, that specify the (x, y) location for the star. (Review Lesson 8.6 if you need a refresher on adding parameters to functions.) Then add function calls to your program to draw stars in several locations. Don't forget to save your work to the cloud in an xml file named "YourName_Lesson8.11"!

Load Blocks
Hardware
LArduino
Workspace Show Ch Save File Console

		
Rubbish bin
Time