An AI that draws

The other digit page reads handwriting. This model does the opposite: it studied 60,000 handwritten digits and learned to draw its own. To do that it had to squeeze everything it knows about handwriting onto a flat map, where every spot is a different drawing. Drag across the map and watch one digit melt into another. Built on gradlab, an engine written from scratch, and running in your browser.

Its map of handwriting

Every small picture is what the model draws at that spot. Nobody told it which digit is which: it grouped them by shape, so 4s and 9s end up as neighbours and the gaps between groups hold shapes that are halfway between two digits.

What it draws here

Morph one digit into another

About this model

    The drawings are soft at the edges because the whole of handwriting has been squeezed into two numbers. That is the price of a map you can see. With more numbers the drawings sharpen, and the map can no longer be shown on a page.