Difference between revisions of "Activities/Turtle Art/Getting started"

From Sugar Labs
Jump to navigation Jump to search
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
==Getting Started==
 
==Getting Started==
  
[[Image:Screenshot of "Turtle Art Activity" getting started.png|300px]]
+
There are several Turtle Art manuals:
 +
* [http://ht.ly/gqueN]
 +
 
 +
[[Image:New-TA-Repeat-block.png|300px]]
  
 
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.
 
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.
Line 48: Line 51:
 
File:Collapsestack.jpg|Collapse a 'stack' of blocks to save space
 
File:Collapsestack.jpg|Collapse a 'stack' of blocks to save space
 
File:Pushpop.jpg|Store data in the first in last out heap using 'push' and 'pop'
 
File:Pushpop.jpg|Store data in the first in last out heap using 'push' and 'pop'
File:Turtlearray.jpg|Box names (and stack names) can be boxes, in this case 10 boxes are created. This is a powerful programming feature. A one dimensional array of variables has effectively been created.
+
File:Turtlearray.jpg|Box names (and stack names) can be boxes, in this case (taken from the math-dice project), a one-dimensional array of 11 variables has been created.  
 
</gallery>
 
</gallery>
  

Latest revision as of 17:22, 29 December 2012

Getting Started

There are several Turtle Art manuals:

New-TA-Repeat-block.png

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 Rabbit (fast) , Turtle (slow) or Bug (debug) buttons Rabbitturtle.jpg on the Project Toolbar.

The basics

Drawing shapes

Displaying things

Boxes, Stacks and the Heap

(aka variables, subroutines and the stack)

Mathematics

Keyboard, mouse and sensor input