L-systems: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 99: | Line 99: | ||
if (code=='') { return; } | if (code=='') { return; } | ||
t = turtle[nr]; | t = turtle[nr]; | ||
t.cs(); | |||
t.cs(); | |||
t.hideTurtle(); | t.hideTurtle(); | ||
eval(code); | eval(code); | ||
var generator = new expander(level,axiom,rules); | var generator = new expander(level,axiom,rules); | ||
plotter(generator,symbols,len,angle,t); | plotter(generator,symbols,len,angle,t); | ||
brd[nr].unsuspendUpdate(); | brd[nr].unsuspendUpdate(); | ||
} | } |
Revision as of 19:43, 30 December 2008