NOTHING ON THIS PAGE IS A VIDEO. EVERY CLIP IS THE ENGINE RUNNING LIVE.

Every animation, played live

A Vistaro timeline is a list of steps, and each step has an action. This page plays every one of them on the same mockup, and you can pause, step through or replay any clip. Every clip here is one sample screen and a short timeline, and none of it is a video.

vistaro.config.json · 9 steps · 20 s

Everything at once

The 20-second overview: a highlight, a real click, character-by-character typing, a camera push, a staggered chart build and a closing fade. One timeline, in the order you'd tell the story.

Motion
"ease": "linear" … "spring"

Easings

Seven named curves, each on the same slide. easeOutCubic is the default for entrances, easeInOutCubic for camera moves, easeOutBack and spring overshoot for a tactile pop. Set one with ease on any animate, camera, overlay or moving transition.

"motion": { "cursor": "natural" }

Natural cursor

By default the cursor glides for the whole lead, however far it goes. Natural times each move by its distance: a short hop waits, then moves quickly; a long one takes its time and bends into a slight arc. The click still lands at the step's time.

"motion": { "fast", "base", "slow", "ease" }

One tempo

Set durations and an easing once in meta.motion and every step without its own duration follows them: the camera reads slow, reveals and transitions read base, overlays read fast. Change one number and the whole demo speeds up or slows down.

Interactions
"action": "click"

Click

The cursor travels with a human drift, a spotlight frames the target, a ripple marks the press. Then a real el.click() fires, so the page's own handlers react.

"action": "type"

Type

Text lands character by character at a human pace, through real key events. React-style controlled inputs see genuine keystrokes, not a pasted value.

"action": "focus"

Focus

The element takes the page's real focus, so its own focus ring lights up. Works on anything focusable: inputs, buttons, links.

"action": "hover"

Hover

The cursor glides onto an element and its :hover styles respond. The lift, the shadow and the color change all come from the mockup's own CSS.

"action": "press"

Press

No cursor and no target, just the keyboard: Enter, Tab, or a chord like Control+K. Where type fills the field, press submits it.

"action": "highlight"

Highlight

A spotlight pulse that says notice this. Nothing gets clicked and nothing changes. The ring sizes itself to whatever you point at.

Camera & movement
"action": "camera"

Camera

Push in on a detail, glide to the next one without a cut, then pull back to the full frame. The cursor and spotlight ride along.

"camera", "follow": true

Follow camera

One camera step with "follow": true, and the frame pans to every click, keystroke and hover after it, arriving with the cursor. With meta.motion.cursor set to "natural", short hops are quick and long moves take their time.

"action": "scroll"

Scroll

Smooth-scroll a buried element into view, inside any scrollable container or the page itself.

Reveals & motion
"action": "fadeIn"

Fade in

Reveal anything hidden in CSS on cue: a result card, a toast, or the whole page as an opening beat. display and opacity are handled together.

"action": "transitionScreen"

Transition screen

Cross-fade between two screens authored in one file. You get a multi-screen story with no real page load, and every other action keeps working on the new screen.

"transition": "push" · "slide" · "crossfade" · "cut"

Screen transitions

The same transitionScreen, with the motion you choose: push for forward and back, slide to lay a screen over another, crossfade between related views and cut between unrelated ones. Every motion leaves the page in the same state, so the next step never depends on which one ran.

"action": "overlay"

Overlay

Bring in a modal, a drawer, a sheet or a toast, each with the motion its kind implies and a dimming scrim where it belongs. "dismiss": true plays it backwards. A modal centred with transform stays centred.

"action": "animate"

Animate

The free-form one. It animates from a from state to a to state with Web Animations: transforms that compose, any CSS property, every match of a selector with a stagger, and seven named easings from linear to spring.