Difference between revisions of "Hexagonal kolam"

From JSXGraph Wiki
Jump to: navigation, search
 
(One intermediate revision by one other user not shown)
Line 34: Line 34:
 
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].createElement('turtle');
+
turtle[0] = brd[0].create('turtle');
  
 
function expander(level,axiom,rules) {
 
function expander(level,axiom,rules) {

Latest revision as of 09:13, 8 June 2011

For an explanation see L-systems.