Turtle Graphics: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 26: | Line 26: | ||
t.clean(); | t.clean(); | ||
t.lt(30); | t.lt(30); | ||
t.setPos(0,-100); | t.setPos(0,-100); | ||
snowflake(250, 3); | snowflake(250, 3); | ||
</textarea><br /> | </textarea><br /> | ||
<input type="button" value="run" onClick="run()"> | <input type="button" value="run" onClick="run()"> | ||
Line 132: | Line 130: | ||
function run() { | function run() { | ||
brd.suspendUpdate(); | |||
eval($('input').value); | eval($('input').value); | ||
brd.unsuspendUpdate(); | |||
} | } | ||
Revision as of 15:58, 19 December 2008