Iris Tubes

A program I wrote in Processing for my Processing book.


This program draws an endless series of unique, random pictures of an imaginary eye. No eye pattern will ever appear again!

The drawing uses Jared Tarbell’s “SandPainter” technique to draw organic, multicolored lines. I build up those lines to make a series of concentric rings. I darken them at the edges so they appear to be tubes. This looks to me like the iris of an alien eye.

Each eye takes a while to build up, so let it run for a while to build up the textured pattern. If you’d like to start a new eye, just click anywhere in the image. Note that the speed of the program depends on your computer and what else it’s doing at the moment!

If the program stops responding, please reload the page.

Download the source code here.