New Category: Electromagnetism Simulations

Eight new simulations just launched in the Electromagnetism category — from Coulomb's law electric fields and Biot-Savart magnetic streamlines, through Faraday's law flux induction, all the way to Yee FDTD EM wave propagation and antenna radiation patterns. All physical models are real; all code runs in your browser.

Electromagnetism is the theoretical foundation of all of modern technology — from the electric motor to WiFi. These simulations let you interact with Maxwell's equations directly, adjusting sources and watching fields respond in real time.

⚡ Browse the Electromagnetism Category →

What's New

Electric Field Place positive and negative charges and watch field lines and equipotential surfaces update in real time. Coulomb superposition with gradient-descent equipotential tracing. Coulomb superposition · gradient descent · equipotentials 🧲 Magnetic Field Configure arbitrary current loops and solenoids. Biot-Savart law integration builds the vector field; RK4 streamlines trace field lines from any seed point. Biot-Savart · RK4 streamlines · solenoid superposition 🌀 Faraday's Law Move a conducting coil through a time-varying magnetic field. Watch EMF induced via Faraday's flux law — ε = −dΦ/dt — and Lenz's law opposition play out. Flux differentiation · Lenz's law · motional EMF 🔌 RLC Circuit Series and parallel RLC driven by AC. Phasor diagrams, impedance triangles, resonance curves, and Q-factor analysis all update as you change component values. Phasor analysis · impedance · Q-factor resonance 📡 EM Waves (FDTD) Yee-grid finite-difference time-domain simulation of electromagnetic wave propagation. Mur absorbing boundary conditions prevent reflections at the domain edge. Yee FDTD · Mur ABC · CFL stability condition 📻 Antenna Radiation Pattern Hertzian dipole and phased array patterns in 3D. Vary element spacing and phase shift to steer the beam or create nulls. Hertzian dipole · array factor · beam steering 🎙️ AM/FM Modulation Modulate and demodulate audio signals. Compare amplitude and frequency modulation in time and frequency domains with a live FFT spectrum. Hilbert transform · FFT · IQ demodulation 📊 Digital Filter Designer Design FIR and IIR filters and visualise their z-plane pole-zero plots, magnitude response, and phase response. Apply to live signals. z-transform · bilinear Tustin · window functions

Each simulation is built on real physics

Every algorithm used in these simulations appeared in published research or textbooks first. The FDTD simulation uses Kane Yee's 1966 formulation and Dennis Sullivan's grid implementation. The antenna patterns use the same array factor mathematics taught in antenna engineering courses. The RLC circuit solves the same differential equation your signal-processing textbook derives.

This is by design. Simulations that simplify the physics to the point of inaccuracy build intuition for the wrong model. These simulations are deliberately faithful to the physics — which sometimes makes them harder, but always makes them more valuable.