Difference between revisions of "Team:Gifu/training"
Line 93: | Line 93: | ||
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); | ||
− | document.getElementById("point1").style.top=y+ | + | document.getElementById("point1").style.top=y+330+"px"; |
− | document.getElementById("point1").style.left=x+ | + | document.getElementById("point1").style.left=x+380+"px"; |
document.getElementById("point1").style.transform="rotate("+k+"deg)"; | document.getElementById("point1").style.transform="rotate("+k+"deg)"; |
Revision as of 16:40, 18 September 2015