Updated 54 days ago

Satisfying the Wave Equation: Simulating Light Waves from Scratch

Providing an intuitive understanding of complex and beautiful light phenomena.

  • Other

Try it out!

Click here for our presentation.

Sitting in our introduction class to waves and optics, we were thinking to ourselves that we were frustrated that light effects such as interference and diffraction happen at a scale that we have no experience with in real life. With this project, we take you down to the micrometer and femtosecond scale, so that you can get an intuitive understanding of the strange ways in which light works.

This was done by approximating the wave equation and using it to update a small section of space, getting all of these beautiful effects for cheap by being true to the real physics describing light.

Using parallel computing and hardware acceleration on the GPU, we were able to do this in real time with impressive quality.

GALLERY

Screenshot_20241117_103636.png Water Caustics

Screenshot_20241117_103720.png Diffraction Around a Ball

Screenshot_20241117_103740.png Light Bouncing Around a Scene with a Trapezoid of Glass in the Center

Screenshot_20241117_103905.png Reflection Within a Koch Snowflake Fractal

Screenshot_20241117_103938.png Diffraction Through a Single Slit

Screenshot_20241117_104153.png Interference Between two Slits

Screenshot_20241117_104431.png Light Focusing from a Parabolic Mirror