Team:Gifu
From 2014.igem.org
(Difference between revisions)
Line 64: | Line 64: | ||
function stopmove(){ | function stopmove(){ | ||
clearInterval(AAA); | clearInterval(AAA); | ||
- | + | function(){ | |
- | + | ||
if(rad>=270){rad+=0;} | if(rad>=270){rad+=0;} | ||
- | else{rad+= | + | else{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:58, 1 September 2014