ngin
NGIN
Target: Three.js 0.187.0, WebGPU renderer (three/webgpu) and TSL (three/tsl), the
addons at three/addons/, and jolt-physics 1.1.0 (wasm-compat). WebGPURenderer
only; the renderer falls back to its WebGL2 backend by itself where WebGPU is missing.
Browser ES modules through an import map, no bundler, no framework, no build step. The
engine is vanilla JS in a functional style: factory functions and closures, no classes.
What it is
An engine that already walks, drives, floats and carries, so the model builds the game instead of a renderer and a second character controller. It ran for a year as the reference sandbox at vault80.com and now runs the infinite block world at https://vault80.com/3d/ngin/. Every module below is the real source, copied whole.
Use it for a walking or driving world, a Roblox or Minecraft-style level, a sandbox with
props that have colliders, day and night and weather, or an infinite voxel map. Do not
use it for photoreal rendering, for a scene that needs WebGL, or for a single material
or object; the tsl-materials and procedural-geometry skills cover those.