Team:Gifu
From 2014.igem.org
(Difference between revisions)
Line 49: | Line 49: | ||
rad+=1; | rad+=1; | ||
- | if(rad>=360){rad=0 | + | if(rad>=360){rad=0;} |
+ | else{rad+=1} | ||
x=r*Math.cos(Math.PI/180*rad); | x=r*Math.cos(Math.PI/180*rad); | ||
y=r*Math.sin(Math.PI/180*rad); | y=r*Math.sin(Math.PI/180*rad); |
Revision as of 09:39, 1 September 2014