Calvin Z He

Physics Animations

Fun and educational physics animations


Projectile Motion

Click to Download: projectile_motion_interactive.py Requires: Python with numpy and matplotlib installed

This widget draws the 2D projectile motion trajectory (neglecting air friction) for an object near the surface of the Earth, with interactive sliders for setting the initial velocity and angle.



Simple Harmonic Oscillation

Click to Download: simple_harmonic_oscillation_interactive.py Requires: Python with numpy and matplotlib installed

This widget shows an animation of an undamped simple harmonic oscillator, along with its velocity, acceleration, potential and kinetic energies, with interactive sliders for setting the object's spring constant and mass. The animation may not play in real-time (frequency of oscillation of the animation may differ from the value derived from k and m).



Monte Carlo Simulation of Cyclotron Motion in Plasma

Click to Download: monte_carlo_cyclotron.py Requires: Python with numpy and matplotlib installed

This widget is a Monte Carlo simulation of a collection of independent (non-interacting) hypothetical charged particles with normally randomized initial conditions (position and velocity), masses, and magnetic field (which, other than the random fluctuations, is uniform).