Build log · Templates

Inside Orbitly: an app launch scroll website, from orbit to a phone in hand

By Md Mahafuj Alam · Updated

Orbitly is a Next.js landing page for a mobile app launch. Its hero scrubs a 691-frame image sequence on a canvas, falling from orbit to a phone in someone's hand, with a real-time three.js light layer on top that changes with each of four chapters. This tour covers the story, per-clip scroll weighting, the frame tiers and portrait set, the light layer and what you can rebrand.

The idea: zoom from planet to pocket

An app launch page has one job: make the phone feel like the centre of the world. Orbitly takes that literally. As the visitor scrolls, the camera falls from orbit, through the evening haze, swoops over a glowing coastal city and lands on a phone in someone's hand. It is one continuous move from the largest scale to the smallest, and the app is the destination.

The page belongs with the app launch templates. Below the hero sit a 3D phone, pricing, an FAQ, a download section and a full footer, so it is a complete launch page rather than a hero demo.

The four chapters

Each chapter pairs a stretch of footage with its own three.js light effects. Copy fades in and out with the scroll, and a live altitude HUD counts down from 400 km to 120 m beside a scroll progress bar.

ChapterFootageLight layer
1. OrbitSpace above the planetTwinkling stars, orbit rings with satellites, flight arcs between cities
2. Re-entryFalling through the evening hazeRe-entry light streaks that speed up as you scroll faster
3. CitySwooping over the coastal cityMap pins with ground ripples over the rooftops, drifting bokeh
4. PhoneLanding on a phone in handSonar pings and an orbiting route around the phone

The four chapters also give the page a structure for its copy. Each chapter carries one message, and because copy fades in and out with the scroll, the visitor reads one idea at a time instead of a stack of headlines.

The altitude HUD is a small detail that does a lot. A number falling from 400 km to 120 m gives the visitor a sense of scale and progress that the footage alone cannot, and it tells them the story has an end.

A 691-frame canvas scrub, and per-clip weighting

The journey is a 691-frame image sequence scrubbed on a canvas, so it stays smooth and frame-accurate in both directions. It is not a video that plays on its own. Scroll position picks the frame and the canvas draws it.

The interesting decision is per-clip scroll weighting, so fast shots never rush past. Here is the problem it solves. The footage is joined from several clips. If scroll maps to frame index evenly, every frame gets the same scroll distance, and a clip where the camera moves fast covers a lot of visual ground in very little scroll. The swoop over the city would be over in a flick.

Weighting gives each clip its own share of the scroll, independent of its frame count. A generic version looks like this: each clip has a frame count and a weight, and scroll progress is mapped through the weights before it becomes a frame index.

weighted-frame.ts (illustrative)ts
type Clip = { frames: number; weight: number };

/** Map scroll progress (0..1) to a global frame index, giving each clip a share of scroll set by its weight. */
export function frameAt(progress: number, clips: Clip[]): number {
  const totalWeight = clips.reduce((sum, c) => sum + c.weight, 0);
  let start = 0;  // first frame of the current clip
  let acc = 0;    // scroll progress used by earlier clips
  for (const clip of clips) {
    const share = clip.weight / totalWeight;
    if (progress <= acc + share || clip === clips[clips.length - 1]) {
      const local = Math.min(Math.max((progress - acc) / share, 0), 1);
      return start + Math.round(local * (clip.frames - 1));
    }
    acc += share;
    start += clip.frames;
  }
  return 0;
}

Give a fast clip a higher weight and it slows down on screen without adding a single frame. The canvas image sequence guide covers the drawing side.

The three.js light layer

A real-time three.js layer sits on top of the footage. Two rules from the feature list shape it. First, the glows only brighten the footage. Second, they follow the pointer with subtle parallax.

Why "only brighten" matters

The usual way to get that guarantee is additive blending: each light's colour is added to whatever is already on screen, so it can lift a pixel but never darken it. Overlay graphics drawn with normal blending can muddy footage, put grey halos around stars or look pasted on. Light that only adds reads as part of the scene, like a lens flare.

Speed-reactive streaks

The re-entry streaks speed up as the visitor scrolls faster. The general approach is to measure scroll velocity, the change in scroll position per frame, smooth it, and feed it to the streaks as a speed and stretch factor. Fast scrolling then feels like faster falling, which ties the visitor's hand to the physics of the scene.

The 3D scenes render only while on screen, with capped pixel ratio and full cleanup.

Frame tiers and portrait frames

  • Progressive loading. Light preview frames load first, and HD frames are streamed around the scroll position. The story is scrollable early, and sharp frames arrive where the visitor is looking.
  • Two orientations. Dedicated 9:16 portrait frames for phones and 16:9 landscape frames for desktop. A phone held upright gets footage composed for it, not a narrow slice of a wide frame.
  • Reduced motion. Visitors who ask for less motion see a still poster frame, stacked copy and no smooth scrolling.

Portrait frames are worth the extra export. Cropping a 16:9 frame to 9:16 keeps only about a third of its width, which often cuts the subject. The mobile performance guide covers frame budgets for phones.

Below the hero

  • A 3D phone on spring physics that leans toward the pointer and swaps screens per step.
  • Pricing with three plans on spring-tilt cards.
  • An FAQ accordion.
  • A download section with a glowing 3D planet, orbit rings and satellites, which closes the story where it began.
  • Glass navigation with a mobile menu, and a footer with a newsletter field.
  • A custom logo mark, favicon and Apple touch icon.

The phone section is worth a closer look. A spring-driven object has a target pose and a current pose. Each frame, a spring force pulls the current pose towards the target while damping removes some of its speed. When the pointer moves, the target tilts towards it and the phone follows with a slight lag and settle, which reads as weight. Swapping the screen per step keeps the phone the subject while the copy beside it changes, so the visitor sees each feature on the device rather than in a list.

The stack is Next.js 16, React 19, TypeScript, three.js, GSAP ScrollTrigger and Lenis, with plain, readable CSS and no UI or CSS framework. Fonts are self-hosted variable fonts (Sora, Inter and JetBrains Mono), so there are no external requests. The site is fully static: deploy to Vercel or Netlify, or export plain HTML under a sub-path. For the wider workflow, see the guide to building a 3D website with Claude.

What you can change

  • Copy lives in two files: story.config.ts for the hero and site.config.ts for all other sections.
  • Brand colours are CSS variables, so a rebrand takes minutes.
  • Footage. Scripts join clips and extract every frame tier from your own video with ffmpeg. Seedance video prompts, a review checklist and a brand-swap table are included for making your own footage. See swap in your own video and the Seedance guide.
  • Every setting is explained in the full README.
FAQ

Questions, answered.

The questions people ask most about this topic.

01Is the Orbitly hero a video?

No. It is a 691-frame image sequence scrubbed on a canvas, so it stays frame-accurate in both directions. A real-time three.js light layer sits on top.

02What is per-clip scroll weighting?

Each clip in the sequence gets its own share of the scroll distance, independent of how many frames it has. Fast shots get more scroll so they never rush past.

03How does Orbitly handle phones?

It ships dedicated 9:16 portrait frames for phones and 16:9 landscape frames for desktop, loads light preview frames first and streams HD frames around the scroll position.

04Can I replace the footage with my own app story?

Yes. The template includes ffmpeg scripts to join clips and extract every frame tier, plus Seedance video prompts, a review checklist and a brand-swap table.

05Does Orbitly use a CSS framework?

No. It uses plain, readable CSS with no UI or CSS framework, and brand colours are CSS variables.