Spin-up electron Spin-down electron HOMO / LUMO markers

Particle-in-a-Box: Pauli Filling of Energy Levels (2D)

This 2D companion strips the 3D Pauli-exclusion lab's orbiting shells down to the underlying mechanism itself: a real 1D particle-in-a-box, whose energy levels E_n = n²h²/8m_eL² are computed live as you drag the electron-count and box-size sliders. Electrons fill the ladder two at a time — one spin-up, one spin-down — from the ground state up, exactly as Pauli exclusion demands, while a wavefunction pane plots the actual |ψ(x)|² probability density of the highest occupied level.