Gifu/rensyuu
From 2014.igem.org
(Difference between revisions)
Line 86: | Line 86: | ||
AAA=setInterval(function(){ | AAA=setInterval(function(){ | ||
- | if(rad==360){ | + | if(rad==360){rad=0;} |
- | + | ||
- | ;} | + | |
else{rad+=2}; | else{rad+=2}; | ||
x=r*Math.cos(Math.PI/180*rad); | x=r*Math.cos(Math.PI/180*rad); | ||
Line 104: | Line 102: | ||
BBB=setInterval(function(){ | BBB=setInterval(function(){ | ||
- | if(rad==360){ | + | if(rad==360){clearInterval(BBB);} |
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 01:37, 6 September 2015