← roobinseo.comThe one on my homepage

How a magnet remembers

400 spins, three memories stored in their couplings. Pick a letter to scramble it and watch it roll back, draw on the grid, or turn up the heat until it melts.

Start from a scrambled memory

30%

0
cold: clean recallmelts near 1

Energy

How much the grid matches each memory

A Hopfield network: Hebbian couplings Wij = (1/N) Σμ ξiμ ξjμ, Glauber dynamics at temperature T. Memories melt near T = 1, and recall breaks down past about 0.14 N ≈ 55 memories. The header on my homepage runs a lighter version of this. Computed live in your browser.