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+240+"px"; |
- | circle.style.left=x+ | + | circle.style.left=x+150+"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+240+"px"; |
- | circle.style.left=x+ | + | circle.style.left=x+150+"px"; |
if(rad==m){k-=2;} | if(rad==m){k-=2;} |
Revision as of 02:22, 4 September 2014