← all demos
Physics

Double-Slit Interference

I = I₀ cos²(π d sinθ / λ)
Double-Slit Interference

Two coherent slits paint a cosine-squared fringe pattern whose bright bands crowd together as the slit separation grows.

Computed & rendered in pure C# on the frozen OnlyCSharp 1.8 library — animation baked to GIF with the library's own Gif encoder (no GPU, no ffmpeg, no external packages).