[Jprogramming] Challenge 8 A Shamrock for St. Patrick

Boyko Bantchev boykobb at gmail.com
Wed Mar 21 17:55:16 HKT 2012


FWIW, the cleanest mathematical / programmable trefoil that
I know of is the following (I am too lazy to do it in J, so Gnuplot):

set size ratio 1.08
set parametric
set polar
plot [0:2*pi] t,1+cos(3*t)+sin(3*t)**2


More information about the Programming mailing list