Skip to content

๐Ÿงฒ Particle in magnetic field

JavaScriptThree.js

๐ŸŽฏ Illustration of the force on a charged particle moving in a magnetic field

Fโ†’L=q(vโ†’ร—Bโ†’)\overrightarrow{F}_L = q(\overrightarrow{v} \times \overrightarrow{B})

๐ŸŽฏ Circular motion of a proton in a magnetic field
๐Ÿง  Inspired by this example by Letโ€™s code physics
๐Ÿ A VPython demo is available as well, see proton_in_magnetic_field.py

Source

๐ŸŽฏ Circular motion of a proton in a magnetic field
๐Ÿง  Based on Simple Physics Animations Using VPython by Zhiheng Jiang
๐Ÿ A VPython demo is available as well, see proton_helical_motion.py

Source