Copper Sulfate Solution & Electrolysis (2D)
A real temperature-solubility curve for CuSO₄ drives dissolution and crystallization as you change water volume, added salt and temperature — and an optional electric field drifts Cu2+ and SO4^2- ions toward opposite electrodes.
This 2D lab replaces the original 3D scene's generic refinery diorama with a mechanic that actually matches copper sulfate chemistry: a piecewise-linear fit of the real CuSO₄ temperature-solubility curve (14.3 g/100 g water at 0 °C rising to 75.4 g/100 g at 100 °C) sets how much salt can dissolve in the chosen water volume at the chosen temperature, and any amount you add beyond that limit visibly crystallizes out at the bottom of the beaker. Switching on the electric field shows the other real phenomenon the description promised — Cu2+ ions drifting toward the cathode and SO4^2- ions toward the anode, the basis of copper electrorefining.
Real CuSO₄ solubility-vs-temperature data (interpolated) sets a dissolution limit; salt beyond that limit crystallizes visibly. An optional electric field drifts Cu2+ and SO4^2- ions toward opposite electrodes, illustrating ionic migration.
2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install