Difference between revisions of "Team:Gifu/training"
Line 108: | Line 108: | ||
else{rad+=2; k+=2}; | else{rad+=2; k+=2}; | ||
− | xl=r*Math.cos(Math.PI/180* | + | xl=r*Math.cos(Math.PI/180*radl); |
− | yl=r*Math.sin(Math.PI/180* | + | yl=r*Math.sin(Math.PI/180*radl); |
− | document.getElementById("point2").style.top= | + | document.getElementById("point2").style.top=yl+330+"px"; |
− | document.getElementById("point2").style.left= | + | document.getElementById("point2").style.left=xl+380+"px"; |
document.getElementById("point2").style.transform="rotate("+kl+"deg)"; | document.getElementById("point2").style.transform="rotate("+kl+"deg)"; |
Revision as of 16:44, 18 September 2015