Show HN: Spectral Lab – An optics simulator in WebGL

https://artepants.fun/posts/spectral-lab-1/
by kmewhort • 7 months ago
3 0 7 months ago

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.

Related Stories

Loading related stories...

Source preview

artepants.fun