Home▸Electromagnetism▸Speaker Electromagnet

Speaker Electromagnet Simulator (2D)

Interactive 2D loudspeaker driver simulator: an audio-frequency current drives a voice coil in a magnetic gap, producing a Lorentz force F = BIL that moves the cone against spring and damping — find the resonance peak live.

Electromagnetism2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-3d-speaker-electromagnet ↗ Open standalone

This 2D simulator shows a loudspeaker driver in cross-section: an audio-frequency sine current runs through the voice coil sitting in the magnet's gap, and the resulting Lorentz force F = BIL pushes the coil and cone against the suspension's spring and damping. Adjust the drive frequency and current amplitude to see the cone's displacement trace grow and shrink, and sweep automatically to watch it peak sharply at the driver's natural resonance frequency — then tune the motor force factor Bl and the damping ratio ζ to see how driver design trades off output level against a flat, controlled response.

⚙ Under the hood

An audio-frequency current drives a voice coil in a magnetic gap; the resulting F = BIL Lorentz force moves the cone under spring-mass-damper dynamics, peaking sharply at resonance.

Voice CoilLorentz ForceResonance

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)