Lorenz attractor — butterfly effect (3D)
About this app
The Lorenz equations integrated live as a glowing ribbon: two paths with an initial offset down to 10⁻⁹ drift apart and yet stay on the same double loop. ρ below 24.74 lets the path fall into a fixed point; distance and behaviour are shown. Exhibit-ready.
The Lorenz equations
In 1963 Edward Lorenz studied a heavily simplified model of atmospheric convection made of three equations: ẋ = σ(y − x), ẏ = x(ρ − z) − y, ż = xy − βz. With the classical values σ = 10, ρ = 28 and β = 8/3 the solutions never settle and never repeat, yet they stay on a butterfly-shaped double loop, the Lorenz attractor. Two paths that start almost identically end up at completely different places on this loop after a short time. This is deterministic chaos and the origin of the term butterfly effect.
What the app shows
The app integrates the equations live and draws two paths as glowing ribbons in 3D. The initial offset between them can be set to 10⁻², 10⁻⁴, 10⁻⁶ or 10⁻⁹. It shows the current distance, the time since the start and the system’s behaviour. The parameters ρ, σ and β are available as sliders, and a button restores Lorenz’s 1963 values. The app is also built to appear as an exhibit in the 3D exhibition space “Wissen als Raum”.
Things to try
Start both paths with the smallest offset of 10⁻⁹ and watch how long they stay together before splitting. Then lower ρ: with the classical σ = 10 and β = 8/3, below about ρ ≈ 24.74 the path settles into one of the two fixed points, and below ρ = 1 it comes to rest at the origin. Adjust trail length and speed to see the shape of the attractor more clearly.
Frequently asked questions
- What is the Lorenz attractor?
- The Lorenz attractor is the solution set of the Lorenz equations for σ = 10, ρ = 28 and β = 8/3. It looks like a double loop, similar to a pair of butterfly wings, and the trajectory switches irregularly between the two wings. It is one of the best-known examples of a strange attractor.
- How is the Lorenz attractor related to the butterfly effect?
- Lorenz noticed that tiny rounding differences in the starting values of his weather model led to completely different results after a short time. This gave rise to the image of a butterfly’s wing beat changing the weather elsewhere. The Lorenz attractor shows it directly: two almost identical paths separate exponentially.
- What do the parameters σ, ρ and β mean?
- σ is the ratio of viscosity to thermal diffusivity (the Prandtl number), ρ is proportional to the Rayleigh number and sets how strongly convection is driven, and β relates to the geometry of the convection cell. For small ρ the system is calm. With σ = 10 and β = 8/3 the two fixed points lose their stability at about ρ ≈ 24.74, and above that the motion stays chaotic.
- What can I try in this app?
- You run two paths with an adjustable initial offset from 10⁻² to 10⁻⁹ and see when they split. You change ρ, σ and β live and see whether the system comes to rest or stays chaotic.
Subject: Chaos & Dynamics
More from Chaos & Dynamics
A VisuApp by heyprof: interactive, free in your browser, no sign-up. What is a VisuApp? · All apps