The Nonlinear Optics Sandbox is an interactive study of controlled nonlinear dynamics using coupled optical fields. The project explores how optimization processes can guide complex nonlinear systems toward desired states using a specific optical configuration. Real-time visualization and GPU-accelerated physics with nonlinear optical effects are combined with gradient-based optimization of control parameters. The simulator offers insights into optimization attempting to guide coupled nonlinear fields through parameter adjustment and could be adapted for other projects. The app includes a detailed breakdown of key components such as the Nonlinear Wave Simulator, Adaptive Lens Optimization, and Configuration & UI. Check out the live demo!
https://github.com/westoncb/nonlinear-optics-sandbox