Plasma boundary Target shape (wire) PF shaping coils
⚠ Couldn't load the 3D engineThree.js failed to load from the CDN. Check your connection and reload.

AI Plasma Shape Control (Tokamak)

Real tokamaks don't just heat plasma — they have to hold its cross-sectional shape (elongation, triangularity, vertical position) against a genuine instability, tens of thousands of times a second, using currents in a ring of external magnetic coils. This simulation renders a 3D tokamak vessel with a Miller/D-shape plasma boundary swept around the torus, drives it with the same vertical instability that makes elongated plasmas hard to control, and lets a proportional–derivative feedback controller — the same job DeepMind and EPFL's TCV reinforcement-learning controller was trained to do — fight to hold the shape on target. Turn the AI gain to zero and watch the same plasma drift into the wall; turn it back up, change the target shape or disturbance level, and watch the controller re-stabilize it in real time.