Experiments
A while ago I became fascinated by shaders in Metal (iOS) and how to use them to create stunning visual effects. SwiftUI made it very easy to use fragment shaders on iOS. This page will showcase some of my experiments with shaders and will allow me to translate some of my Metal shaders to Three.js. You will find the code for both Metal and Three.js.
Patterns
Truchet Tile Magic
One of the things I find really interesting about Truchet patterns is how something so simple can create such visually complex results. Each tile follows a basic rule—like a curve connecting opposite corners—but when you start putting them together, the overall pattern becomes almost hypnotic. It's a perfect example of how order and randomness can play together in design.
Voronoi Patterns
Voronoi patterns have this natural, organic feel to them—kind of like how cells or cracked earth look. What makes them really fun, especially when animated, is how each region reacts to the movement of its surrounding points. It’s like watching a living, breathing mosaic shift and adapt in real time. There’s a kind of quiet elegance in how the shapes flow and transform.