physics oopsie: coulomb's law is 1/r^2 not 1/r

This commit is contained in:
root 2025-04-27 07:57:42 +00:00
parent 2a29ee0c51
commit 5e04ad107f
2 changed files with 12 additions and 6 deletions

View file

@ -70,7 +70,7 @@ function draw() {
camera.centerZ = 0;
make_lights();
if (physics) move_charges(charges);
if (physics) move_charges(charges, 8e-4);
draw_charges(sphere_radius);
if (skeleton) draw_skeleton(sphere_radius);