Gifu/rensyuu2
From 2014.igem.org
(Difference between revisions)
Line 61: | Line 61: | ||
function spinright(){ | function spinright(){ | ||
AAA=setInterval(function(){ | AAA=setInterval(function(){ | ||
- | if(rad==540){rad | + | if(rad==540){rad=0;} |
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 10:59, 9 September 2015