Whose idea
The experiment is Matt Henderson's, from his post of 19 October 2026: "Which Pokémon does a compression algorithm think are most similar? bzip pairs Gengar with Haunter, Magikarp with Gyarados and Pikachu with Jolteon. 13 different Pokémon get paired with Marowak — it's a very average sprite." And in the replies: "bzip's top pick is from the same evolution line about 8% of the time, vs ~1% if you picked at random. So weak, but it knows nothing about pokemon. Mostly it's matching size and how much of the square is drawn in." He has not seen or endorsed this page. Go and watch the original; it is a video and this is not a copy of it.
What is ours: the compressor, the monsters, the baselines, and the knobs that test his explanation.
Why these aren't Pokémon
Because the sprites are Nintendo's pictures, and this site does not serve a picture it did not draw. So the experiment runs here on a dex of our own, built to the same brief: 151 entries in a 56×56 frame, four shades, evolution lines of one to three stages in which a creature grows, sprouts horns or wings or spikes, and changes proportion. Every sprite is generated from a seed by critters.js, and the lines are known exactly — which is the one thing this version has over the original. The question "can bzip find the families?" has an answer key.
It also means the numbers here are about these monsters. They come out in the same shape as his, not the same values, and nothing has been tuned to make them agree.
The distance
The normalized compression distance (Cilibrasi and Vitányi, 2005) asks how much a compressor saves by seeing two things together:
NCD(x, y) = ( C(xy) − min(C(x), C(y)) ) / max(C(x), C(y))
C is the compressed length in bytes and xy is one file followed by the other. If y is nothing but a repeat of x, the second half is free and NCD is near 0; if they share nothing, the pair costs the sum and NCD is near 1. The compressor knows nothing about pictures, monsters or evolution — it just notices when the second file is cheap to describe given the first. That is why the result is interesting at all.
It is also why it is weak. Neither end of the scale is really reached with bzip: a 3 KB file glued to an exact copy of itself still costs bzip about a sixth more, because its block sort pairs the two copies up but still writes both down; and two unrelated files glued together save a few hundred bytes of shared header and Huffman tables, which is a lot when a sprite only compresses to a few hundred bytes itself. The tests pin both.
This is really bzip2
The compressor is written in Rust, from the reference implementation's algorithm, and compiled to a 47 KB WebAssembly module with no imports: run-length pass, Burrows–Wheeler block sort, move-to-front with the zero runs in bijective base 2, and up to six Huffman tables chosen per 50 symbols and refined four times. Every choice that changes the output length is the reference's, down to how it flattens a Huffman code that comes out longer than 17 bits. The test suite hands every output to the system bzip2 -d and checks it decompresses to the input, and checks each length against what bzip2 -9 produces from the same bytes — they are equal on every case, and the files are byte for byte identical except where a block is a perfect repeat of itself, when which of the tied rotations counts as the original is a matter of sort order. Open a critter and save what bzip saw: bzip2 -d will give you back its 3136 bytes.
What it finds
On the default dex, bzip's pick is a relative about four times as often as chance: 4% against 0.9%. Weak, as his was — 8% against 1% — but the knobs say why. His explanation was that it is mostly matching size and how much of the square is drawn in, and three of them test that directly:
The ink rank. The board shows where bzip's pick ranks among all 150 others by how much of the frame is drawn in. Chance would put it at the 50th percentile. On the default dex it sits around the 14th: bzip mostly picks something with about the same amount of ink. His explanation is right.
Evolutions grow. And that is exactly what keeps it from finding families, because an evolution is the one thing guaranteed not to have the same amount of ink — the first form is small and the last fills the frame. Slide evolutions grow to none and nothing about any shape changes, only the frame each is drawn into; the hit rate goes from about 4% to over 20%, and on every seed we have tried it at least two and a half times what it was.
Cropped to fit. So why not take size away after the fact — crop every sprite and blow it up to fill the frame before bzip sees it? It barely helps: sometimes a point or two, sometimes nothing, never close to what drawing at equal size does. Scaling a 30-pixel sprite up to 56 turns each pixel into a block of one or two, unevenly, and bzip — which only ever sees runs of bytes — reads a picture in different-sized blocks as a different picture. To the compressor, size is not a property of a shape; it is the shape.
And the hub — his Marowak — is real here too: one critter is everyone's nearest neighbour, seven to nine times over. It is not mid-sized, though, at least not on this dex: it tends to be on the small and empty side. A sprite that is mostly paper is cheap to describe after almost anything.
The other measures are there to keep bzip honest. Ink only almost never finds a relative, for the reason above. Pixel by pixel — counting the pixels that differ — does about as well as bzip on the dex as drawn, and clearly better once the sizes are equal, which is a fair reminder that a compressor is a roundabout way of comparing pictures. The case for compression is not that it beats a measure built for the job; it is that it needed no idea what the job was.
Things worth trying
By columns gives bzip the same bytes in a different order and the answers change, because a block sort that knows nothing of two dimensions sees different runs. Two bits per pixel is how the original cartridges stored their sprites: four pixels to a byte means far fewer bytes and different neighbours. Silhouette throws away the shading and the eyes. Both orders computes C(xy) and C(yx) and keeps the smaller — they are not equal, and the difference is a few bytes of nobody's business. In the drawing pad, draw a critter twice the size and see its neighbours change completely.