Canvas Typography with Pretext
A Vite demo based on Codédex's Pretext tutorial: canvas text that reflows around two draggable images as you scroll, drag, or resize.
- Uses @chenglou/pretext to break the text into lines without DOM text measurement
- Each line gets separate left and right cuts from overlapping images, so two images can narrow one line
- Re-renders on scroll (throttled with requestAnimationFrame), on resize, and while an image is dragged
