Duffing Oscillator — Fractal Basins

The Duffing oscillator ẍ + δẋ − x + x³ = γcos(ωt) has two coexisting attractors. The boundaries between their basins of attraction are fractal — infinite detail at all scales reveals the hallmark of chaotic transients.

Click "Render Basins" to compute fractal basin boundary
ẍ + δẋ − x + x³ = γcos(ωt)  | attractors near x=±1