Jump to content

Activities/Turtle Art/Getting started: Difference between revisions

From Sugar Labs
Tonyforster (talk | contribs)
Getting Started: make a more narrow gallery to fit next to the TOC
Line 11: Line 11:
File:TA-basics.png|Basic turtle graphics: 'forward', 'back', 'arc', and 'right' blocks
File:TA-basics.png|Basic turtle graphics: 'forward', 'back', 'arc', and 'right' blocks
File:TA-pencolor.png|The 'set color' block affects pen trails, fill and text
File:TA-pencolor.png|The 'set color' block affects pen trails, fill and text
</gallery>
<gallery>
File:TA-pensize.png|'set pen size' block
File:TA-pensize.png|'set pen size' block
File:Penupdown.jpg|'pen up' and 'pen down'
File:Penupdown.jpg|'pen up' and 'pen down'

Revision as of 19:32, 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