Behind kavaliero.com: a belt, a camera and glass that bends the type.

Web designWebGLMotion

A studio that sells websites cannot get away with describing them. The first screen of kavaliero.com is the sample, and this is how it is made and why each piece sits where it does.

We sell three things, always in this order: websites, complete SaaS platforms and AI automation. The landing page presents them the same way, one after another, on a single belt that moves with the scroll.

The thinking behind it is in the kavaliero.com case study: anyone deciding whether to hire us should be able to try what we sell before they buy it. So the landing page does not talk about immersive design. It does it while you scroll.

What follows goes down the page from the top: how it moves, where its light comes from, what rides on the belt, why it does not freeze on arrival, and what we took out along the way.

The kavaliero.com home page in Spanish: its headline in capitals over three lines, with a knight and a ring made of glass pixels among the words.
The first screen in Spanish: the headline in two columns, the glass glyphs among the words. Captured on kavaliero.com.

A belt, not a carousel

The headline and the three service screens (PRESENCIA, PRODUCTO and IMPULSO) do not each run an animation of their own. All of them read their position from one continuous function of the scroll, so the speed never breaks and nothing bounces at a change of screen.

A carousel swaps slides; a belt carries them. A carousel has a moment where the wheel moves nothing while it waits for the next slide, and that reads as lag.

The scroll law. Since July the site has had a written rule: scroll never maps to zero motion. Breathing room comes from distance, not from holds. Even at rest, a tenth of every notch of the wheel still moves the word.

Each screen arrives, rests and leaves. It all but stops for about three quarters of a screen of scrolling, then goes with intent: it grows toward the camera, drifts left and turns very slightly. The belt it replaced never rested and never hurried, which is why it looked like a factory conveyor.

2.3
screens of scrolling per slide. At each rest the word moves about 5% of a screen per screen scrolled; at the fastest point, between 190 and 230%. Measured on kavaliero.com

Two layers per screen. The word and the objects live in a body that is the only thing transformed. The tags, the small copy and the button live in a layer that never moves: it fades out in 0.22 seconds as its word leaves and in over 0.32 as the next arrives, on a clock of its own rather than on the scroll. Small copy that was always moving gave the conveyor away more than anything else.

What is the difference between a scroll belt and a carousel?

A carousel swaps slides, and while it does, scrolling moves nothing. A belt works out where every screen sits from one continuous function of the scroll, so every notch of the wheel produces motion, including at the rests. On the kavaliero.com landing page each screen settles and then leaves decisively, but none of them stands still while the reader keeps scrolling.

The PRESENCIA screen on the landing page: the word in capitals, Kavaliero's knight in red metal on a stepped slab, two glass pixel glyphs beside it, the service tags and the button.
PRESENCIA at rest, the first of the three service screens. Captured on kavaliero.com at 1600 by 900.

Glass that bends the type

The glass glyphs in the headline refract the words behind them. There is a catch: WebGL cannot see the page's text. The browser draws the type, and the 3D scene lives on a separate canvas.

So each line of the headline is drawn a second time, as a plane inside the scene, exactly where the browser put it. We call that double the proxy. The glass refracts the proxy, and because the proxy matches the type to the pixel, it looks as if the glass refracts the headline.

The headline leans toward the pointer, by less than a degree, about its left edge. The proxy has to lean with it, and that is where it went wrong: the type passes through two perspectives, its own and its container's. Modelled with one, the proxy moved half as far as the letters at the right end, eight pixels out at 0.6 degrees. Each plane is now placed by a single homography that chains both.

The glass also watches the headline rise. Each line comes up from behind a mask, and its proxy is cut where that mask ends and lowered every frame by as much as the line still is. Through the glass, the type comes out of the same masks it does on the page.

The light is the field

Behind everything sits a background we call the field. An earlier design used a lattice of two-pixel burgundy squares, darker than the paper, under the type. It redrew the whole screen on every refresh and flickered at rest, so the redesign also addressed unnecessary rendering work.

