Activities/Turtle Art: Difference between revisions

Tonyforster (talk | contribs)
Tonyforster (talk | contribs)
Line 295: Line 295:
* pop: pop value off of the FILO (can be used in place of a number block)
* pop: pop value off of the FILO (can be used in place of a number block)
* empty heap: empty the FILO
* empty heap: empty the FILO
* Python: a [[#Python_function_block programmable block]] (can be used in place of a number block)
* Python: a [[Activities/TurtleArt-0.88#Python_function_block programmable block]] (can be used in place of a number block)
:: 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: import Python code from the Sugar Journal (a more general-purpose programmable block)
* Import Python: import Python code from the Sugar Journal (a more general-purpose programmable block)