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; | + | var m=2; |
var n; | var n; | ||
Line 87: | Line 87: | ||
if(rad==360){rad=0;} | if(rad==360){rad=0;} | ||
- | else{rad+= | + | else{rad+=m}; |
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){ | if(rad==360){ | ||
+ | r=200; | ||
;} | ;} | ||
- | else{rad-= | + | else{rad-=m}; |
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 122: | Line 123: | ||
if(rad==360){rad=0;} | if(rad==360){rad=0;} | ||
- | else{rad-= | + | else{rad-=m}; |
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 07:59, 5 September 2015