Commands
All commands must be entered on their own lines
- fd ##: example,
fd 50, moves forward and draws a line by ## (50) pixels
- bk ##: example,
bk 50, moves backward and draws a line by ## (50) pixels
- rt ##: example,
rt 90, turns right ## (90) degrees
- lt ##: example,
lt 90, turns left ## (90) degrees
- up: lifts pen up. All fd/bk commands will not draw a line.
- down: puts pen down. All fd/bk commands will draw a line.
- repeat ## / end Everything between repeat and end will be repeated ## times. E.g.
repeat 360
fd 1
rt 1
end
Draws a circle.
- color XXXXXX: example,
color blue will draw lines in the specified color
- home: moves back to 0,0 without drawing
- setpos ## ##: moves to x,y specified without drawing