TurtleLab samples
Pick a sample to open it in TurtleLab. It runs by itself, so you can watch the turtle draw it. Then change the blocks and see what happens. The sticky note on the page explains what the program does and why.
Nothing you change in a sample is saved unless you press Save, and the blocks you saved before are never touched. The eye button hides the blocks so you can see the whole picture. The samples are in order, easiest first.
-
A square
Open in TurtleLabFour sides and four turns, written once and repeated.
-
A dotted circle
Open in TurtleLabLift the pen between dashes to draw a ring of dots.
-
Hexagon flower
Open in TurtleLabA repeat inside a repeat: the inside draws a hexagon, the outside spins it.
-
Flower
Open in TurtleLabCurved petals on a dark blue sky.
-
A filled star
Open in TurtleLabFive lines and a lot of turning, filled with yellow.
-
Any polygon
Open in TurtleLabOne box holds the number of sides. Change it to change the shape.
-
Square spiral
Open in TurtleLabEach side is a little longer than the last.
-
Nested squares
Open in TurtleLabPrint shows the size of every square as it is drawn.
-
Spinning squares
Open in TurtleLabSquares turned a little each time, with colors made from a box.
-
Color burst
Open in TurtleLabFifty rays, each in a color picked by chance.
-
Countdown
Open in TurtleLabCounts 3, 2, 1 and then draws a circle.
-
Red and blue
Open in TurtleLabIf else picks red or blue, depending on whether a number is even.
-
Wandering turtle
Open in TurtleLabA coin flip decides left or right, again and again.
-
A block of your own
Open in TurtleLabTeach the turtle a new trick once, then use it again and again.
-
Initials with straight lines
Open in TurtleLabThe letters A, B and C built piece by piece, from straight lines.
-
Initials with curves
Open in TurtleLabThe same A, with a B and a C that use the arc block.
-
A block that calls itself
Open in TurtleLabEach call draws a side, then calls the block again a little bigger, until it is time to stop.
-
A tree
Open in TurtleLabA block that calls itself twice draws branches that split into smaller branches.
-
Words in seven fonts
Open in TurtleLabThe set font block picks the font for every write block after it.
-
Words every which way
Open in TurtleLabTurn the turtle and the words turn with it. Set curve bends them into an arch or a bowl.
-
Keyboard painter
Open in TurtleLabDraw with the keyboard. The up and down arrows walk the turtle, left and right turn it, and r, g and b change its color.
-
The bouncing turtle
Open in TurtleLabA timer moves the turtle by itself. When it gets near an edge it backs up and turns, so it bounces around the paper and draws a pattern.
-
Click flowers
Open in TurtleLabClick the paper and a flower of turning squares opens where you clicked, in a color and a size chosen by chance.
-
Catch the square
Open in TurtleLabA game. A red square sits at a random place. Click inside it to score a point, and it jumps somewhere else.
-
The fat snake
Open in TurtleLabA game. The snake moves by itself, and you steer it with the arrow keys. Eat the red squares and it gets fatter. Go off the edge and it starts again.
-
A heart to stitch
Open in TurtleLabOne unbroken line, which is what an embroidery machine likes best.
-
A star in a ring
Open in TurtleLabTwo colors means two threads, so the machine stops once for a thread change.
-
A flower to stitch
Open in TurtleLabEight petals made of two curves each, and a yellow middle for a second thread.
-
A cougar paw to stitch
Open in TurtleLabFour toes and a pad. One toe block is used four times.
-
The SLV cougar to stitch
Open in TurtleLabThe paw with SLV above it, in one red thread.
-
Cougars in script to stitch
Open in TurtleLabThe write block draws script letters with the pen, so a word becomes a line a machine can stitch.
-
A badge with curved words to stitch
Open in TurtleLabTwo rings, with words curved round the top and the bottom of the badge.