Home▸Chaos & Dynamics▸Duffing Oscillator — Phase Portrait & Poincare Section (2D)

🌀 Duffing Oscillator — Phase Portrait & Poincare Section (2D)

2D Canvas companion to the Duffing oscillator: real RK4 integration of ẍ + δẋ + αx + βx³ = γcos(ωt) with a live phase-space plot and Poincaré section showing the transition from periodic motion to chaos.

Chaos & Dynamics2DAdvanced60 FPS📱 Mobile-adapted⇄ 3D version
2d-duffing-oscillator ↗ Open standalone
⚙ Under the hood

A 2D Canvas companion to the 3D Duffing oscillator: real RK4 integration of the driven nonlinear spring equation x'' + delta*x' + alpha*x + beta*x^3 = gamma*cos(omega*t), drawn as a live phase portrait and a stroboscopic Poincare section. Tune damping, stiffness and drive amplitude/frequency to watch the system slide from periodic motion into a chaotic strange attractor.

duffingchaos theorynonlinear dynamicsphase portraitpoincare section2D

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)