Difference between revisions of "Team:Gifu/training"
Line 68: | Line 68: | ||
var r=160; | var r=160; | ||
var l=80; | var l=80; | ||
− | var rad= | + | var rad=360; |
− | var radl= | + | var radl=360; |
var x; | var x; | ||
var xl; | var xl; | ||
Line 84: | Line 84: | ||
function spinright(){ | function spinright(){ | ||
AAA=setInterval(function(){ | AAA=setInterval(function(){ | ||
− | if( | + | if(radl>0){rad-=2; m=0;} |
if(rad<1080){rad-=0;} | if(rad<1080){rad-=0;} | ||
Line 97: | Line 97: | ||
} | } | ||
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 14:10, 18 September 2015
Circular mRNA approaches infinity by obtaining a link.