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

From Sugar Labs
Jump to navigation Jump to search
Line 55: Line 55:
 
File:TA-if.png|Logical operations: flow control blocks accept >, <, =, and, not, or as input  
 
File:TA-if.png|Logical operations: flow control blocks accept >, <, =, and, not, or as input  
 
File:Pie2.png|Make pie charts [http://wiki.sugarlabs.org/go/File:Turtle_Art_Activity_pie_chart.ta]
 
File:Pie2.png|Make pie charts [http://wiki.sugarlabs.org/go/File:Turtle_Art_Activity_pie_chart.ta]
File:Functionblock.jpg|Use Python functions, (accepts any of the [http://docs.python.org/library/time.html time] or [http://docs.python.org/library/math.html math] library functions)  
+
File:Functionblock.jpg|Use Python functions, (accepts any of the [http://docs.python.org/library/time.html time] or [http://docs.python.org/library/math.html math] library functions)
 +
File:Coordinates.png|Cartesian and polar coordinate grids
 
</gallery>
 
</gallery>
  

Revision as of 04:45, 2 March 2011

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