Gifu/rensyuu

From 2014.igem.org

(Difference between revisions)
(Undo revision 406909 by Fukufuku (talk))
 
(8 intermediate revisions not shown)
Line 68: Line 68:
-
k+=2;
+
k+=1;
-
if(rad==360){k=90};
+
 
circle.style.transform="rotate("+k+"deg)";
circle.style.transform="rotate("+k+"deg)";
}
}
Line 84: Line 84:
y=r*Math.sin(Math.PI/180*rad);
y=r*Math.sin(Math.PI/180*rad);
circle.style.top=y+180+"px";
circle.style.top=y+180+"px";
-
circle.style.left=x+290+"px";
+
circle.style.left=x+120+"px";
 +
 
k-=2;
k-=2;

Latest revision as of 10:39, 9 September 2015

factory1