Regular polygon by leonid

n=eval *$<
n.times{|k|puts"%.f %.f"%[Math.cos(k*=6.28318/n)*1e3+0.01,Math.sin(k)*1e3]}

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

download

return top