Jump to content

Activities/Turtle Art/Getting started: Difference between revisions

From Sugar Labs
Tonyforster (talk | contribs)
Tonyforster (talk | contribs)
Line 39: Line 39:


<gallery>
<gallery>
File:TA-box-eample.png|Named variables: 'store in' block
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:Collapsestack.jpg|Collapse a 'stack' of blocks to save space
File:Collapsestack.jpg|Collapse a 'stack' of blocks to save space

Revision as of 20:14, 1 March 2011

Getting Started

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 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