Activities/Turtle Art: Difference between revisions
Tonyforster (talk | contribs) |
Tonyforster (talk | contribs) →Extras Palette: spelling |
||
| Line 298: | Line 298: | ||
:: add your own math equation in the block, e.g., sin(x); This block is expandable to support up to three variables, e.g. f(x,y,z) | :: add your own math equation in the block, e.g., sin(x); This block is expandable to support up to three variables, e.g. f(x,y,z) | ||
* Import Python: [[Activities/TurtleArt-0.88#Python_code_block|import Python code]] from the Sugar Journal (a more general-purpose programmable block). This block accepts a single variable x, as an input or up to 3 variables as an array x[0], x[1] and x[2] | * Import Python: [[Activities/TurtleArt-0.88#Python_code_block|import Python code]] from the Sugar Journal (a more general-purpose programmable block). This block accepts a single variable x, as an input or up to 3 variables as an array x[0], x[1] and x[2] | ||
* turtle: | * turtle: specify which turtle is active | ||
* comment: program comment | * comment: program comment | ||
* print: print value in status block | * print: print value in status block | ||