Regular polygon by clock

for(i=n=readline();i;)print(1e3*Math.cos(d=6.2832*i--/n).toFixed(3),1e3*Math.sin(-d).toFixed(3))

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page