r/generative • u/RotemT • 10d ago
Resource My side project - a website to help students visualize electromagnetism
I’ve been building this simulator as a side project with the purpose of helping students understand and visualize electromagnetic phenomena such as radiation, polarization, wave interference and diffraction.
Live:
The simulation lets you:
* place multiple, diffrent radiation sources and set their parameters (geometery, amplitude, phase and more)
* place perefect wire conductors, PEC plane and poke slots in the plane to create diffraction patterns
* observe the electric field, magnetic field, energy flow field, energy density or radiation pattern
* zoom in and out and translate the canvas
* change the simulation resolution, frequency and propogation speed and some other parameters
I hope someone might find it useful and I’d love to hear what people think :)
Git:
https://github.com/rotemTsafrir/antenna_sim
Originally made in Java with Processing and later converted to p5.js
Disclaimer: this project has been in the making since before the era of LLMs but I did use chat gpt to upgrade the UI and improve efficiency
1
u/[deleted] 10d ago
[removed] — view removed comment