Turtle Rainbow
Follow this video instructions to learn how to:
- Import Pixel Turtle and use
forward(),backward(),left()andright() - Fill the screen with one color using Pixel Turtle
- Clear the screen using
clear() - Move the Pixel Turtle to an absolute position on the screen using
moveTo(x, y) - Move the Pixel Turtle to a relative position using
move(x, y) - Change Pixel Turtle color
- A trick to reset Pixel Turtle’s heading direction using
getHeading()