Gifu/rensyuu2

From 2014.igem.org

(Difference between revisions)
(Undo revision 406915 by Fukufuku (talk))
Line 81: Line 81:
if(rad==-360){rad=180;}
if(rad==-360){rad=180;}
else{rad-=2};
else{rad-=2};
-
x=r*Math.cos(Math.PI/180*rad);
+
x=l*Math.cos(Math.PI/180*rad);
-
y=r*Math.sin(Math.PI/180*rad);
+
y=l*Math.sin(Math.PI/180*rad);
circle2.style.top=y+180+"px";
circle2.style.top=y+180+"px";
circle2.style.left=x+120+"px";
circle2.style.left=x+120+"px";

Revision as of 10:57, 9 September 2015

factory1