htmx View Transitions
summary
Live demo shows a working slide system built on Ruby/Hanami and Terminus that renders to audience e‑paper devices and uses HTMX plus CSS view transitions to animate full‑screen slides. Code uses ERB templates, the HTMX slide extension with out‑of‑bounds selects to swap three IDs (slide, progress, actions), CSS keyframes for push‑left/right, and a tiny JS hook to set direction‑aware view transition names. It works in practice; per‑element transitions and larger e‑ink refresh (1s small, 15–30s large) are the current limits.
AI-written summary · about
chapters (8)
- 0:00Introduction and Live E-Paper Slide Demo
- 4:08Terminus and the E-Paper Architecture
- 6:52Slide Interface and CSS Animation Demo
- 9:01Building the Slide View with htmx
- 14:37CSS Keyframes and View Transitions
- 17:50Direction-Aware Transitions with JavaScript
- 20:09Future htmx and Per-Element Transitions
- 22:55Q&A: View Transitions and E-Ink Limits
