Difference between revisions of "Team:Gifu/training"
Line 84: | Line 84: | ||
function spinright(){ | function spinright(){ | ||
AAA=setInterval(function(){ | AAA=setInterval(function(){ | ||
− | if(rad<=540){rad+=2; k+=2;} | + | if(rad<=540){ |
+ | rad+=2; k+=2; | ||
+ | x=r*Math.cos(Math.PI/180*rad); | ||
+ | y=r*Math.sin(Math.PI/180*rad); | ||
+ | |||
+ | } | ||
else{rad=540} | else{rad=540} | ||
if(rad==540){k+=2;} | if(rad==540){k+=2;} | ||
if(k>810){k=810} | if(k>810){k=810} | ||
− | if(k==810){rad= | + | if(k==810){rad=; rad-=2;} |
− | |||
− | |||
document.getElementById("point1").style.top=y+300+"px"; | document.getElementById("point1").style.top=y+300+"px"; | ||
document.getElementById("point1").style.left=x+480+"px"; | document.getElementById("point1").style.left=x+480+"px"; |
Revision as of 08:39, 18 September 2015
Circular mRNA approaches infinity by obtaining a link.