t = 0.00 s
x₁ = 0.000  v₁ = 0.000
driving phase ϕ = 0.00 rad

Driving

Oscillator

Trajectories

Adds a twin trajectory started 10⁻³ away in x. Watch the two traces separate — exponential divergence is the signature of chaos.

Playback

Driven Duffing oscillator:
Ẋ + δẉ + x + βx³ = γ·cos(ωt)
Integrated with RK4, dt = 0.01. Phase portrait: x (horizontal) vs ẉ (vertical).