Home▸Electromagnetism▸Force Field Simulation

🧪 Force Field Simulation

Interactive 3D force-field simulator: a generator projects a spherical energy shield that repels incoming projectiles with an inverse-square field, draining a finite energy reserve on every impact. Switch between Deflect (defense) and Contain (containment) modes and watch the shield fail when its energy runs out.

Electromagnetism2DModerate60 FPS📱 Mobile-adapted
future-technology-force-field-simulation ↗ Open standalone

This simulation models a force-field generator projecting a spherical energy shield around itself, exactly the kind of defensive or containment field described in speculative engineering: a repulsive field whose strength follows an inverse-square law pushes matter away from (or holds it inside) a protected volume. Every impact costs stored field energy, which recharges over time — so the shield can be overwhelmed if projectiles arrive faster than it can recover, and once its energy reserve is exhausted the field visibly flickers and fails, letting projectiles straight through. Toggle between Deflect mode, where the field repels incoming projectiles for defense, and Contain mode, where the same inverse-square force is reversed to hold particles inside a containment volume, and tune field strength, radius and recharge rate to find the balance between a shield that holds and one that collapses under sustained impact.

⚙ Under the hood

This simulation demonstrates the creation and manipulation of force fields. It explores concepts related to electromagnetism and how these forces can be used for containment, propulsion, or defense, relevant to engineering.

Force Fields

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

What did you find?

Add reproduction steps (optional)