BUILD_NCMNICECHUNK / ON-CHAIN BLUEPRINT LAB
CHUNK.JS RENDERER MATERIAL BOM NGINX READY NO THREE.JS

CHUNK.JS / DETERMINISTIC BUILD PIPELINE

Turn a building into compact on-chain code.

The reference building is reconstructed from canonical NiceChunk resources and production roof tiles. NCM3 stores bounded building commands and stable material IDs; after a player fetches it from a PDA, the same chunk.js expands it deterministically and compiles its bill of materials.

BUILDCOMPRESSPDARENDER

SPATIAL PREVIEW

Select a building to load its JSON blueprint.

MODEL SPACE
chunk.js software voxel renderer · drag to rotate · wheel to zoom

ARCHITECTURAL STYLE

Cottage Warm lime render, rustic stone, timber framing and terracotta tile.
SAME GEOMETRY · CANONICAL MATERIAL IDS

ROOF TILE PALETTE

Terracotta Roof Tile Clay + Sand

NCM → CONSTRUCTION BOM

Construction Bill of Materials

CATALOG V2
Material / PhaseAmountStatus

The shared chunk.js BOM compiler derives this estimate deterministically from NCM material voxels. MU is one litre of material equivalent, CU is a standard component, and RU is a raw resource. Landscape items do not affect the structural availability rate.

CHUNK.JS / RUNTIME-BAKED COMPONENT MODELS

Building Material Model Catalog

7 / 33 OPEN BAKE LAB

Every preview uses the runtime material registry and the same procedural texture bake as the game. Geometry follows each component’s canonical shape and L × H × W dimensions; thin panels, rods, beams, slabs, bricks, logs and curved roof tiles are not normalized into cubes.

Canvas previews are static and event-driven. They create no WebGL context, no animation loop, and no Three.js dependency.

SOLANA ACCOUNT READER

Fetch a Building from a PDA

DEVNET / CUSTOM RPC

Supports the standard NCBP account header and experimental accounts that store NCM text directly. The reader verifies SHA-256 before replacing the current spatial preview.

Waiting for a PDA address.

AUTHORITY BOUNDARY

Store the Blueprint, Never Execute Scripts

  • Deterministic: fixed version, coordinates, material IDs and bounded commands.
  • Auditable: no eval; a blueprint cannot access the network, wallet or DOM.
  • Portable: the NCM2 compatibility export can be decoded by existing NiceChunk clients.
  • Verifiable: the PDA stores a code hash that clients must compare after fetching.