Difference between revisions of "Hexagonal kolam"

From JSXGraph Wiki
Jump to: navigation, search
Line 35: Line 35:
 
var brd = [];
 
var brd = [];
 
brd[0] = JXG.JSXGraph.initBoard('box0', {originX: 300, originY: 300, unitX: 1, unitY: 1});
 
brd[0] = JXG.JSXGraph.initBoard('box0', {originX: 300, originY: 300, unitX: 1, unitY: 1});
turtle[0] = brd[0].createElement('turtle');
+
turtle[0] = brd[0].create('turtle');
  
 
function expander(level,axiom,rules) {
 
function expander(level,axiom,rules) {

Revision as of 11:52, 25 March 2011

For an explanation see L-systems.