L-systems: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) (New page: <html> <link rel="stylesheet" type="text/css" href="http://jsxgraph.uni-bayreuth.de/distrib/jsxgraph.css" /> <script type="text/javascript" src="http://jsxgraph.uni-bayreuth.de/distrib/pro...) |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 55: | Line 55: | ||
} | } | ||
function plotter() { | function plotter() { | ||
for (var c; c=generator.next(); c) { | for (var c; c=generator.next(); c) { | ||
Line 95: | Line 94: | ||
t.hideTurtle(); | t.hideTurtle(); | ||
eval(code); | eval(code); | ||
var generator = new expander(level); | |||
plotter(); | plotter(); | ||
brd.unsuspendUpdate(); | brd.unsuspendUpdate(); |
Revision as of 18:26, 30 December 2008