Skip to content

jamylak/schrodinger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Schrodinger Equation Visualizer

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.

What This Visualisation Shows

  • 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

Visual Map

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
Loading

Controls

  • q: quit
  • 1 to 7: switch pages
  • p: cycle presets
  • space: pause or resume
  • r: reset the wave packet and runtime state
  • c: clear the detector histogram

Run

make run

About

Schrodinger Equation Visualizer

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors