I write code for mathematical art as a reprieve from daily work. The mathematics is refreshing. The coding is relaxing. Producing a mathematical work that can be appreciated by a general audience is rewarding.
This is 10,001 digits of pi printed along a simple closed curve which meanders inside a circle. The path was created by modeling the digits as beads on a chain and using physics to simulate pouring that chain into a circular container.
This is the Cayley table of a binary operation on the interval [-1,1] with values of the operation interpreted as colors. The operation in question is a pseudo-random composition of functions from trigonometry.