Slow the turtle down: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 9: | Line 9: | ||
if (n>0) { | if (n>0) { | ||
t.fd(20); | t.fd(20); | ||
t.lt( | t.lt(90*(1-n/100)); | ||
var st = 'run(' + (n-1) + ')'; | var st = 'run(' + (n-1) + ')'; | ||
setTimeout(st,50); | setTimeout(st,50); |
Revision as of 14:16, 25 February 2009