What this is

Borges' 1941 short story The Library of Babel describes a library containing every possible 410-page book of 80-column, 40-line pages using a 25-character alphabet. This demo implements that library as a website. Every coordinate (hexagon address + wall + shelf + book + page number) maps deterministically to a 3200-character page via pure BigInt math. Browse mode lets you visit any coordinate and read the page. Search mode lets you paste up to 3200 characters of your own text — the page returns the exact address where that text appears in the library. It always exists, by construction. The bijection has been verified to round-trip in both directions.

Why this is mind-blowing

The hardest part of this demo isn't the rendering — it's the math. The bidirectional bijection between 3200-character page text and its full library coordinate uses BigInt operations on numbers with 4,581 decimal digits. Round-trips complete in milliseconds. Borges wrote a philosophical essay about infinite libraries; the model wrote a working one in JavaScript from one paragraph of prompt.