Asli: My weather app said sunny for Saturday. Today it says storm! Can't they get it right?
Emre: Not really their fault. It's chaos.
Emre: Weather follows exact rules, but a tiny mistake in today's numbers keeps doubling every day or two.
Asli: How tiny?
Emre: Butterfly-wing tiny! A scientist, Edward Lorenz, found it in 1961. He rounded one number, went for coffee, and came back to a totally different forecast.
Emre: The app below lets you be Lorenz. Run two forecasts that start almost the same and see when they split.
Asli: Challenge accepted. Scroll down!

Lorenz's desk, MIT, 1961

It's 1961. You are Edward Lorenz, a weather scientist at MIT. Your computer forecasts the weather with a simple math recipe. You restart it with a number you copied from the printout, but you rounded it a tiny bit. You go for coffee. When you come back, the forecast is completely different. Try it yourself.

What is this?

A mini weather model that runs two forecasts side by side. They start from almost the same number. The only difference is a tiny rounding, smaller than a thermometer's error. You will see that this tiny difference is enough to give two completely different "weathers" later. This is the butterfly effect.

How to play

  1. Leave the two starting numbers as they are, or type your own.
  2. Press Round it like Lorenz or Butterfly flap to make the second number slightly different.
  3. Move the coffee break slider: a longer break means a longer forecast.
  4. Watch the blue and red lines: when do they stop agreeing?

Lorenz discovered chaos during a coffee break: while he was away, the computer kept forecasting. Longer break = the model looks further into the future.

Tip: turn the heating down below 24.74. The air becomes calm and the two forecasts agree again. Chaos needs enough energy.

Tiny starting difference–
Forecast stays good until–
How fast mistakes grow (λ)–
The mistake got bigger by–

Two forecasts from almost the same start

Forecast 1 (computer's number)Forecast 2 (your number)The two forecasts disagree from here

How big is the mistake?

Each line on the left is 100× bigger than the one below. The mistake does not grow slowly; it keeps doubling, like a snowball.

The butterfly shape

The model's weather jumps between two "wings" and never repeats. Weather = which wing you are on today (hard to predict). Climate = the shape of the wings (predictable).

Key ideas in one minute

Chaos

A system that follows exact rules but is still impossible to predict far ahead. No dice, no luck, just very sensitive math.

Initial conditions

The starting numbers of a forecast: today's temperature, wind, pressure. We can never measure them perfectly.

Butterfly effect

A tiny change at the start, like a butterfly flapping its wings, can lead to a big change later, like a storm or no storm.

Noise and error

Every measurement has small random mistakes (noise). In a chaotic system these mistakes do not stay small. They grow.

Lyapunov exponent λ

A score for how fast mistakes grow. Bigger λ means the forecast goes bad sooner. If λ is below zero, mistakes shrink and the system is calm.

Ensemble forecast

Instead of one forecast, weather centres run 50 slightly different ones. If most say rain, your app shows a high chance of rain.

Why should I care?

This is why weather forecasts are good for about a week and useless after about two weeks, even with supercomputers and AI. Better thermometers help only a little.

But climate is predictable

We cannot say if it will rain on 3 May 2050. We can say Istanbul summers will be hotter on average. That is the shape of the wings, not the exact path.

Want the full story?

Read the report and the Python code: github.com/cyamanlar/chaos-theory.

For the curious: the math behind it

The model is the Lorenz (1963) system: dx/dt = 10(y − x), dy/dt = x(ρ − z) − y, dz/dt = xy − (8/3)z. x is how fast the air turns over, y and z describe temperature differences. Both forecasts start at (number, 1, 1) and are solved step by step (RK4, dt = 0.005). One coffee minute = one model time unit. The mistake grows roughly like δ₀·e^(λt).