This visualisation uses AI Generated code, finetuned for the best visualisation, not code quality
schrodinger.mov
Interactive C + Raylib visualizer for building intuition about the time-dependent Schrodinger equation, wavefunction evolution, probability density, and how the PDE links local curvature to time change.
- The relationship between
Re(psi),Im(psi), and|psi|^2 - How different potentials reshape the evolving wave packet
- Why detector outcomes follow probability density rather than amplitude directly
- Several intuition pages that unpack
dpsi/dt, complex-plane motion, and the equation term by term
flowchart LR
A["Initial Wave Packet"]
B["Potential V(x)"]
C["Schrodinger Update"]
D["Complex Amplitude psi(x,t)"]
E["Probability Density |psi|^2"]
F["Measurement Intuition"]
A --> C
B --> C
C --> D
D --> E
E --> F
q: quit1to7: switch pagesp: cycle presetsspace: pause or resumer: reset the wave packet and runtime statec: clear the detector histogram
make run