Regular polygon by nfouille

read n;printf "%.0f %.0f\n" `for ((t=0.;t<6.28;t+=6.2832/n));do echo "1000*c($t)\n1000*s($t)";done|bc -l`|sed s/-0/0/

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

download

return to the top page