Difference between revisions of "Team:Gifu/training"
Line 74: | Line 74: | ||
var y; | var y; | ||
var yl; | var yl; | ||
− | var k= | + | var k=450; |
var kl=90; | var kl=90; | ||
var m=0; | var m=0; | ||
Line 84: | Line 84: | ||
function spinright(){ | function spinright(){ | ||
AAA=setInterval(function(){ | AAA=setInterval(function(){ | ||
− | if(radl>0){radl-=2;} | + | if(radl>0){radl-=2; k-=2;} |
− | if(radl<0){radl=0} | + | if(radl<0){radl=0; m=1;} |
+ | if(radl=0) | ||
Line 98: | Line 99: | ||
} | } | ||
else{ | else{ | ||
− | + | x=l*Math.cos(Math.PI/180*radl); | |
− | + | y=l*Math.sin(Math.PI/180*radl); | |
− | document.getElementById("point1").style.top= | + | document.getElementById("point1").style.top=y+300+"px"; |
− | document.getElementById("point1").style.left= | + | document.getElementById("point1").style.left=x+240+"px"; |
} | } | ||
Revision as of 14:16, 18 September 2015
Circular mRNA approaches infinity by obtaining a link.