Gifu/rensyuu2
From 2014.igem.org
(Difference between revisions)
Line 46: | Line 46: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
<!-- | <!-- | ||
- | var r= | + | var r=200; |
var rad=180; | var rad=180; | ||
var x; | var x; | ||
Line 58: | Line 58: | ||
function spinright(){ | function spinright(){ | ||
AAA=setInterval(function(){ | AAA=setInterval(function(){ | ||
- | |||
- | |||
if(rad==540){rad=0; m=0;} | if(rad==540){rad=0; m=0;} | ||
else{rad+=2}; | else{rad+=2}; | ||
Line 71: | Line 69: | ||
circle.style.transform="rotate("+k+"deg)"; | circle.style.transform="rotate("+k+"deg)"; | ||
- | + | ||
},7); | },7); | ||
}; | }; |
Revision as of 11:03, 9 September 2015