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

From Sugar Labs
Jump to navigation Jump to search
Line 45: Line 45:
 
File:TA-box-eample.png|Named variables: store a variable in 'box'
 
File:TA-box-eample.png|Named variables: store a variable in 'box'
 
File:Namedstacks.jpg|Named 'stacks' of blocks can be reused
 
File:Namedstacks.jpg|Named 'stacks' of blocks can be reused
 +
File:ActionBlocks.png|When a new named stack is created, a new action block is added to the palette.
 
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'

Revision as of 20:06, 9 July 2012

Getting Started

Screenshot of "Turtle Art Activity" getting started.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