Difference between revisions of "Turtle Graphics"

From JSXGraph Wiki
Jump to navigationJump to search
Line 91: Line 91:
 
             var brd = JXG.JSXGraph.initBoard('box', {originX: 300, originY: 300, unitX: 1, unitY: 1});
 
             var brd = JXG.JSXGraph.initBoard('box', {originX: 300, originY: 300, unitX: 1, unitY: 1});
 
             var t = new turtleObj(brd);
 
             var t = new turtleObj(brd);
 +
 +
function run() {
 +
  eval($('input').value);
 +
}
 +
 
</script>
 
</script>
 
</html>
 
</html>
  
 
[[Category:Examples]]
 
[[Category:Examples]]

Revision as of 16:31, 19 December 2008