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<=1080){rad-=2;} |
− | else{ | + | else{ |
− | + | if(rad<540){rad+=2; k+=2;} | |
− | } | + | else{ |
+ | if(rad<720){rad=540} | ||
+ | }} | ||
if(rad==540){k+=2;} | if(rad==540){k+=2;} | ||
Line 95: | Line 97: | ||
} | } | ||
if(k==810){k=1530; m=0; rad=1080;} | if(k==810){k=1530; m=0; rad=1080;} | ||
− | + | ||
Revision as of 11:31, 18 September 2015
Circular mRNA approaches infinity by obtaining a link.