I want to create a simulation of a continuous electric field from a polygon, like a torus or cylinder- not a point. The only way I have thought to do this is to break up the shape into a series of points calculate the distance to the particle and apply a force. Is there a better way to do this? Thank you.