metaballs — marching squares

blobs of charge, contoured at every level. move your mouse. click to add.
the field is a sum of 1/r^falloff. marching squares walks each grid cell, reads the 4 corners against the threshold, and draws the isocontour. that's the whole trick.