In this project, we simulated optical phenomena on a computer using OpenCV
library in Python. We performed the same experiments in a lab and compared the experimental results with the results obtained from the simulation. The following phenomena were simulated:
- Single Slit Diffraction
interference.py
- Snell’s Law
snelllaw.py
To run the simulations, follow the following steps,
- Download the entire contents of the repository
- Install
OpenCV
library in your Python environment - Run the desired
.py
file