Dragon curve: Difference between revisions

From JSXGraph Wiki
No edit summary
No edit summary
 
Line 31: Line 31:
var turtle = [];
var turtle = [];
var brd = [];
var brd = [];
brd[0] = JXG.JSXGraph.initBoard('box0', {originX: 300, originY: 300, unitX: 1, unitY: 1});
brd[0] = JXG.JSXGraph.initBoard('box0', {boundingbox: [-300, 300, 300, -300]});
turtle[0] = brd[0].create('turtle');
turtle[0] = brd[0].create('turtle');



Latest revision as of 13:43, 7 June 2011

For an explanation see L-systems.