Magnetic field of a coil

 

Animation: