An Electrostatics Game
COLLISION DETECTED
In classical electrostatics, two particles with the same charge sign repel each other according to Coulomb's Law. However, for finite-sized dielectric particles, the physics is far more complex.
When charged dielectric particles approach, they induce surface charges on one another (polarization). If there is an asymmetry in the system, such as one particle being more highly charged or smaller than the other, the dominant particle exerts a strong polarizing influence. This induces a region of opposite charge on its neighbor.
For like-charged particles, this geometry-dependent effect creates a short-range attractive force that can overcome the inherent Coulombic repulsion in some instances. In this game, getting too close to a positive wall with a high enough charge can trigger like-charge attraction, pulling your ship in right when you expect repulsion. Beware! If a cyan wall turns WHITE, the interaction regime changes: repulsion becomes attraction.
Copyright (C) 2026 Eric B. Lindgren. This game is licensed under the GNU General Public License v3.0 or later. It comes with ABSOLUTELY NO WARRANTY.
GNU General Public License v3 (full text)
The complete corresponding source code for this game is available at:
https://github.com/ericblindgren/dielectric-runner
This game uses external libraries and fonts provided under their own licenses. These components are not covered by the GNU General Public License applied to this game.