Gifu/rensyuu

From 2014.igem.org

(Difference between revisions)
Line 74: Line 74:
<!--
<!--
var r=280;
var r=280;
-
var rad=0;
+
var rad=-180;
var x;
var x;
var y;
var y;
Line 86: Line 86:
AAA=setInterval(function(){
AAA=setInterval(function(){
-
if(rad==360){rad=0;}
+
if(rad==180){rad=0;}
else{rad+=2};
else{rad+=2};
x=r*Math.cos(Math.PI/180*rad);
x=r*Math.cos(Math.PI/180*rad);

Revision as of 07:35, 5 September 2015

factory1