Gifu/rensyuu

From 2014.igem.org

(Difference between revisions)
Line 80: Line 80:
var k=90;
var k=90;
var l;
var l;
-
var m=2;
+
var m;
var n;
var n;
Line 87: Line 87:
if(rad==360){rad=0;}
if(rad==360){rad=0;}
-
else{rad+=m};
+
else{rad+=2};
x=r*Math.cos(Math.PI/180*rad);
x=r*Math.cos(Math.PI/180*rad);
y=r*Math.sin(Math.PI/180*rad);
y=r*Math.sin(Math.PI/180*rad);
Line 103: Line 103:
if(rad==360){rad=0;}
if(rad==360){rad=0;}
-
else{rad-=m};
+
else{rad-=2};
x=r*Math.cos(Math.PI/180*rad);
x=r*Math.cos(Math.PI/180*rad);
y=r*Math.sin(Math.PI/180*rad);
y=r*Math.sin(Math.PI/180*rad);

Revision as of 01:36, 6 September 2015

factory1