Gifu/rensyuu2

From 2014.igem.org

(Difference between revisions)
Line 46: Line 46:
<script type="text/javascript">
<script type="text/javascript">
<!--
<!--
-
var r=100;
+
var r=200;
var rad=180;
var rad=180;
var x;
var x;
Line 58: Line 58:
function spinright(){
function spinright(){
AAA=setInterval(function(){
AAA=setInterval(function(){
-
if(m==1){
 
-
r=200;
 
if(rad==540){rad=0; m=0;}
if(rad==540){rad=0; m=0;}
else{rad+=2};
else{rad+=2};
Line 71: Line 69:
circle.style.transform="rotate("+k+"deg)";
circle.style.transform="rotate("+k+"deg)";
-
}
+
 
},7);
},7);
};
};

Revision as of 11:03, 9 September 2015

factory1