Team:Gifu
From 2014.igem.org
(Difference between revisions)
Line 73: | Line 73: | ||
circle.style.left=x+200+"px"; | circle.style.left=x+200+"px"; | ||
- | k+=2; | + | if(rad==270){k-=2;} |
+ | else{k+=2;}; | ||
if(k>=360){k=0}; | if(k>=360){k=0}; | ||
circle.style.transform="rotate("+k+"deg)"; | circle.style.transform="rotate("+k+"deg)"; |
Revision as of 10:27, 1 September 2014