Gifu/rensyuu2
From 2014.igem.org
(Difference between revisions)
Line 78: | Line 78: | ||
function spinleft(){ | function spinleft(){ | ||
BBB=setInterval(function(){ | BBB=setInterval(function(){ | ||
- | if(rad==-360){rad=180 | + | if(rad==-360){rad=180;} |
else{rad-=2}; | else{rad-=2}; | ||
x=l*Math.cos(Math.PI/180*rad); | x=l*Math.cos(Math.PI/180*rad); |
Revision as of 10:59, 9 September 2015