Changes

Jump to navigation Jump to search
No change in size ,  10:48, 8 November 2010
Line 376: Line 376:     
* push: push value onto FILO (first-in last-out) heap
 
* push: push value onto FILO (first-in last-out) heap
 +
* pop: pop value off of the FILO (can be used in place of a number block)
 
* show heap: show FILO in status block
 
* show heap: show FILO in status 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 [[Activities/TurtleArt-0.88#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: [[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: specify which turtle is active
   
* comment: program comment (displayed in "walk" mode)
 
* comment: program comment (displayed in "walk" mode)
 
* print: print value in status block (also available in Turtle Art)
 
* print: print value in status block (also available in Turtle Art)
 
* Cartesian: display Cartesian coordinate grid overlay
 
* Cartesian: display Cartesian coordinate grid overlay
 +
* polar: display polar coordinate grid overlay
 
* width: screen width (can be used in place of a number block)
 
* width: screen width (can be used in place of a number block)
 
* height: screen height (can be used in place of a number block)
 
* height: screen height (can be used in place of a number block)
* polar: display polar coordinate grid overlay
+
* turtle: specify which turtle is active
 +
* turtle shell: import a image from the Journal to use as the turtle's 'shell', i.e., replace the turtle with a sprite.
 
* top of stack: block to denote the top of a collapsible stack
 
* top of stack: block to denote the top of a collapsible stack
 
* bottom of stack: block to denote the bottom of a collapsible stack
 
* bottom of stack: block to denote the bottom of a collapsible stack
 
:: To use the collapsible-stack blocks, place them around the blocks you want to hide
 
:: To use the collapsible-stack blocks, place them around the blocks you want to hide
* turtle shell: import a image from the Journal to use as the turtle's 'shell', i.e., replace the turtle with a sprite.
      
====Sensors Palette====
 
====Sensors Palette====

Navigation menu