Gifu/rensyuu
From 2014.igem.org
(Difference between revisions)
Line 74: | Line 74: | ||
function spinleft(){ | function spinleft(){ | ||
BBB=setInterval(function(){ | BBB=setInterval(function(){ | ||
- | + | if(m==0){ | |
if(rad==-360){rad==-360;} | if(rad==-360){rad==-360;} | ||
else{rad-=2}; | else{rad-=2}; | ||
Line 86: | Line 86: | ||
circle.style.transform="rotate("+k+"deg)"; | circle.style.transform="rotate("+k+"deg)"; | ||
},7); | },7); | ||
+ | } | ||
+ | |||
}; | }; | ||
Revision as of 01:54, 6 September 2015