turn.mjs (3D runtime, beta)
Tools · 3D · MIT
- What it does
The runtime of the optional 3D mode: parts that truly turn (a dial, a hinge, a piece that breaks off) are re-projected and re-shaded every frame by the kit's own rules and painted in an order solved from separating planes. 3,610 lines. The repo calls it beta: about 60 fps for a small figure, about 20 fps for its 380-part stress test.
- Get it
TURN.mount(svg, data); const controller = ... (see references/3d.md)
- Needs (the whole pack)
Node 20.10 or later for builds and checks, with nothing to npm install. Chrome for the checking scripts. React only for the React output. No API keys.
- License
MIT
- From