Difference between revisions of "Team:Gifu/training"
Line 69: | Line 69: | ||
var l=80; | var l=80; | ||
var rad=180; | var rad=180; | ||
− | var radl=rad- | + | var radl=rad-540; |
var x; | var x; | ||
var xl; | var xl; | ||
Line 84: | Line 84: | ||
function spinright(){ | function spinright(){ | ||
AAA=setInterval(function(){ | AAA=setInterval(function(){ | ||
− | if(rad<= | + | if(rad<=900){rad-=2; m=0;} |
else{ | else{ | ||
− | if(rad<540){rad+=2; | + | if(rad<540){rad+=2; m=1;} |
else{ | else{ | ||
if(rad<720){rad=540} | if(rad<720){rad=540} | ||
Line 107: | Line 107: | ||
} | } | ||
else{ | else{ | ||
− | xl=l*Math.cos(Math.PI/180* | + | xl=l*Math.cos(Math.PI/180*radl); |
− | yl=l*Math.sin(Math.PI/180* | + | yl=l*Math.sin(Math.PI/180*radl); |
document.getElementById("point1").style.top=yl+300+"px"; | document.getElementById("point1").style.top=yl+300+"px"; | ||
document.getElementById("point1").style.left=xl+240+"px"; | document.getElementById("point1").style.left=xl+240+"px"; |
Revision as of 13:01, 18 September 2015
Circular mRNA approaches infinity by obtaining a link.