Difference between revisions of "Mango kolam"

From JSXGraph Wiki
Jump to navigationJump to search
Line 31: Line 31:
 
</form>
 
</form>
 
</html>
 
</html>
<jsxgraph width="600" height="600" box="jxgbox">
+
<jsxgraph width="600" height="600" box="box0">
 
var t;
 
var t;
 
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', {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:55, 25 March 2011

For an explanation see L-systems.