Now it is light. A mid-tone base (the brand's bone with 6% ink in it) and tall, soft pools that are lighter and warmer than the base, placed by the scroll. At rest it holds perfectly still, and the pointer does not touch it.

The colours are the stylesheet's, read as they are, so the canvas meets every panel on the site without a seam. And it only draws when something changes: on scroll, on resize, on a change of page. At half resolution, with one triangle and about sixty operations a pixel.

Each section picks its light and contributes by how much of the middle of the screen it covers. The contact block is dusk, so the light warms before the footer arrives.

The same light falls on the objects. The environment they reflect is built from the same tokens: a box seen from the inside, painted by direction, with soft-edged light boxes in it. The first studio had bone walls, a dark ceiling and rectangular panels, and everything in it looked pasted onto the page.

A dark floor and bright light boxes. An environment as light as the page leaves a glossy object with nothing to reflect but more page: the knight read as a flat cut-out. The floor is only ever seen in reflection, so it can be dark without darkening anything you see.

What rides on the belt

Each service has an object. None of them comes from a third-party file except the robot, and the four steps below cover how each piece was made.

Step 1. A knight extruded from the mark

The outline is the logo's, traced from its SVG with both of its inner holes. The bevel grows outward, because the lance and the hooves are about a hundredth of the height across, and an inward bevel eats them.

The faces are shaded as a very shallow dome without moving a single vertex: each vertex on the outline takes the normal it would have on that dome. A flat face then catches a gradient of light and a highlight that travels as the knight rocks. Without it, the knight read as a cut-out.

It is thin: the whole emblem is less than 4% of its height deep. The paint is red metal under a mirror clearcoat, with a flake map that breaks the reflections into fine grain, and the rim is the same metal lighter and polished, one bright line round the edge.

Step 2. Three acrylic tiles

PRODUCTO is three stacked tiles in ink, bone and red, all three translucent, so each one bends the type and the slab behind it. Their shape is a superellipse rather than a rounded rectangle, so the highlight on the rim turns the corner without a kink.

Each tile has a small glyph inlaid in it: a window, three bars, two linked nodes. They are icons, not words, so there is nothing to translate.

The PRODUCTO screen: three translucent tiles fanned in a stack, red on top, bone in the middle and ink below, with inlaid glyphs, over a pale slab and behind the word.
PRODUCTO: the tiles fanned out, the top one red. Captured on kavaliero.com.

Step 3. A robot in a new material

IMPULSO is the only downloaded model, a robot under a CC BY 4.0 licence, credited in the legal notice. Every material is swapped at load: glossy white ceramic, an ink glass visor, red lacquer ears. The rings that floated under it are hidden: without their cyan glow they read as scratches on the field.

Step 4. A glass slab with an index of 2.2

All three objects stand on the same slab: a pixel cross eight cells by eight, in glass that really refracts. Its walls show the page behind them and the object above.

Its refractive index is 2.2 on purpose, higher than any window glass. Three.js resolves refraction with a single lookup on the screen along the refracted ray. For a wall seen almost head on, an index of 1.5 always sends that lookup below the object, however thick the glass. At 2.2 the ray bends far enough to reach its feet.

Nothing answers the scroll or the pointer. Each object runs its own loop (ten seconds for the knight, eight for the tiles, twelve for the robot), built only from whole harmonics of its period, so the loop closes without a seam and a paused tab resumes where the clock says. The slab does not move. Everything travels with its screen.

The IMPULSO screen: a white ceramic robot with a dark visor and red ears in front of the word, over a pale slab, with glass glyphs either side and the call to action below.
IMPULSO, the last screen on the belt. Captured on kavaliero.com.

The camera push

The belt does not end on a cut. On the last screen the camera pushes into IMPULSO around a point just under the right-hand glass glyph, a bolt made of pixels. The word, the robot and the slab sweep out of the frame to the left and below, and the bolt grows until it is the only thing left. Then it leaves through the top of the frame, on the right.

The curve was measured, not drawn. We stepped through a reference site 15 and 20 pixels of scroll at a time, tracked the width of its last word in every frame and fitted the push to it. With u as the screens scrolled since the push began:

// u: screens of scroll since the push began
const scale = Math.exp(0.04 * u + 1.25 * u ** 2.8);

Over the first quarter of a screen it grows by under 4%, and the first notch of the wheel still gets an answer. By half a screen it is at 1.2 times; the word leaves the frame at 0.89 of a screen, at 2.5 times, and the push is still gathering as the bolt goes. Up to three quarters of a screen, our curve stays within 5% of the reference's.

What is nearer the camera leaves first. In a real camera move, whatever stands nearer the lens grows faster. So the robot and its slab are scaled by the push raised to 1.65, as if they stood in front of the type: the robot has gone by 0.87 of a screen and the slab by 0.91, about when the word leaves at 0.89. The service's tags and button fade once the push has gathered, at 0.55, not as it starts.

The stage lets go at the page's own speed. The scene stays pinned for 1.11 screens. From 0.65 the slide also rises, by 1.09 (u - 0.65)² screens: a parabola, so it starts from rest without a jolt, and its speed reaches one screen per screen of scroll exactly where the pin lets go. After that the page carries the stage, and the push runs on until nothing of the slide is left in the frame, at 1.32.

Underneath, the manifesto is pulled up just enough that, when the push begins, its first statement sits as far down as the reference's: a little under two screens. It scrolls in plainly, with no line-by-line rise, so as the bolt leaves, its first lines and its note are already at the foot of the screen.

It is the move we have rebuilt more times than any other. Why a curve decides whether motion feels natural is in Scroll animation.

A K behind the manifesto

As the bolt leaves, a K made of glass pixels comes up from the foot of the screen, behind the manifesto. It is the K of our wordmark, seven cells tall and one cell deep, and it is frosted rather than clear: here the belt's clear glass read as a grey block, darker than the page. So most of the light passes through a pale, rough body, and a polished edge catches one bright line.

Behind the words, not in front of them. The manifesto's type is drawn over the canvas, so nothing of the text is refracted in the K and it needs no proxy. The K is drawn by the belt's own renderer, in the same scene under the same light, rather than on a canvas of its own: that would have opened another graphics context, built its own lighting and linked its own glass for a section the reader passes in two screens. So on a tablet or a desktop the belt's canvas is pinned to the window, and the manifesto, the lists after it and the film come later in the page, which is why they paint over it.

Its path follows the scroll; its turn follows the clock. It comes in large, showing its top faces, as the first statement comes wholly into view, sweeps left as it rises, comes back right as it recedes, and settles a little right of the middle about half a screen later. It holds there while the statements go by, drifting a few hundredths of a screen so the scroll never maps to zero motion, then rises toward the top of the screen to wait for the film.

On its own clock it turns about its vertical axis, edge on every 4.9 seconds, and floats on a 19.6 second loop that closes without a seam. A K is not symmetrical: seen from behind, it is a mirrored K. So it only ever turns through the half that faces the reader and reverses when it is edge on, easing at each end, so the same wall that went out comes back and the letter is never seen backwards.

The film covers it, and it stays covered. The film's frame rises over the K from below. The K waits low enough for the frame, which stops centred in its screen, to pass wholly over it, and once the frame's top edge is above the K's highest point at any moment of its float, the K is not drawn at all. It only comes back if you scroll up past that point. On a phone there is no K, and under reduced motion there is no scene. How the film itself was made is in Full stop, carry on.

No freeze on the first frame

WebGL links its shader programs lazily, the first time each one is drawn, and that first draw waits on the main thread. On a page that moves from its first second, that is a visible hitch at exactly the moment the reader arrives.

The landing page's rule is easy to say: every program is linked before the first visible frame, and none after. They compile in parallel, off the main thread, and the scene does not draw until the browser confirms they are ready.

18
shader programs are linked by the landing page's scene before its first frame, the frosted K's among them, and none after, on a desktop, a tablet and a phone. Measured on kavaliero.com

The geometry is built in pieces, one per frame: each glyph, the slab, the knight's four steps, each object's dressing. No step goes over 15 milliseconds. Before this, mounting the scene was one 66 millisecond task and dressing the objects another of 111, right in the middle of the intro.

The loading screen is the cover. The scene is built underneath the intro, and the headline's first frame lands 650 to 800 milliseconds before the intro lifts. Arrive from another page and the curtain waits for that first frame instead, with a cap.

If you want the general case for when any of this is worth it, it is in What WebGL is, and when it earns its place.

What we left behind

Nearly everything on the landing page today replaced something that was live. This is what came out, and why.

  • The phoenix. A downloaded model stood where the knight is now. It stopped making sense beside a brand that already had an emblem of its own. Since then the landing page downloads a single model.
  • The pixel lattice. The burgundy dot field was darker than the paper and sat under the type. The light that replaced it only draws when something changes.
  • The 9x zoom. Each screen had a travel profile of its own and the belt ended by enlarging the last one nine times. Both went when the screens started to arrive, rest and leave, and the camera push took over the ending.
  • The hard studio. Walls, a ceiling and rectangular panels gave hard reflections of a room the page does not have.
  • The chrome-edged knight. It read as a sticker with a white outline. A crystal version refracted the word into a dark bar across the rider.
  • The block plinth. First a matte two-tier block with a contact shadow, then a pearl slab with polished walls. A floating object casts nothing, and a glass slab lets the page through.

Nearly all of them were added to make the page richer, and nearly all of them made it read less as one thing. Taking something out is part of the work.

The curtain between pages

The landing page is the way in, but the site goes on. Every internal link goes through the same curtain: red cells fill the screen in random order in 0.42 seconds, the page changes behind a solid screen, and the cells clear in 0.54.

The kavaliero.com contact page half covered by square burgundy cells appearing in random order.
The curtain about 160 milliseconds in, leaving the contact page for the work page. Captured on kavaliero.com.

The cells change opacity and nothing else, with no layers of their own: promoting a few hundred cells at once costs more memory than it saves. And every arrival animation waits for the curtain to open, because an entrance played behind a solid screen is played to nobody.

The same timing, 0.42 and 0.54, is what Kavaliero Systems uses, with a sheet of glass instead of cells. And all eight projects open from here, each in a block of ice cut in code, which we cover in Ice cut from code.

Technologies and tools

Front end

Next.js 16 and React 19
Routes in two languages, rendered on the server
GSAP and ScrollTrigger
The belt's function and the type reveals
Lenis
The smooth scroll the belt reads from
Satoshi
The site's one typeface, variable

3D and light

Three.js 0.185
The objects, transmissive glass and the PMREM-filtered environment
Our own shaders
The light field and the studio the objects reflect
KHR_parallel_shader_compile
Linking programs off the main thread
robot.glb (Shayan, CC BY 4.0)
The IMPULSO robot, re-materialed

Want a first screen people remember? Write to us and tell us what someone arriving at your site has to understand.

FAQ

What is an immersive website?

An immersive website is one you move through more than you read: scrolling drives scenes, objects or a camera, and the content arrives as part of that journey. The kavaliero.com landing page does it with a belt that carries its three services and 3D objects built in code. It works when the motion explains something; when it only decorates, a static page is usually better.

Does the 3D slow the landing page down?

It can, if it is loaded carelessly. On kavaliero.com the scene is built in pieces of under 15 milliseconds, links its 18 shader programs before the first frame and none after, and downloads a single 297 KB model. It also stops drawing when it leaves the screen or the tab is hidden, and under reduced motion it does not animate.

Why don't the objects turn with the scroll?

Because on the kavaliero.com landing page the scroll already moves the whole belt, and an object that also turns with every notch of the wheel reads as mechanical. Each object runs an animation loop of its own, which closes with no seam, and travels with its screen. The scroll carries them; it does not spin them.

Does it work on a phone?

Yes. On a phone the kavaliero.com landing page stacks its screens, the 3D scene mounts as it comes near and draws at a lower resolution, and the objects lose their slab and lift above the word. Under reduced motion the page shows everything without animating.

More insights