Readit News logoReadit News
Posted by u/kmewhort a month ago
Show HN: Spectral Lab – An optics simulator in WebGLartepants.fun/posts/spect...
I built a drag-and-drop optics lab where you can place mirrors, lenses and prisms to play around with real-time light ray physics. It uses standard ray-tracing with proper Snell's Law refraction and chromatic dispersion.

The blog post (which includes the app at the top) is the first in a series I have planned explaining this and other artful physics simulations.

No comments