Regular polygon by pooq

n:stdin.get_s(3).to_i;n.times{a:it*2*math::PI/n;%f"%d %d"(math::floor(math::cos(a)*1000+0.5),math::floor(math::sin(a)*1000+0.5)).p;}

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

download

return to the top page