Difference between revisions of "Team:Gifu/training"
Line 84: | Line 84: | ||
function spinright(){ | function spinright(){ | ||
AAA=setInterval(function(){ | AAA=setInterval(function(){ | ||
− | if(rad<= | + | if(rad<=1080){rad-=2; m=0;} |
else{ | else{ | ||
if(rad<540){rad+=2; m=1;} | if(rad<540){rad+=2; m=1;} | ||
Line 107: | Line 107: | ||
} | } | ||
else{ | else{ | ||
− | xl=l*Math.cos(Math.PI/180* | + | xl=l*Math.cos(Math.PI/180*rad); |
− | yl=l*Math.sin(Math.PI/180* | + | yl=l*Math.sin(Math.PI/180*rad); |
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:10, 18 September 2015
Circular mRNA approaches infinity by obtaining a link.