SMRTR ProgrammingJul 15, 2026Hacker News

Autoportrait- Painting Timelapses in JavaScript

SMRTR summary

autoportrait is a dependency-free JavaScript library that renders any image as a timed, reproducible watercolor painting performance on an HTML canvas. It runs a graphite underdrawing phase followed by region-by-region color washes, using k-means segmentation in CIELAB color space. A seeded PRNG makes every performance fully deterministic and seekable, with choreography controls, event callbacks, and export to GIF, WebM, or self-contained HTML.

SMRTR provides this summary for quick context. The original article belongs to Hacker News.

Read the original article
SMRTR Programming

Get the next batch of curated summaries in your inbox.

This archive is built from SMRTR newsletter summaries. Subscribe for hand-picked stories without the extra noise.