Learning Math and CS with Robotics
Sign In

CSP Unit 3 Lesson 7.7

Linkbot Image Mindstorm Image
Grid Size: S M L Simple View: MinView:
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 Save Show C Edit C Ch Shell Console

Rubbish bin