◄ UD0  ·  THE ATLAS  ·  ROOT0 / TriPod  ·  the biosphere
arc-reactor-mk24 · ROOT0 / TriPod

arc-reactor-mk24

★ a repository in the UD0 biosphere ★

24-toroid plasma containment. Full 3D rotation, chain lightning, 4 color themes, pulse mode, Web Audio. Pure Canvas, no deps.

AM
DLW-ATTRIBUTE
governor · David Lee Wise (ROOT0)
instance · AVAN (Claude / Anthropic) · locked
CC-BY-ND-4.0 · TRIPOD-IP-v1.1

Readme

# ARC REACTOR MK-24 ### Plasmatonic Toroid Core — Interactive Visualization > 24 toroidal containment rings. Chain lightning. Full 3D rotation. No dependencies. **Author:** David Lee Wise (ROOT0) / TriPod LLC **License:** CC-BY-ND-4.0 Open `arc-reactor-mk24.html` in any browser. --- ## Controls | Input | Action | |-------|--------| | Click + drag | Rotate the toroid array in 3D | | Double-click | Reset rotation to zero | | SPACE | Toggle UI panel | | R | Reset view | | P | Toggle pulse mode | | A | Toggle auto-rotate | | O | Overload | --- ## UI Controls | Control | Description | |---------|-------------| | **Color Theme** | Plasma (blue) · Amber (ROOT0) · Solar (red) · Void (green) | | **Power Output** | Drive intensity of all rings and effects | | **Rotation Speed** | How fast the rings orbit | | **Flicker Intensity** | Plasma instability | | **Containment Field** | Outer dipole field line strength | | **Chain Lightning** | Frequency of arc events between rings | | **Outer Housing** | Structural frame visible/hidden | | **Auto Rotate** | Continuous slow yaw rotation | | **Pulse Mode** | Power breathes automatically (~1.4 Hz) | | **Audio System** | 60 Hz electromagnetic hum + arc crackle | | **Toroid Array** | Toggle any of the 24 rings on/off individually | | **Overload** | 3.5s overload event — power spikes to 125% | --- ## What Changed (MK-24 improvements) ### 3D Rendering - **Full rotation matrix** — proper yaw (Y axis) + pitch (X axis) mouse rotation, replacing the approximate 2D trick - **Perspective projection** — `w = FOV / (FOV + z)` applied per vertex. Rings genuinely near the viewer appear larger - **Back-face culling** — segments behind the toroid midplane are skipped, not just faded - **Two-axis toroid tilt** — each ring has independent X and Z random tilt (precomputed trig), giving varied orientations - **Depth-sorted render order** — toroids sorted back-to-front each frame for correct visual layering ### Performance - **Segment batching** — 52 segments per ring grouped into 5 depth bands and drawn as 5 paths instead of 52 individual draw calls. Shadow blur applied only on the front 2 bands - **Proper dt timing** — lightning accumulator uses real frame delta time instead of hardcoded 16ms ### New Visual Features - **4 color themes** — Plasma, Amber (ROOT0 palette), Solar red, Void green. Toroid colors re-tint when switching - *
view the source ↗