Difference between revisions of "Team:Gifu/training"

(Undo revision 261060 by Fukufuku (talk))
Line 69: Line 69:
 
<!--
 
<!--
 
var r=200;
 
var r=200;
var rr=100;
+
 
 
var rad=270;
 
var rad=270;
var radd=0;
+
 
 
var x;
 
var x;
var xx;
+
 
 
var y;
 
var y;
var yy;
+
 
 
var k=180;
 
var k=180;
var kk=180;
+
 
 
var m=1;
 
var m=1;
 
var n=2;
 
var n=2;
Line 101: Line 101:
 
function spinleft(){
 
function spinleft(){
 
BBB=setInterval(function(){
 
BBB=setInterval(function(){
if(radd==-360){radd=180;  kk=270;
+
if(rad==-360){rad=180;  k=270;
  
else{radd-=2};
+
else{rad-=2};
xx=r*Math.cos(Math.PI/180*radd);
+
x=r*Math.cos(Math.PI/180*rad);
yy=r*Math.sin(Math.PI/180*radd);
+
y=r*Math.sin(Math.PI/180*rad);
document.getElementById("point2").style.top=yy+380+"px";
+
document.getElementById("point2").style.top=y+380+"px";
document.getElementById("point2").style.left=xx+230+"px";
+
document.getElementById("point2").style.left=x+230+"px";
  
  
kk-=2;
+
k-=2;
  
document.getElementById("point2").style.transform="rotate("+kk+"deg)";
+
document.getElementById("point2").style.transform="rotate("+k+"deg)";
  
 
}
 
}

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