Vulcan #11
See my brief description of paint‑by‑math in the previous post, in Vulcan #7.
As I was starting out with a blank canvas and a new program, I began mentally imagining different basic patterns that I could mix and combine in various ways. The patterns I had in mind were simple repeating forms that would uniformly fill a plane.
My brain can’t hold these mental pictures for long, so I started hand‑sketching them. Soon I decided the program could do a better job — plus it has features to store, categorize, recall, and modify the images I make.
After I made a few this way, similarities in the generating code became immediately obvious, along with a stream of “try me next” variations.
Today’s image uses the saw function with distance coloring
pixel.value = Math.Sqrt(a*a + b*b);