physics oopsie: coulomb's law is 1/r^2 not 1/r
This commit is contained in:
parent
2a29ee0c51
commit
5e04ad107f
2 changed files with 12 additions and 6 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue