/ode_animation

Solving a damped pendulum ODE and animating results using matplotlib

Primary LanguagePython

Minimal ODE Euler solver + Matplotlib Animations

Requirements

  • Numpy
  • Matplotlib

Output

Top-right: Damped Pendulum
Top-left: Angle and angle velocity over time
Bottom: Phase plot with color-coded angle acceleration

Damped Pendulum