Magnetic Trap with Four Wires and Particle Motion
Video wird geladen…
Updated Animation Specification
1. Animation Description & Purpose
Create a concise 3‑D Manim animation (≈26 s) that visualises a magnetic trap formed by four infinite straight current‑carrying wires arranged at the corners of a square in the -plane. The animation should:
- Establish the coordinate system (, axes in the plane, pointing out of the screen).
- Show the four wires with their current directions.
- Illustrate the magnetic field generated by each wire (circular field lines) and the resulting net field in the plane.
- Introduce a positively charged particle released from the origin with an initial velocity along the positive -axis.
- Depict the particle’s trajectory only for the first 6 s of its motion in the -plane under the Lorentz force .
- Emphasise the physical concepts: Biot–Savart law, superposition of magnetic fields, and magnetic confinement.
2. Mathematical Elements & Formulas
- Magnetic field of a single infinite wire (Biot–Savart):
where is the perpendicular distance from the wire and is the azimuthal unit vector given by the right‑hand rule. - Superposition for the total field in the plane:
- Lorentz force on the particle (gravity ignored):
- Equation of motion (non‑relativistic):
The animation will display a pre‑computed trajectory limited to the first 6 s of motion.
3. Visual Elements
| Element | Representation | Color / Style |
|---|---|---|
| Coordinate axes | Three arrows: (right), (up), (out of screen) | : bright red, : bright green, : bright blue; semi‑transparent axis lines |
| Wires | Thin vertical cylinders intersecting the -plane at | Metallic gray; radius small relative to spacing |
| Current direction | Small arrow loops wrapped around each wire (right‑hand rule) | Same as wire color, arrowheads white |
| Magnetic field lines | Concentric circles around each wire, lying in the -plane, animated to rotate in the direction given by the right‑hand rule | Semi‑transparent cyan for wires with current +z, magenta for ‑z; line width 1.5 pt |
| Net magnetic field vectors | Short arrows placed on a grid (e.g., 0.5 a spacing) showing the vector sum | White arrows with orange tails, length proportional to magnitude (clamped) |
| Charged particle | Small solid sphere (radius 0.08 a) | Bright yellow |
| Particle velocity vector | Arrow attached to the sphere, pointing along instantaneous | Lime green, semi‑transparent tail |
| Trajectory trace | Fading curve following the particle’s path, stops after 6 s | Yellow‑orange gradient, fading after a few seconds |
| Optional labels (wire numbers) | Text "1", "2", "3", "4" near each wire | White text on a dark semi‑transparent rectangle background |
4. Animation Timing & Transitions (total ≈26 s)
| Time (s) | Action |
|---|---|
| 0.0 – 3.0 | Fade‑in the 3‑D coordinate axes. Camera starts with a top‑down view (looking down the direction) at a distance of ~6 a, then slowly tilts to a 30° elevation to reveal depth. |
| 3.0 – 6.0 | Appear the four wires at the square corners (). Simultaneously display current direction arrows around each wire (clockwise for current, counter‑clockwise for current). |
| 6.0 – 12.0 | Animate magnetic field circles for each wire: circles expand outward while rotating, giving the impression of a steady azimuthal field. Fade in a sparse grid of net‑field arrows that smoothly transition from the individual contributions. |
| 12.0 – 14.0 | Introduce the particle at the origin () with a brief “pop” effect. Show an initial velocity arrow pointing along the positive -axis. |
| 14.0 – 20.0 | Play the pre‑computed trajectory for 6 s: the particle moves, leaving a fading trace. The velocity arrow updates each frame; a brief instantaneous force arrow (perpendicular to and ) appears at the particle’s location to illustrate . |
| 20.0 – 23.0 | Pause the motion; zoom slightly to focus on a representative segment of the path. Overlay a semi‑transparent box containing the Lorentz‑force formula for a few seconds. |
| 23.0 – 26.0 | Fade out all auxiliary graphics, return to the static view of axes, wires, and net‑field arrows. End with a brief title overlay "Magnetic Trap & Charged‑Particle Motion" (text on opaque background). |
5. Camera Angles & Perspectives
- Initial view: Orthographic top‑down (looking down ).
- During field‑line animation: Slowly rotate around the -axis (≈15°) while maintaining a 30° elevation to give a 3‑D feel.
- Particle motion segment: Keep the same 30° elevation; optionally dolly in slightly (zoom) when the particle reaches the outer region of the square to keep it in view.
- Final pause: Slightly pull back to show the whole configuration.
6. Additional Details & Assumptions
- Choose a convenient numerical value for (e.g., units) to keep the scene well‑scaled.
- All currents have equal magnitude ; the sign (direction) is encoded by the rotation of the magnetic circles.
- The magnetic field magnitude is visualised proportionally; absolute scaling is not critical for the conceptual demonstration.
- The particle’s mass and charge are set to 1 (in arbitrary units) for simplicity; the trajectory is computed accordingly and truncated after 6 s.
- No textual labels are used except for the optional wire numbers and the final title; any text appears with an opaque dark background for readability.
- The entire animation fits within a single Manim
Sceneclass.
Erstellt von
Beschreibung
A 3‑D animation shows a square of four current‑carrying wires, their magnetic field circles, and the combined field vectors. A positively charged particle is released from the center with an initial upward velocity, and its trajectory for the first six seconds is traced while velocity and Lorentz force arrows update. The scene highlights the Biot‑Savart law, field superposition, and magnetic confinement.
Erstellt am
Mar 9, 2026, 02:35 AM
Dauer
0:40
Tags
Status:
Fork
Kopiere diese Animation in deinen Account, um sie zu bearbeiten und zu veröffentlichen. Anmeldung erforderlich.