COMPONENT PLAYGROUND
The component lab.
An interactive test of the outline animation. Change the settings to see how it works.
SketchBox
Animated outline. Stable content.
Click to test the button.
Just the lines, never the content.
01 / Draw once
Rough.js creates a small set of outlines with deterministic seeds. They are rendered into the HTML, ready before JavaScript loads.
02 / Flip the page
A lightweight scheduler swaps whole frames instantly. No morphing, no interpolation, and no drawing work on each tick.
03 / Let it rest
Off-screen outlines and hidden tabs take a break. Hover outlines only wake when you interact with them.