Free · in your browser

Maths you can touch.

Each toy is one big idea in maths you can draw on, drag and play with. Scroll down any page and it explains itself, step by step, with a few fun facts along the way.

Circles riding on circles, drawing a heart. That's a Fourier series.

Concepts

Open one, play with it, then scroll.

Linear algebra for AI

Five pages, in order: the matrix maths every neural network is made of. From an arrow of numbers to taking any matrix apart.

Coming next

Why “Lilavati”

In 1150 the Indian mathematician Bhāskara II wrote a book of arithmetic and geometry and named it Līlāvatī, “the playful one”. Instead of dry rules it is full of puzzles about bees, peacocks, monkeys and bamboo, often addressed to a girl: “O lovely one with eyes like a fawn, tell me…”

A story first written down centuries later, in the Persian translation made for Emperor Akbar's court in 1587, says Līlāvatī was Bhāskara's daughter. The stars, he found, allowed her only one lucky moment to marry. He floated a cup with a tiny hole in a bowl of water, a water clock that would sink at the chosen hour. While Līlāvatī leaned over to watch, a pearl slipped from her bridal dress into the cup and blocked the hole. The cup never sank, the moment passed unnoticed, and the wedding never brought her happiness. To comfort her, Bhāskara promised: “I will write a book in your name, and it will be remembered for ever.”

Historians treat the story as a legend; the book is real, and was used to teach mathematics in India for centuries. This site borrows its idea: maths as play.

One of her puzzles

“The square root of half a swarm of bees flew to a jasmine bush. Eight-ninths of the whole swarm stayed behind. One bee hummed around a lotus, where another was trapped inside. Tell me, lovely one, how many bees were there?”

Show the answer

72 bees. Half of 72 is 36, whose square root is 6; eight-ninths of 72 is 64; and 6 + 64 + 2 = 72.