Codex Mythologica
An Illuminated Archive of the Ancient World — Volumen Primum
The gods are not extinguished — they have only put on the costumes of stories, and wait for new mouths to speak them again.

Atmospheres
Themes
Synopsis
Codex Mythologica is a browser-native illuminated codex: seventy-six long-form literary retellings drawn from nineteen mythological traditions — Hellenic, Kemet, Norðr, Yamato, Bharatiya, Ériu, Sumer, Mēxihcah, Romana, Zhōnghuá, Hangug, Maya, Slovjan, Yorùbá / Ashanti / Nyanga, Pārs, Mā'ohi, Inuit, Türk, ʿArab. Eighty-eight thousand words paginated at runtime into hardcover spreads.
It is built on the conviction that comparative mythology is not an academic taxonomy; it is a single, very old conversation between cultures who never met. Sekhmet's wrath, Inanna's descent, Ragnarök's wolf, Asena guiding a wounded boy out of a valley, the spider Anansi buying every story from the Sky-God — the codex lets these stand next to each other, sigil by sigil, palette by palette, without pretending they are the same thing.
The engine is the most engineering-dense of the three: ~145 KB of hand-authored runtime, exactly two `.page` elements live in the DOM at any moment, measurement-driven pagination (~7 layout reads per page), 3D `rotateY` page-turns rendered with compositor-safe transform + opacity only, pre-paint Performance Mode classification, browser-native PDF export. Built across ~500 ms cold for the full 446-page document.
Narrative Constellation
Codex — the axis everything else orbits.
- Codex. The codex itself — 76 chapters across 19 traditions. The gods have only put on the costumes of stories.
- Hellenic. Olympus and the abyss between order and chaos.
- Kemet. Sun-barques and the weighing of hearts.
- Sumer. First written stories. Queens past seven gates.
- Bharatiya. Cosmic ages without count; oceans churned for amrit.
- Norðr. The doomed pantheon waiting for Ragnarök's wolf.
- Mēxihcah. Five suns. A covenant of blood that keeps the world turning.
- Yamato. Kami in every river-stone; sun-sister and storm-brother.
- Türk. Tengri above, Erlik below, Asena guiding a wounded boy.
- Descent. The underworld journey: Inanna, Aeneas, Bari-gongju, Hero Twins.
- Founding. Romulus & Remus, Dangun & the bear, Asena & the wounded boy.
- Trick. Anansi, Loki, Māui — saviors who do not look like saviors.
- Transformation. Arachne to spider; the bear to a woman; the monkey to a Buddha.
- Cosmos. Egg-births and World-Trees; five suns and seven climes.
- Hero/Monster. Each civilisation makes a hero only to write its monster afterwards.
- Love. Cupid & Psyche; Layla & Majnun; Orpheus turning back.
- Flood. The water that ended a sun; the ark that floated a covenant.
- Sekhmet's Rage. Stopped at the last hour by a flood of red beer.
- Inanna's Descent. Seven gates, seven garments, three days hanging as meat.
- Icarus. Wax wings, a warning, a sun he could not look away from.
- Ragnarök. Fenrir at last unbound; the gods know who they fight.
- Hero Twins. Hunahpu and Xbalanque descend to play ball with the lords of Xibalba.
- Asena. The she-wolf in the valley with no human language.
- Anansi & the Stories. A spider buys every story in the world for three impossible things.
- Amaterasu in the Cave. Only laughter coaxes the sun back out of the dark.
Chronicle
- c. 3000 BCE·Kemet — the silt and the scarab
Pyramid Texts and Coffin Texts. The barque of Ra rolls morning into being; Sekhmet, made of wrath, has to be tricked out of finishing humanity.
- c. 2100 BCE·Sumer — the first written stories
Gilgamesh refuses to die. Inanna walks past seven gates and gives up a garment at each one. Clay tablets remember what kingdoms forget.
- c. 1500 BCE·Bharatiya, Maya, Zhōnghuá
Three civilisations on three continents agree that the cosmos is older than any single creator. Vishnu dreams, Hero Twins descend into Xibalba, a stone monkey learns to break ten thousand laws.
- c. 1000 BCE·Pārs — Simurgh in the healing tree
A bird older than memory keeps a nest of medicine. A king's cup shows the seven climes. A champion kills his son before learning his name.
- c. 800 BCE – 500 BCE·Hellenic, Ériu
Theogony, Iliad, Odyssey. The Otherworld is a mist away. Cú Chulainn cools his battle-frenzy in three vats of water.
- c. 500 CE·Türk — Tengri, Erlik, and Asena
Sky-Father and the dark below. A she-wolf carries a wounded boy out of an inhuman valley and the nation begins there.
- c. 1300 CE·Mēxihcah — five suns
Each previous sun ended in a particular ruin. The fifth requires a covenant of blood to keep turning. Feathered serpents bracket the dawn.
- 2026·Folio Edition
All seventy-six chapters bound into one paginated codex. Three themes, five type-scales, browser-native PDF, zero dependencies.
Nineteen Civilisations
Hellenic
Capricious gods on Olympus; mortals testing the abyss between order and chaos.
Kemet
Sun-barques, scarab-rolled mornings, the heart weighed in the Hall of Two Truths.
Norðr
A doomed pantheon nailed to the World-Tree, waiting for the wolf at the end of winters.
Yamato
Kami in every river-stone; sun-sister and storm-brother fighting across rice-fields.
Bharatiya
Cosmic ages without count; oceans churned for the nectar of deathlessness.
Ériu
Mist-bound Otherworld islands, salmon of wisdom, battle-frenzy quenched in three vats.
Sumer
First written stories on earth; queens who passed seven gates into the dark.
Mēxihcah
Five suns made and unmade; a blood covenant kept so the world might turn.
Romana
Wolf-suckled twins, household gods at every threshold, an empire of duty.
Zhōnghuá
Five elements under a Jade Court; a stone monkey learning ten thousand changes.
Hangug
A bear who fasted to become a woman; a princess walking into the underworld for medicine.
Maya
Hero Twins descending into Xibalba to play ball against the lords of death.
Slovjan
Forest crones in chicken-legged huts; a thunder-god still hammering the snake at the root.
Yorùbá · Ashanti · Nyanga
Anansi bargains for every story; a hero small enough to be kept in his mother's belt.
Pārs
Simurgh in the tree of medicine; a king's cup showing the seven climes.
Mā'ohi
Māui fishes islands from the sea on a hook of his grandmother's jaw.
Inuit
Sedna thrown from a kayak becomes the mother of every seal; the raven steals the sun.
Türk
Tengri above, Erlik below, and Asena guiding a wounded boy out of an inhuman valley.
ʿArab
Snake-queens beneath orchards; lovers gone mad in the desert, named for moon and night.
Iconic Principals
Sekhmet
Lion-headed daughter of Ra (Kemet).
Made of wrath, stopped at the last hour by a flood of red beer.
Inanna
Queen of the Above and the Below (Sumer).
Surrenders one garment at each of seven gates, then hangs as meat for three days.
Icarus
Boy of wax and warning (Hellenic).
Could not bear to look away from the sun.
Asena
She-wolf of the valley (Türk).
Carries a wounded boy out of the place no language has names for; a people is founded there.
Anansi
Spider who bought every story (Yorùbá / Akan).
Bargained the Sky-God down to a leopard, a hornets' nest, and a fairy bound in a yam.
Amaterasu
Sun-kami of Yamato.
Withdraws into a cave; only laughter outside coaxes the world back into light.
Quetzalcoatl
Feathered Serpent (Mēxihcah).
Brackets the dawn; descends and returns; the covenant turns.
Fenrir
Bound wolf of Norðr.
Will swallow Odin and a moon at the end. Strange that the binding cord was made of impossible things.
Recurring Patterns
The Descent
- Inanna passes seven gates and gives up a garment at each.
- Hero Twins go down into Xibalba to play a deadly ballgame.
- Aeneas walks the long parade of unborn Romans.
- Bari-gongju walks into the underworld for medicine and returns a shaman.
The Founding
- Romulus and Remus at a river; one brother does not survive the wall.
- Asena guides a wounded boy out of the inhuman valley; a nation begins where they stop.
- Dangun is born of a bear who fasted forty days in a cave to become a woman.
- Tepeyollotl, jaguar of the heart of the mountain, marks the place where the new sun will rise.
The Trick That Saves
- Thoth coaxes the Distant Goddess back from the Nubian desert with music.
- Anansi reduces the Sky-God's price for every story to three small impossible things.
- Loki cuts Sif's hair and pays for it in seven artefacts that hold the world together.
- Māui slows the sun by lassoing it to make the day long enough for the people.
Engine
~145 KB hand-authored runtime. Exactly two `.page` elements in the DOM at any time. Measurement-driven pagination (~7 layout reads/page). 3D rotateY page-turn rendered with compositor-safe transform/opacity only. Pre-paint Performance Mode (cores · memory · pointer · reduced-motion). Browser-native PDF. Zero dependencies.
The codex above is a description. The reader is a place.
Enter Codex Mythologica