Turtle snow fall: 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 25: | Line 25: | ||
}); | }); | ||
} | } | ||
t.ht(); | |||
function snow() { | |||
t.setPos(Math.random()*300-150,Math.random()*300-150); | |||
snowflake(15,4); | |||
active = setTimeout(snow,100); | |||
} | |||
snow(); | |||
</textarea><br /> | </textarea><br /> |