Reference

A list of all the commands in turtleSpaces and how they work.

Tour

A quick tour of Logo and turtleSpaces.

Books

Classic Logo books to get you rolling!

FAQ

Frequently-asked questions.

Tutorials

In-depth tutorials describing turtleSpaces syntax and grammar.

  • Tutorial #1: Simple Tree - These procedures draw a simple tree in a classic Logo lined style, and a forest of these trees. First, let’s take a look at the tree procedure as a whole. TO tree :scale slideleft 8.25 * :scale forward 20 * :scale repeat 4 [ slideleft (10 * (5 - repcount)) * :scale left 30 slideright […]

Examples

Practical examples of turtleSpaces Logo programs.

  • One-A-Day: Qtips - Today’s example is short but sweet. It creates a design made out of a bunch of qtip-like ‘sticks’ with balls on the ends. It is a design made out of ‘almost squares’ (four sides each at an 85 degree angle to each other). The turtle then turns right 5 degrees, and slides left 20 before […]
  • Logo Fireworks - This Logo program uses hatchlings to create simple 2D fireworks. The turtle’s model is changed into an icosphere to simulate a launching firework, and then more hatchlings are used to create the starburst. The trails are merged back into the main turtle ‘track’ and the hatchlings are terminated, leaving the rendered drawing on-screen at the […]
  • turtleArt Thumbtack String Corkboard - This commented Logo source code creates a thumbtack, a cork board, and then draws random string art using them. Read the ;comments to learn more about what the primitives do and what their shortcuts are. Try some of the primitives out in turtleSpaces interactive mode (the myrtle prompt) and see what they do! You can […]
  • Solar System Simulation - This Solar System simulation features the ability to add orbiting moons to the planets, a few of which are already defined. It is not entirely to scale (the planets are larger than they are in reality). Use the scrollwheel or finger-scroll to zoom in and out, and drag the mouse to rotate around the sun! […]
  • One-a-Day: Space Tube Ride using TUBE and TUBEARC - Sometimes Myrtle needs to take a break and have a little fun! One of the things she can do is make a space tube and fly through it, using the TUBE and TUBEARC primitives: TUBE makes a straight tube, and takes the parameters <radius> <depth> and <sides>. So, tube 20 10 10 makes a tube […]
  • One-a-Day: Amiga Ball Bounce - The Commodore Amiga computer had a famous ‘bouncing ball’ demonstration program, a checkered bouncing ball. It was a bit different than this, but this is certainly reminiscent of it. We love the Amiga demo so much that we created a special checkered ball primitive, AMIGABALL, and a second ‘oid’ primitive, AMIGABALLOID, which is used to […]
  • One-a-Day: FRAG - The FRAG primitive creates a filled shape out of the current turtle position and her last two positions. For example: FD 100 RT 90 FD 100 FRAG will create a triangle. While turtleSpaces has a variety of shape primitives, sometimes you need to create an arbitrary shape, and FRAG aids you in this. Take this […]
  • Quick Play: Warped Logo Spirals - One of the best things about turtleSpaces is its capacity for discovery through play. Today I was playing with spirals: I started off by creating a simple spiral using the RARC primitive and a simple REPEAT loop. This loop uses REPCOUNT (the current repeat loop iteration) to define the radius of the arc, resulting in […]
  • Make it Rain! - TO rain reset penup hideturtle fullscreen setbackgroundcolor blue setbackgroundshade 12 make "count 0 forever [ inc "count setposition {-300 + random 600 300 -300 + random 600} make "size 0.25 + ((1 + random 20) / 20) begintag "teardrop setfillcolor pick [2 3 6 7 14] setfillshade -10 + random 20 up 90 cutsphere 10 […]
  • ‘Snake’ written in turtleSpaces Logo - TO snake ;setup: reset ;empties (erases) all containers (variables), ;returns the turtles to their default positions, ;restores their states to defaults release ;sets all the turtles, except for the default ones ;(myrtle, snappy, libby) 'free' - erasing them penup ;don't draw setbackgroundcolor lightblue hideturtle ;don't show the executing turtle (typically myrtle) stealth ;don't show up […]