This project is inspired by 3Blue1Brown's video on holograms and aims to simulate the interference pattern behind diffraction grid.
This project provides a WebGPU-based simulation environment for visualizing wave optics phenomena, including diffraction patterns and interference effects. The goal is to have simulations that are based on solving Maxwell's equations using FDTD methods. With the hope of moving onto rendering simple hydrogen orbitals along with the EM field :)
-
Diffraction Grating Simulation: Visualize the interference pattern behind a set diffraction grid.

-
FDTD Simulation: Still a work in progress simulation editor. There is a selection toggle on the bottom right of the window

-
Spectral Passes:
TODOSpectral passes.
To get started with this project, follow these steps:
-
Clone the repository:
git clone https://github.com/DeanKJones/Optics.git cd Optics -
Install the dependencies:
npm install
To run the project in development mode, use the following commands:
npm run build
npm run devThis project is licensed under the MIT License.