Learning Math and CS with Robotics
Sign In

CSP Unit 3 Lesson 9.6

Piano
Linkbot Image Mindstorm Image
Grid Size: S M L Simple View: MinView:
CSP Unit 3 Lesson 9.6

The pre-placed code uses a repeat loop to draw circles of random colors at random locations with a random radius of 1, 2, or 3 units (and opacity = 50%), on a white background. Experiment with the number of iterations to see how many it takes to cover the entire background. Compare your answer with your neighbor's. (Because of the randomness, it will be a little different each time you run the code.)

Load Blocks
Hardware
LArduino
Workspace Save Show C Edit C Ch Shell Console

		
Rubbish bin
Time