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 | + | 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 09:35, 1 September 2014