Team:Gifu

From 2014.igem.org

(Difference between revisions)
Line 98: Line 98:
k+=2;
k+=2;
-
if(k==360){k=0};
+
if(rad==360){k=90};
circle.style.transform="rotate("+k+"deg)";
circle.style.transform="rotate("+k+"deg)";
},10);
},10);
Line 115: Line 115:
if(rad==m){k-=2;}
if(rad==m){k-=2;}
else{k+=2;};
else{k+=2;};
-
if(k==360){k=0};
+
if(rad==360){k=90};
circle.style.transform="rotate("+k+"deg)";
circle.style.transform="rotate("+k+"deg)";

Revision as of 02:25, 2 September 2014

factory1



///////////////////////////////////////// test ////////////////// end of test