
Loops of Chaos: Number Patterns in the Lorentz System
đ Where Numbers Hide in Chaos
In the world of chaos, numbers donât just tumble out randomlyâthey spiral, loop, diverge, and return with surprising rhythm. This series explores how classic chaotic systems like Lorentz, Rossler, and Rikitake produce not only beautiful paths in space, but also intricate number streams that hide within them.
In this first post, weâll dig into the Lorentz systemâarguably the most iconic of the chaotic attractors. Instead of focusing on visualizing its 3D trajectory, weâll inspect what its output looks like when viewed one number at a time.
đ A Quick Primer
The Lorentz system is governed by a set of three differential equations. Starting from a chosen point in 3D space (x0
, y0
, z0
), we step forward repeatedly using a numerical integration method. This gives us a stream of (x, y, z)
values over timeâeach one the result of deterministic equations, but seemingly unpredictable if you donât know the setup.
let x = 0.1, y = 0, z = 0;
const sigma = 10, rho = 28, beta = 8 / 3;
function step() {
const dx = sigma * (y - x);
const dy = x * (rho - z) - y;
const dz = x * y - beta * z;
x += dx * 0.01;
y += dy * 0.01;
z += dz * 0.01;
return { x, y, z };
}
Each call to step()
gives us a new point. Letâs connect these points in 3D and see what we get.
View Image

đ Plotting Chaos One Dimension at a Time
Letâs fix two axes for our plot:
- X-axis: A simple incrementing counterâjust the step number.
- Y-axis: The value of one dimension from the Lorentz output (
x
,y
, orz
).
We begin with the vertical component, z
. Hereâs what it looks like when plotted:
View Image

đ§Ž X, Then Y, Then Both
Next, letâs see the x
values.
View Image

Now we plot them togetherâx
and y
, step-by-step, using color to separate.
View Image

This comparison starts to reveal the interplay between variables. Theyâre deeply linked, but not in an obvious or linear way. These arenât just abstract curvesâtheyâre a numeric fingerprint of the chaotic motion of the Lorentz system through space.
This system is defined by these three coupled differential equations:
dx/dt = Ď(y - x)
dy/dt = x(Ď - z) - y
dz/dt = xy - βz
đ§Ş Parameter Tuning and Seed Tweaks
What happens if we:
- Change the step size?
- Alter the starting values?
- Use a slightly different version of the Lorentz equations?
Even small tweaks lead to completely different plots. This is the sensitivity at the heart of chaos theoryâa system where small changes have big effects, but still follow rules.
This gives us a powerful tool: controlled randomness. The sequences feel wild, but we can replicate them exactly when needed.
đ More Systems, More Shapes
In upcoming posts, weâll repeat this kind of analysis for other systems:
- Rossler: Smoother, spiral-like behavior
- Rikitake: Loopier, jumpier paths inspired by geomagnetic dynamics
Each system has its own rhythm, and each dimension tells its own story.
Weâll also explore how initial conditions, integration methods, and sampling strategies influence the number distributions we get.
đ Why This Matters
Why look at these numbers at all?
Because they can be:
- Seeds for generative art or procedural animation
- Inputs to systems where repeatable unpredictability is desired
- A window into how structure and randomness coexist in nature
This is about finding patterns where theyâre not expectedâand learning to listen when systems speak in numbers instead of pictures.
The numbers are all there. Letâs start watching how they move.
Stay tuned for part two, where we dive into Rosslerâs spiraling patterns and see how a different kind of chaos sings its song.
Let the numbers loop.