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

From Sugar Labs
Jump to navigation Jump to search
(→‎Getting Started: make a more narrow gallery to fit next to the TOC)
Line 21: Line 21:
 
File:turtlesquare.jpg|Use the 'repeat' block to draw shapes
 
File:turtlesquare.jpg|Use the 'repeat' block to draw shapes
 
File:Turtlepolygon.jpg|This can be generalised to n sided polygons, n is stored in 'box 1'
 
File:Turtlepolygon.jpg|This can be generalised to n sided polygons, n is stored in 'box 1'
 +
</gallery>
 +
<gallery>
 
File:Turtlefilledtriangle.jpg|Use 'start fill' and 'end fill' to draw filled shapes
 
File:Turtlefilledtriangle.jpg|Use 'start fill' and 'end fill' to draw filled shapes
 
File:TA-sample4.png|There's no limit
 
File:TA-sample4.png|There's no limit

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