Team:Gifu

From 2014.igem.org

(Difference between revisions)
Line 43: Line 43:
var circle =document.getElementById("point") ;
var circle =document.getElementById("point") ;
var k=90;
var k=90;
 +
var K=k*
Line 57: Line 58:
k+=2;
k+=2;
if(k>=360){k=0};
if(k>=360){k=0};
-
circle.style.transform="rotate("+k+"deg)";
+
circle.style.transform="rotate("+k+"rad)";
},10);
},10);
});
});
Line 75: Line 76:
else{k+=2;};
else{k+=2;};
if(k>=360){k=0};
if(k>=360){k=0};
-
circle.style.transform="rotate("+k+"deg)";
+
circle.style.transform="rotate("+k+"rad)";
},10);
},10);
Line 94: Line 95:
k+=2;
k+=2;
if(k>=360){k=0};
if(k>=360){k=0};
-
circle.style.transform="rotate("+k+"deg)";
+
circle.style.transform="rotate("+k+"rad)";
},10);
},10);

Revision as of 11:00, 1 September 2014

factory1