Here is a simple animation of an electromagnetic bell. The current turns the magnet on/off and thus the magnet is created and altered as the current flow changes…
Electromagnetic Bell
Permanent link to this article: https://animatedscience.co.uk/electromagnetic-bell