Gifu/rensyuu

From 2014.igem.org

(Difference between revisions)
Line 89: Line 89:
else{
else{
r=200;
r=200;
-
 
+
if(rad==360){rad==360;}
 +
else{rad+=2}
 +
x=r*Math.cos(Math.PI/180*rad);
 +
y=r*Math.sin(Math.PI/180*rad);
 +
circle.style.top=y+180+"px";
 +
circle.style.left=x+390+"px";
 +
}
},7);
},7);
};
};

Revision as of 02:10, 6 September 2015

factory1