← The Lab Idiot

Entropy and Huffman

Interactive lab: Type “aaaaaa” and watch information disappear.

What is this?

A visual, interactive experiment about Entropy and Huffman. Its main parameters update live and the simulation runs entirely in the browser.

How it works

Entropy H = −Σpᵢlog₂pᵢ measures average surprise. Huffman gives short codes to frequent symbols.

Open it →