Difference between revisions of "Turtle Graphics"

From JSXGraph Wiki
Jump to navigationJump to search
Line 89: Line 89:
 
             turtleObj.prototype.rt = function(angle) { this.right(angle); };
 
             turtleObj.prototype.rt = function(angle) { this.right(angle); };
  
             var brd = JXG.JSXGraph.initBoard('jsxgbox', {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);
 
</script>
 
</script>

Revision as of 16:29, 19 December 2008