Turtle Blocks is an activity with a Logo-inspired graphical "turtle" that draws colorful art based on snap-together visual programming elements. Its "low floor" provides an easy entry point for beginners. It also has "high ceiling" programming, graphics, mathematics, and Computer Science features which will challenge the more adventurous student.
Using Turtle Blocks
Sugar users can run Turtle Blocks as an app embedded in the Browse activity (See Turtle Blocks Embedded) or simply open Turtle Blocks in the Browse activity itself.
Once you've launched Turtle Blocks in your browser, start by clicking on (or dragging) blocks from the Turtle palette. Use multiple blocks to create drawings; as the turtle moves under your control, colorful lines are drawn.
You add blocks to your program by clicking on or dragging them from the palette to the main area. You can delete a block by dragging it back onto the palette. Click anywhere on a “stack” of blocks to start executing that stack or by clicking in the Big Play Button (fast running) or press it for a long while for the Turtle to run (slowly) on the Main Toolbar.
Getting Started Documentation
The basic buttons and basic blocks are explained in detail in Documentation.
A guide to programming with Turtle Blocks is available in Turtle Blocks Guide.
A quick start:
Turtle Confusion presents 40 shape challenges to the learner that must be completed using basic Logo-blocks. The challenges are based on Barry Newell’s 1988 book, Turtle Confusion: Logo Puzzles and Riddles. You can access these puzzles from the Turtle Confusion page.
Music Blocks is fork of Turtle Blocks with additional blocks for programming music.
Bugs can be reported in the issues section of this repository.
Please consider contributing to the project, with your ideas, your artwork, your lesson plans, and your code.
Programmers, please follow these general guidelines for contributions.
Turtle Blocks has a plugin mechanism that is used to add new blocks. You can learn more about how to use plugins (and how to write them) from the Plugins Guide.
List of Plugins
- Mindstorms: blocks to interact with the LEGO Mindstorms robotics kit
- RoDi: blocks to interact with RoDi wireless robot
- Carbon Calculator: blocks for exploring your carbon footprint
- Maths: addition blocks for some more advanced mathematics
- Translate: blocks for translating strings between languages, e.g., English to Spanish
- Dictionary: a block to look up dictionary definitions
- Weather: blocks to retrieve global weather forecasts
- Logic: blocks for bitwise Boolean operations
- Finance: a block for looking up market prices
- Bitcoin: a block for looking up bitcoin exchange rates
- Nutrition: blocks for exploring the nutritional content of food
- Facebook: a block for publishing a project to Facebook
- Heap: blocks to support a heap and for loading and saving data
- Accelerometer: blocks for accessing an accelerometer
- Turtle: blocks to support advanced features when using multiple turtles
- Gmap: blocks to support generation of Google maps.
- Random quote: returns random quote of the day