Build log · Templates

Inside Zelvo: a real-time three.js fintech website with no video and no model files

By Md Mahafuj Alam · Updated

Zelvo is a Next.js landing page for a fintech app, neobank or personal finance product. Its hero is a live three.js scene, a soft clay money town, and every section after it has its own interactive 3D scene. Every object is built in code with no 3D model files. This tour covers the four chapters, the realism kit, the physics and instancing behind the later sections, and how the page stays smooth.

The idea: money you can touch

Finance is abstract. Balances, interest and transfers are numbers on a screen. Zelvo makes them physical: coins roll, jars fill, a vault opens and a phone lands showing a live balance. The hero is a soft clay money town with a vault house, a coin ramp, a card conveyor, plants and savings jars. Clay reads as friendly and safe, which suits a product asking people to trust it with their money.

Unlike the image-sequence templates, nothing here is a video. It is all rendered live in the browser. Zelvo sits with the fintech templates.

The four chapters

  1. Coins roll in down the ramp into the town.
  2. Jars rise and fill with coins as savings grow.
  3. The vault door opens on glowing growth bars.
  4. A phone lands with a springy overshoot and a live balance on its screen.

A scroll-driven camera moves between shots with soft pauses on each, while a live "Saved" HUD counter and a progress bar track the story. Soft leaf shadows fall from a sunlit canopy, and the story rewinds exactly when the visitor scrolls back.

Soft pauses on a scroll-driven camera

If the camera's position is a straight function of scroll, it never stops, and the visitor has no moment to read a shot. A common fix is to reshape scroll progress so that each shot holds for a stretch of scroll before the camera moves on: progress through a shot is eased, flattening near the held pose. The visitor keeps scrolling at the same speed, but the camera lingers where it matters.

The realism kit

Real-time 3D often looks cheap because of flat lighting and hard, aliased edges. Zelvo's feature list names the kit it uses against that: studio HDRI lighting, ambient occlusion, bloom, SMAA and neutral tone mapping. Here is what each one contributes.

TechniqueWhat it does
Studio HDRI lightingLights the scene and fills reflections from a high-dynamic-range photo of a real lighting setup
Ambient occlusionDarkens creases and contact points where light is blocked, so objects sit on surfaces instead of floating
BloomLets the brightest areas glow softly, as a camera lens would
SMAAA post-process anti-aliasing pass that smooths jagged edges
Neutral tone mappingMaps bright HDR values to the screen while keeping colours close to their intended hue

Tone mapping is built into three.js: the WebGLRenderer documentation lists NeutralToneMapping among its options. The template's stack also lists postprocessing, a post-processing library for three.js. Effects such as bloom and anti-aliasing run as full-screen passes over the rendered image, after the scene itself is drawn.

Materials that read as metal and glass

The coins are gold and silver metal with reeded edges and clearcoat. The cards are brushed metal with an EMV chip, and the phone is titanium with a live screen. In three.js, clearcoat is a property of the physical material; its documentation describes it as a clear, reflective layer over a rougher base, like car paint. On a coin it gives a sharp highlight over the metal beneath.

A 3D scene in every section

  • Features. The section pins while the phone, cards and coins fly apart in an exploded view, with leader-line callouts.
  • How it works. A burlap money bag opens, a card rises out and coins burst into three labelled stacks that grow.
  • Security. A glass force field around a card blocks red threats that ripple across its hex shell. Visitors click or tap to fire a threat and watch the counter.
  • Global transfers. A world map made of about 4,300 hex pillars that rise as you scroll and lift under the cursor, with coins flying between cities. Count-up stats show countries, currencies, monthly volume and members.
  • Pricing. Three plans on spring-tilt cards with a pointer sheen, then an accessible FAQ accordion.
  • Download. Metal coins rain with rigid-body physics and pile up around a spotlit phone.

Drawing 4,300 pillars cheaply

Thousands of separate meshes would mean thousands of draw calls, which is slow. The standard three.js answer for many copies of one shape is InstancedMesh, which the documentation recommends for large numbers of objects that share geometry and material, to reduce draw calls. Instanced, each pillar is one instance with its own transform matrix. Raising a pillar means updating its matrix and flagging the buffer for upload:

Raising instanced pillars (illustrative)ts
import * as THREE from 'three';

const count = 4300;
const pillars = new THREE.InstancedMesh(
  new THREE.CylinderGeometry(0.5, 0.5, 1, 6), // six sides = a hex prism
  new THREE.MeshStandardMaterial({ color: 0x9fb4c7 }),
  count,
);
const m = new THREE.Matrix4();

export function setHeights(heights: Float32Array, positions: Float32Array) {
  for (let i = 0; i < count; i++) {
    const h = heights[i];
    m.makeScale(1, h, 1).setPosition(positions[i * 2], h / 2, positions[i * 2 + 1]);
    pillars.setMatrixAt(i, m);
  }
  pillars.instanceMatrix.needsUpdate = true;
}

Coins with real physics

The coin rain uses cannon-es, a lightweight 3D physics engine and maintained fork of cannon.js. The pattern is the same for any physics scene: the engine owns a world of bodies, steps it forward each frame, and the renderer copies each body's position and rotation onto its mesh. Coins collide, bounce and settle into a pile no animator had to keyframe.

How it stays smooth

  • A preloader builds every 3D scene up front, so scrolling stays smooth. Creating geometry and compiling shaders mid-scroll is a common cause of stutter; doing it behind the loader moves that cost to a moment the visitor expects to wait.
  • 3D sections load lazily, render only while on screen and cap the pixel ratio. A page with a scene in every section would otherwise render all of them at once.
  • Portrait camera framing for phones, with one docked callout at a time on small screens, so the scene is composed for an upright screen rather than squeezed.
  • Reduced motion gives a still hero, stacked copy and no smooth scrolling. If WebGL is unavailable, the page still works.

The three.js scroll scene guide shows how to wire a render loop to scroll in Next.js, and Core Web Vitals for animated websites covers how pages like this are measured.

The stack

Zelvo is built with Next.js (App Router), TypeScript, three.js, cannon-es, postprocessing, GSAP and Lenis. Smooth scrolling comes from Lenis and scroll animations from GSAP ScrollTrigger. Navigation is glass that turns solid after the hero, with a mobile menu, and the footer carries a newsletter field and a giant wordmark. The site is a static export that can be hosted under any sub-path on any static host. For the wider workflow, see the guide to building a 3D website with Claude.

What you can change

  • Copy lives in two config files, story.config.ts and site.config.ts, so you edit content without touching components.
  • Colours and shapes are set in code, because every object is built in code with no model files.
  • Hosting works on any static host, at the root or under a sub-path. The customisation guide covers the steps.
FAQ

Questions, answered.

The questions people ask most about this topic.

01Is the Zelvo hero a video?

No. It is a real-time three.js scene: a clay money town with a vault house, coin ramp, card conveyor, plants and savings jars, driven by scroll through four chapters.

02Does Zelvo use 3D model files?

No. Every object is built in code, so colours and shapes are changed in code rather than re-exported from a 3D tool.

03Which physics engine does the coin rain use?

cannon-es, a lightweight 3D physics engine for JavaScript. The coins fall with rigid-body physics and pile up around a spotlit phone.

04How does it perform on phones?

A preloader builds every 3D scene up front, sections load lazily, render only while on screen and cap the pixel ratio, and the camera uses portrait framing on phones with one docked callout at a time.

05What happens without WebGL or with reduced motion?

With reduced motion the hero is still, copy is stacked and smooth scrolling is off. Without WebGL the page still works.