Difference between revisions of "Activities/Turtle Art/Getting started"
< Activities | Turtle Art
Jump to navigation
Jump to search
Tonyforster (talk | contribs) |
Tonyforster (talk | contribs) |
||
Line 57: | Line 57: | ||
===Mathematics=== | ===Mathematics=== | ||
<gallery> | <gallery> | ||
+ | File:Mathoperators.jpg |Math operators including + - * / mod sqrt | ||
File:TA-if.png|Logical operations: the 'if' block | File:TA-if.png|Logical operations: the 'if' block | ||
File:Pie2.png|Make pie charts | File:Pie2.png|Make pie charts | ||
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) | ||
</gallery> | </gallery> |
Revision as of 18:36, 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
Entering a multi digit number, exits with the number in 'box 1',(enter = 13 terminates) [[1]]
Read sensors plugged into the microphone socket [2]