Home▸Articles▸Magnetism

Magnetic Garden: Exploring the Forces of Magnetism

Discover how magnetic fields interact with conductive materials and understand the fundamental principles behind attraction and repulsion.

mysimulator teamUpdated June 2026≈ 3 min read▶ Open the simulation

What is Magnetism?

Magnetism is a phenomenon arising from the motion of electric charges. It involves the interaction between magnetic fields and conductive materials, leading to attractive or repulsive forces. These interactions are governed by the Lorentz force law, which describes how charged particles move in electromagnetic fields.

The fundamental unit of magnetism is the magnetic dipole moment, often associated with small magnets like those found in refrigerator notes. However, it can also be attributed to larger structures such as atoms and molecules.

How Magnetism Works

Magnetic fields are created by moving electric charges or currents. According to the Biot-Savart law, these fields can be calculated based on the current's direction and magnitude. When a conductive material is placed in a magnetic field, it experiences forces that can cause motion or rotation.

The interaction between two magnets follows the principle of like poles repelling each other and opposite poles attracting. This behavior can be observed in the simulation as you manipulate different objects within the 3D environment.

live demo · related simulation● LIVE

Why Magnetism Matters

Understanding magnetism is crucial for various technological applications, including motors, generators, and magnetic storage devices like hard drives. It also plays a vital role in medical imaging techniques such as MRI (Magnetic Resonance Imaging).

Moreover, the principles of magnetism are essential in understanding Earth's geomagnetism, which helps navigate using compasses and influences various natural phenomena.

Real-World Applications

The knowledge of magnetism is applied in numerous fields. For instance, electric motors convert electrical energy into mechanical work by utilizing the interaction between magnetic fields and current-carrying conductors.

In another application, magnetic levitation (maglev) trains use strong magnetic fields to lift and propel the train above the track, reducing friction and increasing efficiency.

Frequently asked questions

What is a magnetic field?

A magnetic field is a vector field that describes the magnetic influence on moving electric charges, electric currents, and magnetized materials. It is represented by lines of force that point from the north to the south pole of a magnet.

How do magnets work together?

Magnets interact through their magnetic fields. Like poles (north-north or south-south) repel each other, while opposite poles (north-south) attract each other. This interaction can be seen in the simulation as you move and rotate different objects.

Can any material become magnetized?

Not all materials are magnetic. Ferromagnetic materials like iron, nickel, and cobalt can be easily magnetized due to their atomic structure, which allows for the alignment of magnetic moments in response to an external magnetic field.

What is the difference between a permanent magnet and an electromagnet?

A permanent magnet maintains its magnetic properties without requiring an external current. In contrast, an electromagnet's magnetic field is generated by passing an electric current through a coil of wire, which can be turned on or off as needed.

Try it live

Everything above runs in your browser — open Magnetic Garden and change the parameters while it is running. Nothing is installed, nothing is uploaded, the whole model lives in one tab.

▶ Open Magnetic Garden simulation

What did you find?

Add reproduction steps (optional)