Raytracing Metaballs
In our calculations, we will calculate the field strength as:
r^4 - r^2 + 0.25
This has several conveniences:
- It's slightly faster to compute
- It doesn't approach infinity as r approaches 0
- It drops to zero at r = sqrt(2), allowing us to create a bounding
sphere for each charge.