Perplexity agent paints a macaw in 20,068 brushstrokes with a JS Canvas engine

jeffgrimes9 · x · 2026-11-15

Developer Jeff Grimes shows off a web app that turns photos into brushstroke paintings. His Product Builder teammate in Perplexity wrote a browser painting engine in JS and Canvas 2D that samples pixel colors, uses image gradients to orient strokes, and paints in progressively finer passes. The demo macaw took 20,068 brushstrokes, with layered Bezier paths for bristle texture and separate curve/dot renderers for thread and stipple effects.

Original post →

More from coding & agent

coding & agent channel →