geom
The geometry builders the Reaction slice is made of — lathes, height-field discs, and a growable hexagonal prism
geom
The geometry builders the Reaction slice is made of — lathes, height-field discs, and a growable hexagonal prism
Every shape here is built from numbers rather than imported, because every one of them has to be able to CHANGE: the liquid's top cap is a height field carrying a meniscus, a vortex and a drop's ripples at once, and the crystal is a lattice whose prisms extend on camera.
A builder returns a plain { positions, normals, uvs, indices } table — what renderer.mesh.create takes. prism writes one hexagonal prism with a pointed termination whose normals depend only on its axis and ring angle, never on its length, which is what lets a whole lattice grow by rewriting positions alone.
Scoped to this part · feeds back into the world's score.