OPEN SOURCE · TYPESCRIPT · V0.1.0 LOCAL PREVIEW

Give the scroll
a point of view.

Compose scenes. Move the camera.
Let the scroll tell your story.

Enter the short film
01—03 / A study in perspectiveScroll to direct. Scroll back to rewind.

SCENE 01 / ARRIVAL

A different
perspective.

One landscape. Four layers.
A camera that follows your curiosity.

46°35′ N   10°49′ EElevation / 2,840 m

SCENE 02 / ASSEMBLY

Everything
in its place.

Independent pieces. One shared clock.
Bring an idea together, one scroll at a time.

FOUR ELEMENTS
TRANSFORM / ROTATION / DEPTH

SCENE 03 / YOUR TURN

Make your
next scene.

The browser is your stage.
You’re the director.

Start with a scene
SD / FIELD NOTES01 — ARRIVALNATIVE SCROLL / NO VIDEO
Scroll down to exploreARRIVAL / ASSEMBLY / DEPARTURE

THE DIRECTOR’S NOTES

Scenes, not
scroll handlers.

A small, dependency-free engine maps native scrolling to a deterministic timeline. Use it with React, an npm import, or a plain script tag.

Camera & parallax layersSix scene transitionsReversible keyframesReduced motion by default
Read the documentation
story.tsxReact / Next.js
import { Director, Scene, Layer, Camera }
  from "scroll-director/react";
import "scroll-director/style.css";

<Director>
  <Scene id="arrival" duration={2000}>
    <Camera zoom={[1, 1.25]} />
    <Layer depth={0.5}>
      <img src="/mountains.svg" alt="" />
    </Layer>
    <Layer animate={{ y: [40, -40] }}>
      <h1>A different perspective.</h1>
    </Layer>
  </Scene>
</Director>
duration = scroll pixels, not milliseconds.