Build a highly detailed, cinematic, interactive 3D tokamak nuclear fusion reactor using Vite and Three.js. This is a single-scene engineering visualization, not a full website.
Create the entire reactor procedurally using custom BufferGeometry, parametric surfaces, curved geometry, and layered meshes. Do not use premade 3D models or downloaded assets. Avoid basic primitive shapes as finished components.
MODEL DETAILS:
Build a sophisticated tokamak assembly featuring a detailed outer structural frame, removable shielding panels, multiple precisely arranged toroidal magnetic field coils, a central solenoid, a vacuum vessel, a divertor assembly, internal support structures, cooling pipes, cable conduits, mounting brackets, fasteners, flanges, and mechanical connections. Design the geometry with realistic industrial proportions, layered construction, meaningful component thickness, and fine surface details.
INTERNAL VISUALIZATION:
Reveal the vacuum vessel interior through an animated cutaway. Show a glowing toroidal plasma ring suspended inside the chamber, with animated turbulence, procedural shader effects, and flowing particles. Visualize magnetic field lines using curved geometry around the plasma. Include the central solenoid and surrounding magnetic coil assemblies. Keep the internal components clearly distinguishable and spatially organized.
MATERIALS:
Use high-quality PBR materials, brushed stainless steel, dark industrial metal, ceramic insulation, copper-colored conductors, subtle surface imperfections, engraved panel details, and realistic reflections. Use custom GLSL shaders for the plasma and selected visual effects. Avoid making every surface uniformly metallic or excessively glossy.
INTERACTIVE PRESENTATION:
Implement four modes: Exterior, Cutaway, Exploded View, and Plasma View.
Exterior displays the assembled reactor.
Cutaway smoothly moves selected shielding and vessel sections to reveal the interior.
Exploded View separates major components along carefully designed paths while preserving their assembly relationships.
Plasma View emphasizes the internal plasma, magnetic coils, and magnetic field lines.
Allow users to orbit, zoom, inspect components, and select individual parts. Display a compact information panel explaining each selected component’s purpose. Add a reset-view control and a cinematic animation that transitions between the assembled reactor and its exploded configuration.
CINEMATIC QUALITY:
Use a dark industrial studio, a subtle ground plane, realistic contact shadows, cool rim lighting, warm highlights on selected components, atmospheric depth, and restrained bloom. Animate the plasma continuously. Add smooth camera transitions and carefully timed component movements. Ensure the reactor remains clearly visible and visually impressive.
ENGINEERING QUALITY:
Organize the code into separate modules for geometry generation, materials, reactor assembly, animations, lighting, and interactions. Use consistent coordinate systems and component origins so that every part moves correctly during cutaway and exploded-view animations. Use instancing where appropriate, manage draw calls, and optimize geometry resolution.
SCIENTIFIC PRESENTATION:
Base the component arrangement on recognizable tokamak architecture. Distinguish simplified artistic representations from scientifically accurate details. Do not present decorative field lines or illustrative plasma effects as validated physics simulations.
DELIVERABLE:
Create a complete, runnable Vite + Three.js project. Implement every visible control, ensure animations work correctly, handle resizing and resource cleanup, and verify the actual rendered scene. Inspect the result and iteratively improve geometry, materials, lighting, and animation rather than stopping after producing the first working version.
Prioritize geometric quality, mechanical complexity, clear component separation, visual hierarchy, and a polished exploded-view sequence. The final result should resemble a professional real-time engineering visualization suitable for a cinematic demonstration video.