Math Wonders · WonderLab
Fun math: random jumps grow a Sierpiński triangle, the Koch snowflake's infinite perimeter, a fractal tree swaying in the wind, an ant, paint and scissors on a 3D Möbius strip, a golden-ratio game with an endlessly zooming spiral, the sunflower's golden angle—plus a live Lorenz attractor: two orbits that start just one hundred-millionth apart still separate exponentially (the butterfly effect).
Chapters
Sierpiński triangle
Play a game: start anywhere in a triangle and repeat—pick a random vertex, jump halfway towards it, and plot a dot.
Every step is random, yet after tens of thousands of dots an intricate, orderly pattern appears: the Sierpiński triangle. Each small piece looks exactly like the whole; this self-similarity is the mark of a fractal.
Koch snowflake
Start with an equilateral triangle. Split each side into thirds and grow a small equilateral triangle outwards on the middle third. Repeat on every new side.
The edge gets ever more crinkled: the perimeter has no limit, yet the area never exceeds a fixed value.
Fractal tree
A trunk sprouts two shorter branches, each of which sprouts two more… one rule grows a whole tree.
Trees, rivers, blood vessels and lightning all share this branching, ever-shrinking fractal structure.
Möbius strip
Give a long strip of paper a half-twist and glue the ends to get a Möbius strip (August Möbius, 1858).
It has one side and one edge. Drag to turn it, then let the ant walk, paint it, or cut it down the middle and see what happens.
Golden ratio
Split segment AB so that AG : AB = GB : AG. The ratio is about 0.618, the golden ratio; its reciprocal is φ = (1 + √5)/2 ≈ 1.618.
First find the golden point by eye, then see how it relates to the golden spiral and the Fibonacci numbers.
Sunflower seeds
On a sunflower head, each new seed is turned by a fixed angle from the previous one.
Which angle packs the seeds most tightly? Drag the slider: a fraction of a degree changes everything.
Butterfly effect
In 1963 the meteorologist Edward Lorenz boiled atmospheric convection down to three equations and let a computer step them forward. Once he re-entered an intermediate result with a few decimal places dropped, and before long the computed “weather” was completely different.
This is the butterfly effect: two orbits that start only ε apart drift away from each other, their distance Δ growing roughly like e0.9t. Making ε a thousand times smaller buys only a few more time units of predictability. Yet every orbit is drawn into the same “butterfly”—the Lorenz attractor.
Note: this chaos is not the same thing as the “chaos game” in Chapter 1. The chaos game rolls a die at every step and draws the Sierpiński triangle through randomness; the Lorenz equations contain no randomness at all. Every step is fully determined, and the unpredictability comes only from tiny differences in the starting point being amplified again and again.
Everything you see is computed live in your browser with the fourth-order Runge–Kutta method (σ = 10, β = 8/3, ρ = 28). There is no “rewind”: integrating these equations backwards also amplifies errors exponentially, and the numbers soon blow up.
More labs
- VoltLab Circuit Lab
- Earth Motion Lab
- Cell · 3D structure
- Periodic Table · PeriodicLab
- Water Cycle 3D Sandbox · WaterCycle
- Neural Networks Reading Digits · NeuroLab
- From Switches to CPU · LogicLab
- Shenzhou Launch & Return · RocketLab
- A Window, a Lamp · EyeLab
- We Were Here · ArtHistory
- Mendel's Pea Hybridization · PeaLab
- Humoral immunity · ImmuneLab
- The Cell's Energy Currency · ATPLab
- Solid Geometry · GeoSpace
- Contour 3D Lab
- Atmospheric Circulation Lab
- How Tides Form · TideLab
- Land and Sea Change
- Fluvial Landforms · RiverLab
- Geological Structures and Karst Sandbox · KarstLab
- Life of a Rock · RockLab
- Fly into the Eye · TyphoonLab
- Through the Earth · QuakeLab
- Microscope Bench · MicroLab
- The Structure of DNA · DNALab
- A Plant's Life · PlantLab
- The Stomach · StomachLab
- Cell Differentiation · StemLab
- Gene Expression · GeneLab
- Ecosystems · EcoLab
- Four Billion Years · DeepTime
- Preparing Gases in the Lab · GasLab
- Chemical Analysis Bench · AnalytLab
- Reaction Mechanisms · Molecular Animation
- Catalysts · CatalystLab
- Galvanic & Electrolytic Cells · ElectroLab
- Molecular Geometry · VSEPR
- Atomic Orbitals · Electron Cloud
- Chemical Reactions · The Micro World
- Conic Sections · ConicLab
- Function Graphs · FuncLab
- Compass & Straightedge · ConstructLab
- Pythagorean Theorem · PythagoLab
- Motion & Force · MotionLab
- Simple Machines · MachineLab
- Pressure & Buoyancy · FloatLab
- Thermodynamics · ThermoLab
- Heat & Changes of State · HeatLab
- Sound · SoundLab
- Optics Bench · OpticsLab
- Photoelectric Effect and Photons · PhotonLab
- Atomic Structure and Spectra · AtomLab
- Cloud Chamber & Nucleus · NucleusLab
- Oscillations & Waves · WaveLab
- Electric & Magnetic Fields · FieldLab
- Famous Battles Sand Table · WarTable
- Changing Territories · HistoryAtlas