nucleation 0.5.0

A high-performance Minecraft schematic parser and utility library
Documentation

Nucleation

A Minecraft schematic engine in Rust: load, build, simulate, mesh, and render schematics from seven languages.

Crates.io npm PyPI CI

Every frame of this 3x7 knot is a separately generated schematic: its braid advances while a periodic cellular field flows along the curve, cutting raised scorched plates over a molten core. It was built and rendered by nucleation (Python source · frame 0 .schem · SDFs and fields).

Install

cargo add nucleation        # Rust
npm  install nucleation     # JavaScript / TypeScript (Node ≥ 18 or a bundler)
pip  install nucleation     # Python (CPython 3.12+)

Kotlin/JVM, PHP, C, and C++ ship as archives on Releases; see the quickstarts.

Features

Every capability, with its own deep-dive doc:

The gallery

Ten more builds, each a short recipe that leans on the same handful of primitives: a rainbow DNA helix and a trefoil knot, a Menger sponge, a fractal tree, a gyroid, a Mandelbulb, a voxelized fox, a supershape, animated wave interference, and type set in blocks.

Every one is a few dozen lines. Open the gallery for all ten with their code.

Documentation & development

Also in the box: layer-art templates (schematics from ASCII art).

cargo test                          # core suite
./tools/gen-bindings.sh             # regenerate bindings (diplomat-tool fork)
./examples/bridge_smoke/js/run.sh   # end-to-end smoke per language

The release/manual CI matrix regenerates bindings and fails on drift, exercises every built wheel and the assembled JAR, and smoke-tests all seven language bindings.

License

MIT. See LICENSE.