Team:Gifu

From 2014.igem.org

(Difference between revisions)
Line 64: Line 64:
function stopmove(){
function stopmove(){
clearInterval(AAA);
clearInterval(AAA);
-
BBB=setInterval(function(){
+
function(){
-
 
+
if(rad>=270){rad+=0;}
if(rad>=270){rad+=0;}
-
else{rad+=0;};
+
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

factory1