Regular polygon by teebee

n:stdin.get_s(3).to_i;n.times{x:6.28318*it/n;%f"%.f %.f"(1000*math::cos(x)+0.01,1000*math::sin(x)).p;}

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

download

return to the top page