Regular polygon by pooq

n=scan("stdin")
for(i in 0:(n-1))cat(round(1e3*cos(a<-i*2*pi/n)),round(1e3*sin(a)),fill=T)

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

download

return to the top page