Magnetic Compass & Field Sources
Compass needle aligns with total B · Left-click: place source · Right-click: remove · Drag: move
Wire: B=µ₀I/2πr | Loop: B=µ₀NIR²/2(R²+d²)^(3/2) | Solenoid: B≈µ₀nI/2·R²/(R²+d²)
B_earth:
20.0 µT
@
0.0°N
B_total:
—
Needle:
0.0° (N)
Sources:
0
x: 0.0 cm y: 0.0 cm
Earth's Field
Magnitude
20.0 µT
Direction (° from North)
0°
Add Field Source
⊙ Wire
◎ Loop
▭ Solenoid
Current I (A)
5.0
Direction
⊙ Out of page
⊗ Into page
Current I (A)
5.0
Turns N
10
Radius R (cm)
5.0
Current direction
→ Toward compass
← Away from compass
Current I (A)
5.0
Turns N (total)
100
Radius R (cm)
3.0
Length L (cm)
20
Current direction
→ Toward compass
← Away from compass
⊕ Click canvas to place
Clear All Sources
Display
Show B contribution arrows
Show Earth B arrow
Show field grid
Animate needle smoothly
Sources & B at Compass
No sources placed yet. Earth's horizontal B field points North by default. Place a source on the canvas to deflect the needle.