Skip to the page
Explorable Illusions

See for yourself — then run it 100,000 times.

Proof First: How Pages Here Are Checked

Explorable Illusions · Updated

Each page on Explorable Illusions makes three kinds of claim: what a figure contains, what a number is, and what happened in history. Each kind has its own check, and every check runs before a page goes up. This page lists them so that any of them can be repeated.

Exact answers come first

In probability and puzzle entries, the conclusion rests on an exact calculation or a proof. Theoretical values are recomputed by the page's own program, as fractions where possible. A simulation is supporting evidence: it shows the exact answer holding up and never stands in for it, so pages say a run is "consistent with" the exact value.

Changing a rule changes the answer. When a page varies the setup, for example a game-show host who opens a door at random instead of on purpose, the probability is worked out again for the new rules and not carried over from the old ones.

How simulations are run

  • The number of runs follows from the precision needed. To estimate a probability p to within an absolute error e at 99% confidence, a simulation needs at least (2.58/e)² × p(1 − p) trials. The familiar 100,000 is a display default, not a guarantee.
  • Rare events need more. If fewer than 10 hits are expected, the run count goes up until at least 10 are, or the simulation is not shown.
  • A run is accepted only if the exact value falls inside its 99% interval: a normal-approximation interval when the expected hits and misses are both at least 10, and an exact binomial (Clopper–Pearson) interval otherwise. A miss holds the page back until the program is fixed.
  • Every run uses a fixed random seed. The CSV file beside the page records the number of runs, the seed and the program version, so the same numbers come out every time.
  • Simulated figures always carry their run count, as in 66.7% over 100,000 rounds. Exact values are marked exact.

Simulations rebuild models that have published results to compare against: cellular automata, flocking rules, a chaotic pendulum, traffic on a road network. A model with nothing published to compare against is not simulated here, because a program with a bug can produce behavior that looks perfectly plausible.

Puzzles and geometry

Every puzzle answer is checked by a program or a proof before the page goes up: areas, angles and slopes by computation, solvability by exhaustive search or an invariant. When a puzzle looks solvable but is not, such as the 15 puzzle with tiles 14 and 15 swapped, the page shows the number that blocks it, in that case a parity count.

Geometric illusions come with a coordinate table. If a page says two circles are the same size or two lines are parallel, the coordinates in the figure file show it, and the table can be downloaded.

Fractals

Fractal claims fall into three groups, and each is reported differently.

  • Ideal fractals with a known dimension: the dimension is re-estimated by box counting and compared with the exact value, together with the range of scales used and the fitting error.
  • Quantities with no known exact value, such as the area of the Mandelbrot set: the page gives the estimate under stated settings (grid spacing and iteration limit), cites published estimates, and does not present the number as the true value.
  • Natural shapes such as river networks or leaf veins: an estimate over a stated range of scales, with its data source, and no assumption that an exact dimension exists.

Honest pixels

Brightness and color illusions often rest on one claim: two patches that look different are in fact the same. That claim is checked in the figure file itself, under the name honest pixels.

  • These figures are delivered as SVG, with every fill written as a fixed hex value. No filters, masks, blending or gradients change a color on screen.
  • Only the inside of each patch is compared. Edges are smoothed on screen and can show in-between values, so edge pixels are not part of the claim.
  • The claim is equality, never an absolute gray level. Wide-gamut displays convert colors, and browser extensions that force a dark theme change both the effect and the pixel values.
  • The SVG is plain text, so a text editor or the browser's inspector shows the fill values, and a table of the compared fills comes with the figure.

Small preview images on the home and section pages are converted to a compressed format, so they carry no pixel claim.

How figures are drawn

Every illusion figure, diagram and chart is drawn by program from the principle or definition behind it, with geometry, sizes and colors set for this site. Figures are not traced, recolored or rebuilt from another person's drawing. Where the historical original matters, the original page is shown with its credit, or the shape is redrawn from the principle and the caption says so.

The experiment canvas, the rectangle that holds an illusion, keeps the brightness, contrast and colors of the original study rather than the site palette, inside a neutral gray border. Dark mode does not invert or filter it. On a narrow screen a figure keeps the width its finest line needs and scrolls sideways instead of shrinking.

Motion, flashing and staring

  • Every animation starts paused on its first frame and moves only after you press play. It can be paused at any time (WCAG 2.2.2, Pause, Stop, Hide).
  • No area flashes more than three times per second (WCAG 2.3.1, Three Flashes or Below Threshold). The Game of Life plays at two generations a second by default and never faster than three; the speed control stops at three.
  • A one-line note for photosensitive readers sits beside each play button.
  • With reduced motion turned on in your system settings, or with JavaScript off, a page shows a still SVG and a table of results instead of the animation.
  • Afterimage experiments ask for no more than 30 seconds of steady looking, and only at a figure on the screen. No page uses the sun, a laser or a bright lamp as a stimulus.

Where facts come from

Every first-recorded date and name, every formula, every "a study found" sentence, every explanation of an illusion and every piece of history is tied to a source listed on the page.

  • The order of preference is the original paper or book in a version that can be read, then open-access follow-up studies, then explanation pages by the researchers themselves, then textbooks. General encyclopedias serve only to find leads and are never cited.
  • When sources of the same rank disagree, both are given.
  • Some originals could be seen only as a catalog record. Those appear as references only: the page does not quote them, and they never carry a headline, a short answer or a summary.
  • Where an original could not be consulted, the page says so and cites what was read instead.
  • Quotations from works still under copyright are kept to a sentence, with a page number.
  • Statements that can go out of date carry a year or an "as of".

Data tables list one claim per row, with its source or its settings in the same row. Text cells are written so that a spreadsheet will not run them as formulas.

Historical images and old pages

Historical engravings, book and journal pages and photographs are checked one image at a time. The license is read on each file's own page; a museum's or library's general policy is treated as a lead, not as proof. Public domain is stated with its basis, such as the creator's death year and the year of publication, and the terms of the scan itself are checked as well. Licenses that forbid commercial use or adaptation are not used. Pages from old books and journals appear only on entries about that document, with the source page and page number in the credit.

Illustrations

A few pages carry an illustration of a scene or an object. It is labeled Illustration and is not a photograph, a historical record or a test stimulus. Illustrations never show an illusion, a measurement or anything whose proportions matter; those are always drawn by program.

What these pages do not do

  • No vision test and no medical reading. If a figure does not work for you, that says nothing about your eyes.
  • No advice on betting, gambling or money. Expected value is explained, never recommended.
  • No suggestion to watch an illusion from behind the wheel or on a bike.
  • No single explanation presented as settled while the literature still has rivals.

Errors found after publication are dated on the corrections page. Counterexamples and better sources are welcome through the contact page.