Animation III: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 10: | Line 10: | ||
var i; | var i; | ||
for (i=0;i<p.length;i++) { | for (i=0;i<p.length;i++) { | ||
p.moveTo([Math.random(),Math.random()],400); | p[i].moveTo([Math.random(),Math.random()],400); | ||
} | } | ||
},1000); | },1000); | ||
</jsxgraph> | </jsxgraph> |