Topic Headquarters

Interactive Mathematics and Visual Models

Learn by manipulating systems: sample probability, colour complex functions, build perceptrons, compare neuron models, and bend rays through simulated spacetime.

23 resources Updated

Mathematics is often presented after the interesting part has been removed. The diagram is fixed, the parameter has already been chosen, and the polished formula conceals the failed guesses that gave it meaning. An interactive model reverses that order. Change the amplitude and watch a wave grow. Add samples and see an estimate wobble toward π. Move through a complex plane until zeros, poles, and branch cuts acquire visible structure. Send the same stimulus through five neuron models and ask what each simplification kept.

Manipulation does not eliminate the need for definitions or proof. It gives intuition something to push against. Monte Carlo methods make statistical error visible. Domain colouring assigns hue and contour to information an ordinary graph cannot hold. The perceptron notebooks show why a straight boundary solves some patterns and fails at XOR. The Spacetime Laboratory turns one field equation into several geometries while stating clearly where a shader is demonstrating rather than calculating full general relativity.

The routes progress from familiar shapes and plain-language statistics toward linear algebra, complex functions, neural dynamics, and spacetime. They also cross into artificial life and generative systems, where simple local rules produce histories no author scripted frame by frame. Treat each laboratory as an argument with controls. Ask what is fixed, what can vary, what numerical method is hiding underneath, and which conclusion the picture does not justify. Understanding begins not when the animation moves, but when you can predict how it ought to move and become productively surprised.

Best place to start

One useful first door

Start here because a visible stream of sampled points turns probability, error, convergence, and the cost of precision into things you can watch and change.

Visualization Visualizations
The Casino That Calculates: An Interactive Monte Carlo Laboratory

A shader-powered laboratory for watching sampled points estimate π, reveal statistical error, and demonstrate how Monte Carlo methods converge.

12 min read
A mathematical square and inscribed circle filled with classified Monte Carlo samples beside a restrained convergence curve

Three reading paths

These are ordered editorial journeys, not automatic difficulty labels. Follow one route or move between them as your questions change.

Begin here

Beginner path

Build intuition from familiar symmetry and sample variance, then make a sine wave respond to live controls.

  1. Article Mathematics
    Symmetry in a Calcutta Room

    A plain, witty essay on symmetry, from mirrors and wallpaper to particles, mathematics, and the strange human need to know what remains unchanged when everything else gets shoved around.

  2. Article Statistics
    Bessel Correction Without the Mathematical Chilli Powder

    A plain-English explanation of why sample variance divides by one less than the number of observations, written for someone who would rather cross Esplanade in peak traffic than stare at formulas.

  3. Visualization Visualizations
    Hello, Observable: Your First Living D3 Visualization

    Build a responsive, animated sine-wave explorer from first principles while learning Observable cells, D3 selections, SVG marks, scales, data joins, interaction, and browser-safe embedding.

    22 min read

Build context

Intermediate path

Move from visual intuition into complex functions, linear transformations, and probability applied to rare events.

  1. Visualization Visualizations
    Every Complex Number Has a Colour: An Interactive Domain-Colouring Explorer

    Explore zeros, poles, winding, periodicity, and branch cuts by turning the magnitude and phase of complex functions into a navigable field of colour and contours.

    10 min read
  2. Article Mathematics
    The Four Fundamental Subspaces of Linear Algebra

    A lucid, technically careful explanation of the four fundamental subspaces in linear algebra: column space, nullspace, row space, and left nullspace. The post treats a matrix not as a grid of numbers but as a machine for moving, losing, and exposing information.

  3. Article Healthcare IT
    Poisson Distribution: Counting Rare Trouble

    A practical guide to the Poisson distribution in hospital operations, EHR analytics, patient safety, interface monitoring, and epidemiology.

    Updated

Go further

Deep-reading path

