Skip to main content

Module instruments

Module instruments 

Source
Available on crate features cells3d and raster only.
Expand description

The three Lawverian 3D instruments (PHASE-R-MAP §3): pure DeckWorld -> SceneGraph3D builders, one per instrument, direct transcriptions of the deck’s draw functions minus canvas calls. Feature-gated cells3d (S9 lane gate — 3D spatial embeddings are library/CLI capability only).

Modules§

cylinder
Instrument I — the adjoint cylinder (topology-deck.html:294-336, Task 7). Bottom disc: every agent as a lone point (the atomized class in-itself) at its spectral (x,y) position. Each community’s hull floats at height -H/2 + o(C)*H; ghost-edge struts run from every member’s bottom-disc point to its community-height point.
sankey
Instrument III — the OCC hyper-Sankey over the invariant u64 H3 grid (topology-deck.html:361-435, Task 9). Every industry snaps to a real h3o::CellIndex; ribbons are the transformation-algebra T transfers (Task 5) reified as a proportional bipartite (multi-donor -> absorber) allocation — a directed hyperedge, PHASE-R-MAP §3. FINE/COARSE zoom is the coarse-graining functor GROUP BY parent(h3_index) (h3:: aggregate_by_parent): extensives sum, Φ and r are invariant.
terrain
Instrument II — the contradiction terrain (topology-deck.html:338-359, Task 8). Per-agent sub-subsistence tension is IDW-interpolated into a heightfield over a fixed quad grid; agents are drawn on top at the same height() evaluated at their spectral (x,y), colored by bloc.

Structs§

InstrumentOpts
Options shared across instrument builders. Only cylinder_height applies today (Task 7); future tasks may add Terrain/Sankey knobs here.

Enums§

CylinderHeight
Which scalar sets a community’s height on the cylinder (D-R1). Default OrgDegree mirrors the deck’s o(C) = orgOf(c). HullFill is a structural alternative — internal-link density as a fraction of the maximum possible pairwise links (|links| / C(|C|,2), clamped to [0,1]) — exposed for callers who want a “how full is this hull” reading instead of “how connected is this community”; no golden number asserts it (no owner ruling needed for a non-default option).
Instrument
Which of the three Lawverian instruments to build.

Functions§

build
Build the scene graph for inst over world. Pure function of (inst, world, opts) — camera-independent, deterministic (Task 7 Step 3 test contract).