Difference between revisions of "Team:Gifu/training"

Line 71: Line 71:
 
var l=100;
 
var l=100;
 
var rad=180;
 
var rad=180;
 +
var radl=180;
 
var x;
 
var x;
 +
var xl;
 
var y;
 
var y;
 +
var yl;
 
var k=90;
 
var k=90;
 
var m=1;
 
var m=1;
Line 98: Line 101:
 
if(rad==-360){rad=180; m=1;}
 
if(rad==-360){rad=180; m=1;}
 
else{rad-=2};
 
else{rad-=2};
x=l*Math.cos(Math.PI/180*rad);
+
xl=l*Math.cos(Math.PI/180*radl);
y=l*Math.sin(Math.PI/180*rad);
+
yl=l*Math.sin(Math.PI/180*radl);
document.getElementById("point2").style.top=y+350+"px";
+
document.getElementById("point2").style.top=yl+350+"px";
document.getElementById("point2").style.left=x+180+"px";
+
document.getElementById("point2").style.left=xl+180+"px";
  
  
 
k-=2;
 
k-=2;
if(rad==360){k=90};
+
if(radl==360){k=90};
 
document.getElementById("point2").style.transform="rotate("+k+"deg)";
 
document.getElementById("point2").style.transform="rotate("+k+"deg)";
  

Revision as of 07:59, 16 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.