Learning CS and Math with Robotics

CSP Unit 3 Lesson 7.7

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 7.7

The arc command draws a portion of a circle. For example, the pre-placed arc command draws a half-circle. (Click "Run" to try it out.) Its first two parameters specify the (x,y) coordinates of the center of the circle, the third parameter specifies the radius for the circle, and the final two parameters specify the start and ending angle of the arc, with the positive x axis being an angle of 0 degrees (and 360 degrees) and the positive direction for angle measurement being counter-clockwise. Experiment with different parameter values for the arc command to get a feel for it, and then try to create the code that will reproduce the squiggly line shown, consisting of four arcs.

Load Blocks
Workspace Show Ch Save File Console

Rubbish bin