Volcanic Eruption: Magma Viscosity & Eruption Style (2D)

This 2D companion turns the volcano into a working conduit-flow model instead of a fixed animation: silica content and chamber temperature set the melt viscosity through an Arrhenius law, dissolved gas content sets how much volatile exsolves as the magma decompresses on its way up, and the conduit radius sets how easily it can escape. The live readout panel tracks viscosity, exsolved gas fraction, mass eruption rate and exit velocity, and the canvas view switches between a slow effusive lava flow and an explosive ash column — Strombolian, Vulcanian or Plinian — the moment the fragmentation threshold is crossed, exactly as it does in real basaltic-to-rhyolitic eruptions.