An interactive web to demonstrate wave nature of light using Double Slit Experiment.
The bright and dark fringes can be calculated using:
-
Constructive Interference (Bright Fringes):
-
Destructive Interference (Dark Fringes):
The intensity I at any point on screen is given by:
- Framework:
React + Vite - Styling:
Tailwind CSS - Graphics Library:
p5.Js
git clone https://github.com/itzshubhamdev/doubleSlit
cd doubleSlit
npm install
npm run devev