L-systems: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 23: | Line 23: | ||
var len = 500/Math.pow(2,level); | var len = 500/Math.pow(2,level); | ||
t.setPos(-250,-250); | t.setPos(-250,-250); | ||
t.rt(90); | t.rt(90*Math.pow(-1,levl)); | ||
</textarea><br /> | </textarea><br /> | ||
<input type="button" value="run" onClick="run()"> | <input type="button" value="run" onClick="run()"> |
Revision as of 19:25, 30 December 2008