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-180;
+
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<=1080){rad-=2;}
+
if(rad<=900){rad-=2; m=0;}
 
  else{
 
  else{
  if(rad<540){rad+=2; k+=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*rad);
+
xl=l*Math.cos(Math.PI/180*radl);
yl=l*Math.sin(Math.PI/180*rad);
+
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

https://static.igem.org/mediawiki/2015/d/d8/Logo_HOME.png https://static.igem.org/mediawiki/2015/a/a4/Logo_PROJECT.png https://static.igem.org/mediawiki/2015/archive/b/b9/20150720104417%21Logo_TEAM.png https://static.igem.org/mediawiki/2015/8/86/Logo_NOTE.png https://static.igem.org/mediawiki/2015/8/87/Logo_RESULT.png https://static.igem.org/mediawiki/2015/2/28/Logo_MORE.png

Circular mRNA approaches infinity by obtaining a link.