Team:Gifu
From 2014.igem.org
(Difference between revisions)
Line 107: | Line 107: | ||
rad+=2; | rad+=2; | ||
if(rad==m){rad-=2,k-=2}; | if(rad==m){rad-=2,k-=2}; | ||
- | if(rad | + | if(rad==360){rad=0}; |
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 02:21, 2 September 2014