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


A quick tour of Logo and turtleSpaces.

Shape Guides

Guides to the variety of 2D and 3D shapes available in turtleSpaces


Classic Logo books to get you rolling!


Frequently-asked questions.


In-depth tutorials describing turtleSpaces syntax and grammar.

  • Desert Mountain Lake — An Introduction to Fill - In a recent update to turtleSpaces, we added the ability to create arbitrary shapes, using the beginfill and endfill primitives. To create a shape, you simply declare beginfill, draw out its borders and then declare endfill. If the lines do not cross each other, then the shape should be created. For example: beginfill forward 50 […]
  • Logo and the Language Microworld - Logo isn’t just all about the turtles! When Logo was first being developed, there were no graphical displays — output was simple text on teletypes, which printed out interactions with the computer on paper. When the developers of Logo went into classrooms to test out their invention on students, all they had were teletypes. As […]
  • Project Idea: How to Code a Hangman-style game in Logo - You can open this project in the web-based IDE environment by following this link: Due to Logo’s enhanced string-handling capabilities and built-in dictionary, making Hangman-style games in turtleSpaces is easy-peasy! The mechanics of a Hangman game are simple: the computer chooses a word, and then the player chooses letters. If the letters they choose […]
  • Logo Game Design Introduction: Downhill Skiing - Downhill Skiing exercises Logo’s list handling capabilities and leverages turtleSpaces 3D functionality to create an engaging yet simple game. Once loaded, click the flag icon to start. Click here to open this project in the web IDE. Herein lies a wonderful introduction to game development in turtleSpaces. The game mechanic behind downhill is simple: the […]
  • Alpine Trees: an Introduction to Terrain - turtleSpaces new terrain functionality provides some great opportunities for simple coding examples with few lines of Logo code, in this case less than 30. First, we need to introduce the setterrain primitive. setterrain creates ‘terrain’ or a contiguous object of varying elevation. The above is an example of the object created by setterrain. The setterrain […]
  • Tutorial: Fancy a game of darts? - Consider the below game of ‘pub darts’: You can open it in our Javascript-based IDE by clicking here If you hover over the various primitives in the editor, a popup will tell you what they do. The game consists of three main parts: the dartboard, the darts and the game itself. The dartboard is constructed […]
  • A Starry turtleSpaces Logo Introduction Part Three: Starwarp Improvements - In the previous episode, we created a progressively-generated starfield we moved through with the camera turtle, creating a cool flying-through-space effect. But it has a few issues we should address. Firstly, it is possible for a star to end up flying through the windscreen of our spaceship! Which is cool, but looks a bit strange. […]
  • A Starry turtleSpaces Logo Introduction Part Two: Starwarp - In this second part of our introduction to turtleSpaces Logo, we’re going to take the stars we made in the first part, and create a ‘rolling’ starfield we are going to move through using the camera turtle, to create a Star Trek-style warp effect. To create this effect, the drawing turtle, Myrtle, is going to […]
  • A Starry turtleSpaces Logo Introduction Part One: Starfield - Traditional Logo had new users build a house as an introduction, but due to turtleSpaces’ 3D nature, starfields are much more impressive, so we’ll start there. Click and drag the window above to see all the stars! Cool huh? First, we’re going to create this simple starfield that wraps around the camera position. We’ll start […]
  • How to create and 3D print a chess pawn in turtleSpaces Logo - First, open the weblogo. Then, click in the bottom right REPL area Create the ‘head’ of the pawn using the ico primitive cs penup ico 20 If you start the line with a cs, you can use the up arrow to go back to the line after adding each command (and seeing the result) to […]


Practical examples of turtleSpaces Logo programs.

  • Creating 3D-printable landscapes and craters in Logo - Terrain can be saved as STL files (under the File menu in the web IDE) and then 3D printed! setterrain [x1 y1 x2 y2] (list) | [height floor ceiling] (list) | seed (number) | algorithm (word) OR [algorithm magnification] | style (word) Creates terrain on the z-plane between the specified x and y co-ordinates. These […]
  • Turtle Wordle: A Clone of Wordle in 60 Lines of Logo - Wordle, a cross between Mastermind and Hangman, seems to be the rage these days. Also, implementing it in as few lines as possible. In Logo we get to cheat a little about the second bit, as we can stack multiple commands on the same line. But we still need to keep things within a reasonable […]
  • Floaty Turtle: A Flappy Bird clone in Logo - Floaty Turtle is a simple clone of Flappy Bird written in the Logo programming language that turtleSpaces uses. Open in the integrated development environment (IDE) NEWTURTLE "myrtle TO floaty ;here is yet another example of a relatively complex ;game that can be rather simply implemented in Logo: ;a flappy bird clone! ;to make it work […]
  • Bale Example: Dodgeball - Dodgeball is a very simple game using a bale wherein the player moves the turtle from the left to right sides of the screen using the keyboard. This is similar to a popular example used to teach Scratch, and the basic concept should be familiar to most Scratch learners. In the case of this example, […]
  • Activity Idea: Gone Fishin’ - Build this cool island scene using turtleSpaces Logo and a few basic shapes! First we begin with a tree. We can build a trunk using a repeat loop of cylinders that get narrower in diameter and longer as we go. We can introduce a slight curve as well by tilting the turtle up a bit […]
  • turtleSpaces Halloween! - Witches, pumpkins, devils, ghosts and black cats are all haunting turtleSpaces this Hallowe’en! turtleSpaces is great for creating 3D models using code. You can also find these models in the Published projects section of the webLogo interpreter. The Pumpkin: The pumpkin is created using the spheroidslice primitive, which creates an elongated slice of a sphere. […]
  • Creating Animated Videos Using turtleSpaces - The above animation was created inside turtleSpaces, and then exported as a webm video file using the savewebm primitive. I then used Final Cut Pro to add the audio and the titles. The Logo code used to create the animation is fairly straightforward. The turtle moves in an arc outwards from the center, creating arcs […]
  • Example: Towers of Hanoi - This rendition of Towers of Hanoi is a simple game to code and makes introductory use of 3D shapes. Recreating it could serve as a great introduction to turtleSpaces and Logo coding in general. In the game, you attempt to transfer the disks on post 1 to post 3 ending in the same order the […]
  • Example: Plane Trapped in a Torus - This example demonstrates the use of various camera-related functions, shape inversion, the premodel primitive and others to create this cool animation of a plane trapped in a torus! The procedure first sets the turtle model to the built-in plane model, before creating a tag that sets the color of the torus. Then it creates an […]
  • Rocket Orbit - This simple commented project allows for the introduction of 3D movements and shapes (the rocket procedure) including a basic introduction to repeat, the creation of turtle models and the use of premodel, an introduction to the orbit primitives and the use of a new worker (thread) for orbiting the camera! TO rocket forward 70 down […]