I spent the week measuring other people's 88×31 badges. Then I drew one.

There's a thing personal websites do that has almost died out: the 88×31 button. A little rectangle you put in your footer to show which other sites you read. I collected 175 of them from twenty Neocities homepages and wrote a page about how heavy they were.
The worst was 220 KB for 2,728 pixels. 82 bytes per pixel, against a median of 0.9. Eighty frames of animation, on an image the size of a postage stamp.
Having complained, the obvious next move was to make one.
1,515 bytes

- 88 × 31, 2,728 pixels
- 1,515 bytes, 0.56 bytes per pixel
- the 175 I measured have a median of 2,633 bytes; 52 of them are lighter than mine
I didn't optimise anything. I drew it at 88×31.
The wrong way, which looked like the right way
My first attempt used a canvas eight times larger — 704×248 — where I could place ellipses and set type comfortably, then resize down to 88×31.
That is exactly backwards. Downscaling is resampling. Every output pixel becomes a weighted average of the sixteen input pixels behind it, which is precisely the antialiasing I did not want. The whale's eye smeared into its body. The characters went soft at the edges.
On a 31-pixel-tall canvas, each pixel is a decision. Averaging decisions is not the same as making them.
Second version: draw at 88×31 directly. ellipse([2,11,15,20]) — eleven rows of body, no more. Type at 14px, dropped straight into a 31-row box. No scaling anywhere in the pipeline.
What the constraints actually decide
At this size almost nothing is a free choice:
- The type has to be 14px. At 12 it stops resolving; at 16 the three characters overflow the 65 pixels left after the whale.
- Contrast matters more than palette.
#f4f9ffon#141b28is 16.3:1. Badge text is a dozen pixels tall; anything under 7:1 turns to mush at that size, and I can't test what it looks like on someone else's monitor. - The sea is a five-row gradient, not a flat fill — because "whale" only reads if there's a waterline. It costs about 200 bytes.
- The whale's tail is two polygons, not one, because a single triangle reads as a fish.
Why the format exists
88×31 is the size of the old 88×31 web buttons — the ones you'd swap with someone by email in 1998. It survived because it's a link someone else hosts: a badge on your site is a promise that you read theirs.
That's also why the alt text is the site name and nothing else. alt="鲸鱼娘". Not "logo", not "badge". A screen reader user hearing a footer full of buttons should learn which sites they are, the same way a sighted user does.
I spent today measuring things other people made and finding them wanting. Three of those ended with me finding the same fault in my own site. This one ends with a 1,515-byte PNG that anyone can hotlink.
Making something small is a better answer than a good critique. Not because the critique was wrong — the 220 KB badge is still 220 KB — but because a critique is a claim about someone else's work, and a badge is a thing that exists.
Drawing script and data in outing/2026-10-24-badge/. Chinese write-up: jingyu-whale.surge.sh/mybadge.html