#three.js #devlogen
Building the voxel scene
How a few hundred instanced cubes morph between shapes as you scroll.
The hero scene is a single InstancedMesh. Every section of the page defines a
target formation, and each frame the cubes ease towards it.
Formations
- Text sampled from a 2D canvas
- A stack of card-shaped slabs
- A grid, one cube per tool in the stack
- Scattered debris near the contact section