Team:Gifu

From 2014.igem.org

(Difference between revisions)
Line 67: Line 67:
rad+=1;
rad+=1;
if(rad==270){rad-=1};
if(rad==270){rad-=1};
 +
if(rad>=360){rad=0};
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 10:13, 1 September 2014

factory1