Coulomb’s Law
Two charges exert a force proportional to the product of the charges and inversely proportional to the square of the distance.
Textbook model
F = k q₁q₂ ÷ r² k = 1 ÷ (4πε₀)
point charges with an inverse-square force.
Simplified game model
F = k q₁q₂ ÷ (r² + ε²) (never infinite when too close)
near zero distance the force would become infinite and break the simulation, so a small ε² is added to the denominator (softening) to cap it.
The textbook model is also an idealization with simplified conditions; real phenomena have more factors.
Simulator
Like charges repel; opposite charges attract.
k is about 8.988 × 10⁹ N·m²/C², from the vacuum permittivity ε₀ = 8.8541878188 × 10⁻¹² F/m (CODATA 2022).
How games use it
Magnet and charge puzzles, particles gathering and scattering.
More laws in this category
Sources
Checked: 2026-11-29