N-gones - Slow version: Difference between revisions
From JSXGraph Wiki
A WASSERMANN (talk | contribs) No edit summary |
A WASSERMANN (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
<form><textarea id="inputtext" rows=12 cols=35 wrap="off" style="width:600px;"> | <form><textarea id="inputtext" rows=12 cols=35 wrap="off" style="width:600px;"> | ||
function mn_eck(ne,sz) { | function mn_eck(ne,sz) { | ||
for(var i= | for(var i=ne;i>0;i--) { | ||
t.rt(360/ne); | t.rt(360/ne); | ||
for(var j= | for(var j=ne;j>0;j--) { | ||
t.rt(360/ne); | t.rt(360/ne); | ||
t.fd(sz); | t.fd(sz); |
Revision as of 15:59, 25 February 2009