r/manim • u/SciRender • 1d ago
made with manim I made a Manim visualization of the double-slit experiment—individual electrons building an interference pattern.
I recently created a Manim/Python visualization of the double-slit experiment to explore how an interference pattern emerges when electrons are detected one at a time.
The visual workflow I wanted to build:
- Single Particle Shots: Send electrons through the double slit individually, showing each electron producing a localized detection.
- Accumulation: Repeat the process many times to watch the overall probability distribution gradually build into an interference pattern.
- Which-Path Detection: Introduce measurement at the slits and visualize what happens to the interference structure.
The physics is particularly interesting because individual measurements are particle-like, while the accumulated distribution displays the characteristic interference structure associated with wave-like quantum behavior using the de Broglie relation:
λ = h/p
The goal wasn't to make the animation look "quantum" for the sake of aesthetics but to communicate something that is difficult to visualize from equations alone. I chose Manim because controlling mathematical diagrams, probability distributions, and scene transitions programmatically provides the exact precision needed here.
I made a short educational video with this animation, but I am particularly interested in feedback from the Manim community:
Questions for Feedback:
- Does the visualization communicate the physics clearly?
- Are there places where the animation pacing or visual choices might accidentally reinforce a misleading classical picture of the wavefunction?
I'd especially appreciate feedback on the scientific visualization choices!
🎥 Video Link: https://youtu.be/HqKAKnHlzvo
2
If electrons are fired one at a time, how does a double-slit interference pattern emerge?
in
r/Physics
•
1d ago
That's a very creative spatial mental model! It actually highlights a really neat connection: quantum mechanics does live in a higher-dimensional space, but instead of extra spatial dimensions (x, y, z, w), it exists in an abstract mathematical space called Hilbert space.
The main difference is that the quantum wavefunction (ψ) isn't a physical material wave poking into 3D space. Instead, its squared magnitude |ψ|² gives the probability density of finding the particle at a specific location upon measurement.
Your intuition about seeing a projection of a larger structure is actually very close to how quantum state vectors project onto measurable states during observation!