Gifu/rensyuu
From 2014.igem.org
(Difference between revisions)
Line 59: | Line 59: | ||
AAA=setInterval(function(){ | AAA=setInterval(function(){ | ||
if(m==1){ | if(m==1){ | ||
- | if(rad==360){rad=0; m=1;} | + | if(rad==360){rad=0; |
+ | m=1;} | ||
else{rad+=2}; | else{rad+=2}; | ||
x=r*Math.cos(Math.PI/180*rad); | x=r*Math.cos(Math.PI/180*rad); |
Revision as of 02:37, 6 September 2015