Build small neural models from scratch, compare what five neuron equations preserve, and explore the geometry of relativistic spacetime.

  1. Notebook mojoLLM
    A Perceptron from Scratch in Mojo

    A Python-style Mojo notebook that builds, trains, and tests a single perceptron step by step without a machine-learning library.

    8 min read
  2. Notebook mojoLLM
    XOR from Scratch in Mojo with Multiple Perceptrons

    A step-by-step Mojo notebook showing why one perceptron cannot learn XOR and how three trained perceptrons solve it as a tiny two-layer network.

    10 min read
  3. Visualization Visualizations
    The Neuron Zoo

    Send one stimulus through five neuron models, from McCulloch–Pitts to Hodgkin–Huxley, and see what every simplification preserves or leaves behind.

    24 min read
  4. Visualization Visualizations
    Spacetime Laboratory

    An interactive shader laboratory for exploring black holes, gravitational lensing, cosmic expansion, gravitational waves, and Einstein’s field equation.

    Updated 32 min read

Suvro’s contrarian view

Interaction is not automatically understanding

Sliders and animated colour can make a page feel explanatory before it has explained anything. A useful interactive does more than respond: it exposes a relationship, keeps units and assumptions visible, provides a control case, and admits what the picture cannot establish. Manipulation matters because it lets a reader test intuition, not because movement is educational by itself. The best laboratory should occasionally make the model less magical by revealing its numerical seams, blind spots, and deliberate simplifications for careful readers.

Glossary

A small working vocabulary for this subject, defined for the way it appears across this site.

Mathematical model
A deliberately simplified structure that represents selected relationships in a system so they can be reasoned about, calculated, or simulated.
Parameter
A value that controls a model or visualization; changing it lets you inspect how sensitive the result is to an assumption.
Monte Carlo method
A computational method that uses repeated samples to estimate a quantity or explore uncertainty when exhaustive calculation is impractical.
Convergence
The tendency of an estimate, sequence, or numerical method to approach a stable target as information or computation increases.
Complex function
A rule whose input and output can each contain real and imaginary components, requiring more than an ordinary two-axis graph to display fully.
Domain colouring
A visual method that maps the angle of a complex output to hue and its magnitude to brightness, contours, or other repeated structure.
Vector space
A collection of objects that can be added and scaled while obeying consistent rules, providing the setting for much of linear algebra.
Perceptron
A simple threshold-based learning unit that combines weighted inputs and can separate patterns divided by a straight decision boundary.
Numerical method
A computational procedure for approximating a mathematical result when an exact symbolic solution is unavailable or inconvenient.
Scientific visualization
A visual representation designed to expose structure in scientific data or models while making its assumptions and simplifications inspectable.

Frequently asked questions

Do I need advanced mathematics before using the laboratories?

No. The controls and explanations are designed to provide a visible doorway into the ideas. Some deep readings contain equations, but you can learn from changing a parameter and observing a pattern before following every derivation.

Why is Monte Carlo a good place to start?

The experiment connects a simple geometric picture with probability and error. It also reveals an important lesson early: more computation improves an estimate, but precision can become expensive surprisingly quickly.

Does a visualization prove the mathematics?

No. A visualization can reveal patterns, challenge intuition, and suggest questions, but it is produced by code, numerical choices, and finite resolution. Proof and empirical exploration answer different kinds of questions.

Why include neural models in a mathematics topic?

Each neuron model is a mathematical decision about what to preserve and what to omit. Comparing their responses makes abstraction, differential equations, thresholds, and numerical simulation visible rather than treating a neural model as a biological photograph.

Are the Mojo notebooks interactive in the same way as the visual laboratories?

They are first-class rendered notebooks rather than live canvas simulations. Their interactivity is intellectual and procedural: readers can follow the cells, inspect the source, and reproduce the steps in a suitable notebook environment.

Why does the all-material section include generative art and artificial life?

Both are computational systems whose visible behaviour emerges from local rules, parameters, numerical updates, and feedback. They are useful at the boundary where mathematics becomes something a reader can perturb and watch.

Recently updated material

Automatically ordered by each resource’s declared update date, with publication date used only when no update is recorded.

Browse all material

The complete published collection currently assigned to this headquarters: 23 resources.