Regular polygon by nu(rand)

#define P-i*6.28318/N)*1e3
main(i,N){for(N="d\x11\x03"[N%3u];--i+N;)printf("%.f %.f\n",.01+cos(P,sin(P);}

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

download

return to the top page