The engine behind the anime series: springs, one shared clock, one canvas over the page that ignores the pointer, and drawn effects in flat lit, shadow and outline tones (impact star, smoke puff, crystal chips, accent wedges, speed lines, wobble marks, glint, splash, slash) plus manga sound-effect lettering stored as glyph outlines (Japanese, traditional and simplified Chinese), picked from <html lang>. Colours follow the brand spot. Hooks for a press that squashes and overshoots and for a canvas behind a control. setMotion("twos") (or <html data-anime-motion="twos">) draws every effect on twos at 12 drawings a second, like hand-drawn animation, while springs stay smooth. With reduced motion nothing is drawn.
pnpm dlx shadcn@latest add "https://sunui.synvize.com/r/anime-fx.json"