Photonics Toys is a collection of interactive educational simulations for teaching and learning optics, photonics, and wave physics.
The repository contains browser-based HTML/JavaScript visualizations as well as Python-based educational programs. All simulations are designed for intuitive exploration of physical concepts and are suitable for university-level optics and physics courses.
Concepts: traveling waves, standing waves, phase, interference
📄 Program: html/standing-and-traveling-waves/index.html
All HTML programs work locally in a web browser (no installation required).
Concepts: wave superposition, spectra, coherence, color perception
📄 Program: html/plane-wave-superposition/index.html
Concepts: beats, frequency difference, interference in time
📄 Program: html/acoustic-wave-beating/index.html
Concepts: polarization states, Jones calculus, linear/circular/elliptical polarization
📄 Program: html/plane-wave-polarization/index.html
Concepts: Fresnel equations, Brewster angle, critical angle, polarization-dependent reflection
📄 Program: html/fresnel-coefficients/index.html
Concepts: Drude model, SPP dispersion, SPP field profile, skin depth, SPP period, SPP range
📄 Program: html/surface-plasmon-polariton/index.html
Concepts: Thin lenses, Fresnel zone plates, axicons, focusing, diffraction Poisson spot, linear, radial and azimuthal polarizations
📄 Program (Python notebook; opens in Colab - after opening, exectute the notbook and the simulation will apear in the end of the script): python/zone_plates_axicon_lenses.ipynb
All simulations support:
- 🇵🇱 Polish (default)
- 🇬🇧 English Language can be switched interactively using a button in the interface.






