Show HN: Spectral Lab – An optics simulator in WebGL
3 days ago (artepants.fun)
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 yet
Contribute on Hacker News ↗