Loading the engineShared by all simulations, so the next one opens instantly.
The physics

Alastair Rucklidge derived this system in 1992, in a study of chaos in models of double convection, in which convection driven by heating is also shaped by a second effect such as a dissolved solute or a magnetic field. Its second equation, y˙=x, makes it easy to read: x is just the velocity of y, and the system is a damped particle y whose restoring force is set by a slow third variable z, which in turn grows with y2.

What you see

The trajectory starts at (1,0,4.5) and is projected onto the x-y plane, which here is the phase portrait of y with its velocity x on the horizontal axis. Its color shows z, scaled to the range the trail covers, the white dot is the current state, and the current z is printed in the corner. The view follows the trajectory with the same scale on both axes: it widens at once when the orbit reaches its edge and narrows slowly when the orbit occupies less. Integration uses fourth-order Runge-Kutta by default, each step of dt=0.01 split into four substeps, with eight steps per frame.

Canonical (κ=2, λ=6.7): the standard chaotic parameters. The orbit swings around one of two lobes, positive or negative y, and jumps to the other at irregular times.

Strong coupling (λ=9): still chaotic, with a larger attractor and faster divergence of nearby orbits.

High damping (κ=3.5): the damping wins. The orbit spirals into the fixed point at y=λ≈2.59, z=λ=6.7 and stays there.

Near-periodic (κ=1, λ=5): the orbit settles on a periodic loop. The loop is not symmetric under (x,y)→(−x,−y), so its mirror image is a second periodic orbit.

Governing equation

x˙=−κx+λy−yz,y˙=x,z˙=−z+y2.

Eliminating x gives y¨+κy˙+(z−λ)y=0 together with z˙=y2−z. While z<λ the origin is unstable and y is pushed away from it; as y2 grows, z rises above λ, the force turns restoring, and y swings back. The fixed points are the origin and (0,±λ,λ). The system is unchanged by (x,y,z)→(−x,−y,z), which is why the two lobes match, and its divergence is −κ−1 everywhere.

Parameters

κ (damping): 0.5 to 4, default 2. Damping of x, the velocity of y.

λ (coupling): 3 to 12, default 6.7. The destabilizing linear push on y, and the level z has to reach before the force turns restoring.

Time step dt: 0.002 to 0.025, default 0.01.