Team:Gifu
From 2014.igem.org
(Difference between revisions)
Line 66: | Line 66: | ||
BBB=setInterval(function(){ | BBB=setInterval(function(){ | ||
rad+=1; | rad+=1; | ||
- | if(rad=270){rad-=1}; | + | if(rad==270){rad-=1}; |
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 10:12, 1 September 2014