Team:Gifu
From 2014.igem.org
(Difference between revisions)
Line 123: | Line 123: | ||
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); | ||
- | circle.style.top=y+ | + | circle.style.top=y+160+"px"; |
- | circle.style.left=x+ | + | circle.style.left=x+160+"px"; |
k+=2; | k+=2; | ||
Line 139: | Line 139: | ||
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); | ||
- | circle.style.top=y+ | + | circle.style.top=y+160+"px"; |
- | circle.style.left=x+ | + | circle.style.left=x+160+"px"; |
if(rad==m){k-=2;} | if(rad==m){k-=2;} |
Revision as of 02:08, 4 September 2014