Wednesday, October 22, 2014

ChargeLab 1.00 - Simulating Electric Fields

I think I'm finally done with ChargeLab. I made a few fixes and I'm pretty happy with the final result. The new features are:

  1. The number of field lines coming out of charges are now proportional (roughly) to their charge
  2. Fixed the bug where potential was zero at the center of charges. Now it's zero at infinity.
  3. Fixed a bug with termination of field lines. This should speed up field line calculation as well as help prevent field lines from terminating in empty space.

The Field Line Density is higher where the Field Strength is higher.
You can download the latest version here.

Source code available here.