Original Post
So I'm making a game involving electric and magnetic fields and I'm running into an issue. What is the best (and physically accurate) way to calculate and render the magnetic field lines resulting from a dipole? I need to be able to represent these mathematically because I plan on having arrows traveling along the lines so that direction and intensity can be inferred by the user. Something that is parametric would be great but I haven't been able to come across anything up to this point.
Thanks!
Thanks!

