Difference between revisions of "Team:Gifu/training"
Line 76: | Line 76: | ||
if(m==1){ | if(m==1){ | ||
r=200; | r=200; | ||
− | document.getElementById("point1").style.visiblity=visible; | + | document.getElementById("point1").style.visiblity="visible"; |
if(rad==540){rad=0; m=0; | if(rad==540){rad=0; m=0; | ||
− | document.getElementById("point1").style.visiblity=hidden; | + | document.getElementById("point1").style.visiblity="hidden"; |
} | } | ||
else{rad+=2}; | else{rad+=2}; | ||
Line 98: | Line 98: | ||
if(m==0){ | if(m==0){ | ||
r=100; | r=100; | ||
− | document.getElementById("point2").style.visiblity=visible; | + | document.getElementById("point2").style.visiblity="visible"; |
if(rad==-360){rad=180; m=1; | if(rad==-360){rad=180; m=1; | ||
− | document.getElementById("point2").style.visiblity=hidden; | + | document.getElementById("point2").style.visiblity="hidden"; |
} | } | ||
else{rad-=2}; | else{rad-=2}; |
Revision as of 09:45, 14 September 2015