Gifu/rensyuu

From 2014.igem.org

(Difference between revisions)
Line 102: Line 102:
BBB=setInterval(function(){
BBB=setInterval(function(){
-
if(rad==-360){rad==-360;}
+
if(rad==-360){rad==-360;
 +
switch1();
 +
}
else{rad-=2};
else{rad-=2};
x=r*Math.cos(Math.PI/180*rad);
x=r*Math.cos(Math.PI/180*rad);
Line 131: Line 133:
};
};
 +
function switch1(){
 +
clearInterval(BBB);
 +
CCC=setInterval(function(){
 +
k-=2;
 +
if(k==180){k=180);
 +
};
$(document).ready(function () {
$(document).ready(function () {

Revision as of 01:46, 6 September 2015

factory1