Difference between revisions of "Team:Gifu/training"

Line 61: Line 61:
 
<div id="point1"><p id="rib"></p>
 
<div id="point1"><p id="rib"></p>
 
<img id="ribosome" src="https://static.igem.org/mediawiki/2014/5/5f/Gifu_ribosome_renew.png"></img>
 
<img id="ribosome" src="https://static.igem.org/mediawiki/2014/5/5f/Gifu_ribosome_renew.png"></img>
 +
<div id="point2"><p id="rib"></p>
 +
<img id="ribosome" src="https://static.igem.org/mediawiki/2014/5/5f/Gifu_ribosome_renew.png"></img>
 +
 
</div>
 
</div>
 
</div>
 
</div>
Line 68: Line 71:
 
var r=160;
 
var r=160;
 
var l=80;
 
var l=80;
var rad=180;
+
var rad=0;
 
var radl=360;
 
var radl=360;
 
var x;
 
var x;
Line 87: Line 90:
 
function spinright(){
 
function spinright(){
 
AAA=setInterval(function(){
 
AAA=setInterval(function(){
t+=2;tt+=2;ttt+=2;
+
if(rad>360){rad=0; k=0;}
if(t<400){
+
else{rad+=2; k+=2};
if(rad<540){rad+=2}
+
else{rad=900}
+
}
+
if(tt<800){
+
if(k<630){k+=2}
+
else{k=990}
+
}
+
if(ttt<1200){
+
if(k<1170){k+=2}
+
else{k=1530}
+
}
+
  
 
if(m==1){
 
 
x=r*Math.cos(Math.PI/180*rad);
 
x=r*Math.cos(Math.PI/180*rad);
 
y=r*Math.sin(Math.PI/180*rad);
 
y=r*Math.sin(Math.PI/180*rad);
 
document.getElementById("point1").style.top=y+300+"px";
 
document.getElementById("point1").style.top=y+300+"px";
 
document.getElementById("point1").style.left=x+480+"px";
 
document.getElementById("point1").style.left=x+480+"px";
}
 
else{
 
x=l*Math.cos(Math.PI/180*radl);
 
y=l*Math.sin(Math.PI/180*radl);
 
document.getElementById("point1").style.top=y+300+"px";
 
document.getElementById("point1").style.left=x+240+"px";
 
}
 
 
  
 
document.getElementById("point1").style.transform="rotate("+k+"deg)";
 
document.getElementById("point1").style.transform="rotate("+k+"deg)";
Line 123: Line 105:
 
function spinleft(){
 
function spinleft(){
 
BBB=setInterval(function(){
 
BBB=setInterval(function(){
 +
if(radl==0){radl=360;}
 +
else{radl-=2};
  
radl-=2;
+
xl=l*Math.cos(Math.PI/180*radl);
 
+
yl=l*Math.sin(Math.PI/180*radl);
kl-=2;
+
document.getElementById("point2").style.top=yl+300+"px";
if(kl==-360){kl=0};
+
document.getElementById("point2").style.left=xl+240+"px";
  
 +
document.getElementById("point2").style.transform="rotate("+kl+"deg)";
  
 
},7);
 
},7);

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