Skip to content

22 3D websites and sections built in code

The 3D here is built in code, not imported as a heavy model. A two-stage rocket stands on its pad in brushed steel and turns with inertia when you drag it. A figure made of lacquered cubes tumbles loose when the pointer sweeps through it. A carton net folds itself shut as you scroll, a heat shield of hexagonal tiles lifts under the hand, a lighthouse lens turns in a tab pill.

See the designsSee all 22 on the Wall →

The designs

See all 22 on the Wall →

About these designs

3D is worth it when the object is the point: a product, a process, a size you need to feel. It costs the most of any technique on a phone, in download size, GPU time and battery. Load the scene only when it is near, render less often when nothing moves, and show a still picture for reduced motion or when WebGL is missing.

They come as heroes, page Sections and small pieces. Each has a live Preview and a Design Spec that explains the scene for your agent.

Questions

Do I need 3D models to build these?

No. The objects are modelled in code, so there is no model file to source. Your agent rebuilds the geometry from the Design Spec and the Preview.

How heavy is a three.js page on a phone?

Heavier than any other technique: the library, the GPU work and the battery all add up. Load it late, pause it off screen and keep a still image as fallback.

What happens with reduced motion?

Show the object at rest, or a still render of it, instead of the spinning or scroll-driven scene.

Can I put my own product in the scene?

The scene and its interaction are the Machine your agent keeps. What it shows and the words around it are the Brand, which you can change.

DavidAnswers right away

Good afternoon. What are you looking for?

Four answers he already knows