Jump to content

Activities/Turtle Art/Getting started: Difference between revisions

From Sugar Labs
Tonyforster (talk | contribs)
Tonyforster (talk | contribs)
Line 42: Line 42:
File:Showcamera.jpg|'show' the camera output
File:Showcamera.jpg|'show' the camera output
File:Showsound.jpg|'show' plays sounds as well
File:Showsound.jpg|'show' plays sounds as well
File:Speech.jpg|Text to speech. Load the Python block with the inbuilt sample code <i>speak.py</i>
</gallery>
</gallery>



Revision as of 02:05, 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

Boxes, Stacks and the Heap

(aka variables, subroutines and the stack)

Displaying things

Keyboard, mouse and sensor input

Mathematics