First Light: Crowfeet
README.md
geo
Every shape the sea cliff is made of, built as runtime meshes.
Cliff.component is the only consumer. Each builder returns a MeshHandle from
renderer.mesh.create, which a Model component's model field takes directly,
so none of this becomes an asset on disk and the cliff can be rebuilt from
nothing whenever the component wakes.
| Call | What it makes |
|---|---|
Geo.faceZ(x, y) | how deep the face stands at a point — a palisade of prisms, piecewise constant per column and per block, with a chamfer at each seam |
Geo.face(opts) | the climbed face: one grid displaced by faceZ, ending in a broken skyline at the summit |
Geo.ridge(opts) | a headland further along the coast — a wall whose top edge is a ridgeline |
Geo.shelf(opts) | one ledge: a six-point profile with a lip and an undercut, extruded along x and closed at the back into whatever depth the face has there |
Geo.grid(opts) | a flat plane in XZ, for a surface whose shape comes from its shader's vertex stage — the sea |
Geo.sphere Geo.cone Geo.petal Geo.stick Geo.chunk | the small solids: grub beads, limpet shells, a blossom petal, nest driftwood, a rock chip |
Geo.fbm and Geo.vnoise are the same value-noise field the basalt shader uses
at a different scale, so the modelled relief and the shaded relief agree.
Everything is deterministic — the same seeds build the same cliff on every peer.