Generative art
I use generative art to explore geometric patterns based on rules. By writing a bit of code – like draw five circles of random sizes – I can create a wide variety of images from just a handful of rules.
This is “generative” in the mathematical sense, and unrelated to generative AI. I don’t use generative AI to create images.

Doodling with the Mac’s command icon
Rotating a looped hook around a central point creates a surprising variety of shapes.

Drawing repetitive radial artworks
Using polar coordinates to draw leaf- and flower-like patterns that repeat in circles around a point.

Generating art from lattice graphs
Randomly selecting a subset of edge from a graph can make pretty pictures.
6 articles
Drawing Truchet tiles in SVG
Using parametric templates to draw Truchet tiles, then placing them randomly to create generative patterns.
Some experiments with circle-based art
Casually covering a canvas with coloured circles.
Creating coloured bookshelf graphics in Rust
Explaining some code that draws coloured rectangles in a way that looks a bit like an upside-down bookshelf.
Creating striped flag wallpapers with Pillow
Creating low contrast wallpapers with Pillow
Take a regular tiling of the plane, apply a random colouring, and voila: a unique wallpaper, courtesy of the Python Imaging Library.
Tiling the plane with Pillow
Using the Python Imaging Library to draw regular tilings of squares, triangles and hexagons.