Difference between revisions of "Team:Gifu/training"
Line 68: | Line 68: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
<!-- | <!-- | ||
− | var r= | + | var r=100; |
− | var l | + | var l; |
var rad=180; | var rad=180; | ||
var x; | var x; | ||
Line 79: | Line 79: | ||
function spinright(){ | function spinright(){ | ||
AAA=setInterval(function(){ | AAA=setInterval(function(){ | ||
+ | if(m==1){ | ||
+ | r=200; | ||
if(rad==540){rad=0; m=0;} | if(rad==540){rad=0; m=0;} | ||
else{rad+=2}; | else{rad+=2}; | ||
Line 90: | Line 92: | ||
document.getElementById("point1").style.transform="rotate("+k+"deg)"; | document.getElementById("point1").style.transform="rotate("+k+"deg)"; | ||
− | + | } | |
},7); | },7); | ||
}; | }; | ||
Line 96: | Line 98: | ||
function spinleft(){ | function spinleft(){ | ||
BBB=setInterval(function(){ | BBB=setInterval(function(){ | ||
+ | if(m==0){ | ||
+ | r=100; | ||
if(rad==-360){rad=180; m=1;} | if(rad==-360){rad=180; m=1;} | ||
else{rad-=2}; | else{rad-=2}; | ||
Line 108: | Line 112: | ||
document.getElementById("point2").style.transform="rotate("+k+"deg)"; | document.getElementById("point2").style.transform="rotate("+k+"deg)"; | ||
− | + | } | |
},7); | },7); | ||
}; | }; |
Revision as of 07:53, 16 September 2015
Circular mRNA approaches infinity by obtaining a link.