Heat Equation — Fourier Mode Decomposition

ut = α uxx: each Fourier mode decays as e−α k² t. Toggle modes on/off and watch the solution evolve.

Click modes to toggle. Initial condition = sum of selected Fourier modes.