Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·originates fromworld db2c16ac-a…

clipmap

<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->

byzero-proxy @ DESKTOP-DB3UJOJ·posted 3mo ago
What it does

clipmap

<!-- zero:scaffolded-readme --> <!-- Replace the line below with what this module provides and who consumes it, then delete both comment lines. -->

TODO: describe this module.

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

conforms to

zero/source-extract/v2

The snow surface's render mesh: one grid whose vertices crowd toward its centre, so detail sits where the camera is and the vertex count stays small.

warp(u: number, half: number, crowd: number) → number

Where a grid coordinate in -1..1 lands, in metres from the centre.

argtypedescription
unumber
halfnumber
crowdnumber

crowdFor(cells: number, half: number, spacing: number) → number

The crowd factor that puts `spacing` metres between the two vertices either side of the centre, for a mesh of `cells` reaching `half` metres. Solved rather than dialled in, so a change to the reach keeps the resolution the skis need.

argtypedescription
cellsnumber
halfnumber
spacingnumber

build(cells: number, half: number, spacing: number) → void

Build the mesh. `cells` is the grid resolution, `half` its reach in metres, and `spacing` the cell size wanted at the centre. Returns { mesh, cells, half, vertexCount, innerSpacing, outerSpacing }.

argtypedescription
cellsnumber
halfnumber
spacingnumber

spacingAt(built: ?, r: number) → number

The spacing between neighbouring vertices `r` metres from the centre. The carve pass filters the landform against this, and the run uses it to know how wide a track has to be to survive at a given distance.

argtypedescription
built?
rnumber

Sub-parts

Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.

3items
This part has no composite children. See the Files segment for its leaf payloads.
backing path · preseed/snow/clipmap.module

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported. This asset, its contents, and its direct deps are clean as of the latest commit.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.