# Stratum: Building a Game About the Violence of Interpretation _How a procedural archaeological roguelike became an argument about how we read ruins — and each other._ --- I've been building a short game called **Stratum**. It's a procedural archaeological roguelike that renders in the style of Piranesi's _Campo Marzio_ engravings — those obsessive, impossible maps of an ancient Rome that never existed. You wander an infinite field of architectural ruins, discover fragments of lost civilizations, and try to make sense of what you find. But the game isn't really about archaeology. It's about interpretation — and the violence of deciding what things mean. ![[stratum-map-1770926479332.png]] ## The Idea: Ruins as Rorschach Tests The starting point was a simple observation: ruins don't speak. We speak through them. When an archaeologist examines a fragment of wall, they see materials, measurements, construction phases. When a mystic encounters the same wall, they see sacred geometry, cosmic alignment, the fingerprints of gods. When a political theorist looks at it, they see power — who built this, who was excluded, what ideology it served. None of these readings are wrong. All of them are incomplete. And the act of choosing one — of committing to a framework — is never neutral. Every interpretation is an act of selection, emphasis, and erasure. You can't describe a ruin without deciding what matters. I wanted to build a game where that decision _is_ the mechanic. ![[stratum-01-repository-of-contested-drawings.png]] ## Piranesi's Ghost Giovanni Battista Piranesi's _Campo Marzio dell'Antica Roma_ (1762) is one of the strangest documents in architectural history. It's nominally a reconstruction of ancient Rome's Campus Martius district, but Piranesi filled his enormous engraved plates with structures that never existed — labyrinths within labyrinths, impossible geometries, buildings that could not have been built by any known civilization. The result is a map that looks authoritative but is mostly fiction. It has the visual grammar of scholarship — precise lines, Latin labels, measured plans — applied to something that is essentially a hallucination. It's what happens when the desire to interpret overwhelms the evidence. This felt like the perfect visual language for what I wanted to build. Stratum renders its architectural fragments as plan drawings — black backgrounds, parchment-colored lines, the visual vocabulary of the architectural section and survey. Everything looks like it could be a real excavation record. But the structures are generated procedurally, governed by imaginary architectural "schools" with their own spatial philosophies. The authority is aesthetic, not empirical. ## The Three Lenses The core mechanic of Stratum is the **three-lens interpretation system**. When you encounter a fragment, you're presented with three readings: **Archaeological** — the material reading. Measurements, orientations, construction phases, material analysis. The voice of the careful surveyor who records what _is_ without speculating about what it _means_. This feeds the **Perception** meter. **Mythical** — the cosmological reading. Sacred geometry, cosmic resonance, the building as a theorem about the nature of existence. The voice of the mystic who sees pattern and meaning everywhere. This feeds the **Intuition** meter. **Political** — the ideological reading. Power structures, territorial claims, instruments of control. The voice of the critic who sees agendas in every wall. This feeds the **Violence** meter. You see all three. You choose one to catalog. The choice shapes everything that follows. ![[stratum-01-the-encompassing-spheres-of-nested-witne.png]] ### The Trap of Commitment Each reading is designed to be genuinely compelling. The archaeological voice has the satisfaction of precision — you feel like you're getting closer to the truth through measurement. The mythical voice has the beauty of connection — suddenly the scattered fragments form a cosmic pattern. The political voice has the power of explanation — everything makes sense once you see the agenda behind it. But here's the thing: each meter, as it fills, distorts the readings you receive. High Perception makes the archaeological voice obsessively detailed but increasingly hollow — you can measure everything and understand nothing. High Intuition makes the mythical voice increasingly untethered — the patterns get grander and more beautiful but lose all connection to evidence. High Violence makes the political voice increasingly paranoid — every fragment confirms what you already believe, and you see enemies everywhere. The game is quietly arguing that interpretive frameworks are self-reinforcing. The more you commit to a lens, the more the world appears to validate it. This isn't because the lens is correct — it's because the lens is shaping what you see. ### Endgame as Critique When any meter reaches 100%, the game delivers a verdict. Not a victory screen — a mirror. If Perception hits 100: _"Your eye has become absolute. Every surface yields its measurement, but meaning has drained from the act of seeing."_ If Intuition hits 100: _"The pattern is complete. You can no longer distinguish between what the ruins say and what you need them to say."_ If Violence hits 100: _"The thesis is total. Every fragment has been made to serve. The ruins no longer speak — you speak through them."_ Each ending is a critique of its own mode of seeing. The game doesn't tell you which lens is right — it tells you what happens when any lens becomes totalizing. ## The Architecture of Imaginary Civilizations Stratum currently has twelve architectural schools, each with a distinct spatial philosophy and belief system: The **Solar Centralists** build in radial symmetry — concentric rings of chambers radiating from a divine center point. The **Axial Absolutists** build along strict processional axes — truth revealed through movement in a single direction. The **Infinite Enclosure** school nests rooms within rooms, each slightly offset, never quite aligned. The **Void Architects** are my favorite — they believe "the building is what is not built." Their structures appear as solid black masses with rooms carved out of them, like caves from rock. In plan, they look like photographic negatives of buildings. Newer schools push further. The **Threshold Keepers** build nothing but doorways — freestanding gate sequences with no enclosing walls, because they believe the only sacred space is the passage between spaces. The **Fragmentation** school deliberately builds in pieces — scattered, disconnected elements — because they believe a finished building is a dead building. Each school has a unique geometry generator that produces plan drawings procedurally. The radial school produces concentric circles with radiating spokes. The grid school produces strict orthogonal cells. The spiral school produces unwinding arms with chambers along the curve. When you encounter a fragment in the world, its visual form tells you something about the school that produced it before you read a word. ## Procedural Generation as World-Building The world itself is generated using Conway's Game of Life — a cellular automaton run on a 200×200 grid for 45 generations. The resulting pattern of live cells becomes the distribution of ruins across a 16,000-pixel world. Clusters of live cells become architectural fragments, with cluster size determining the scale and complexity of the structure. This creates a world that has organic structure without authored intent. There are dense neighborhoods of ruins and vast empty stretches. Some fragments are tiny — a single wall, a column base — while others are sprawling complexes. The distribution feels archaeological: real ruin fields have this same quality of uneven density, because the forces that create and destroy settlements are neither random nor regular. The Game of Life animation plays during the loading screen as a "genesis" sequence — you watch the world come into being through 45 generations of cellular evolution, which takes about 6 seconds. It's a small thing, but it means the player watches the world being born before they enter it. ![[stratum-01-the-hollowed-beacon-of-orthros.png]] ## The Export System: Field Notes as Artifacts One of the features I'm most proud of is the export system. Every fragment you catalog generates a field note — a full-page PNG rendered in the visual style of 18th-century engraving plates. Each note shows the architectural plan drawing in a framed box at the top, with the fragment's school, era, and coordinates. Below: the title, the chosen reading in the lens's color (archaeological notes are parchment-white, mythical notes are gold, political notes are red), and then the two "discarded readings" in muted tones beneath. The entire note is tinted by the chosen lens — the plan box border, the grid lines, even the geometry itself renders in the lens color. A political reading produces a page washed in red. A mythical reading glows gold. You can see at a glance which interpretive direction was taken. These aren't screenshots — they're procedurally generated documents. The canvas height is dynamic, calculated by pre-measuring all the text so nothing is cut off. On mobile, the gallery lets you long-press to save to camera roll. The overall map export arranges all cataloged fragments in a diagram with catalog entries distributed clockwise around the frame like marginal annotations on an engraving plate. Connection lines between fragments are colored by lens: a map dominated by political connections is visibly, uncomfortably red. ## Technical Decisions Stratum is a single HTML file. No build system, no framework, no dependencies beyond two Google Fonts and the Anthropic API for AI-generated interpretations (with a full fallback system for offline play). This was deliberate. The game needs to be shareable as a single URL, playable on any device, with no installation. The entire thing — Game of Life world generation, geometry generators for twelve spatial types, three-lens interpretation system with AI integration, catalog management, two export systems, zoom and pan, touch support — is under 2,000 lines. Some specific choices: **Canvas rendering** for the game world, because the fragment drawings use custom shapes (polygons, circles, dashed lines, filled/erased composites) that would be painful to manage as DOM elements. The zoom system transforms world coordinates to screen coordinates with a single scale factor. **AI-generated interpretations** via the Anthropic API, with the prompt carrying the full context of your existing catalog and current meter levels. When Violence is high, the prompt tells the model to make the political reading increasingly paranoid. When Intuition is high, the mythical reading becomes increasingly untethered. The AI is participating in the distortion mechanic — it generates text that confirms your bias because the prompt asks it to. **Seeded procedural generation** so the world is consistent within a session but different between sessions. Every fragment's geometry, school assignment, era, and position are deterministic from the world seed — but the interpretation text is generated fresh each time, so the same fragment can be read differently on different encounters. **Dynamic canvas sizing** for field note exports, because text length varies dramatically between readings. The renderer pre-measures every text block, calculates the total height, and creates a canvas exactly that tall. This means a short archaeological note produces a compact page while a long mythical reading produces an elongated one — the format adapts to the content. ## What It's Actually About I keep coming back to a passage from Susan Sontag's _Against Interpretation_: "Interpretation is the revenge of the intellect upon art." Sontag was talking about literary criticism, but it applies to any act of reading meaning into form. Stratum is a game about that revenge. Every time you catalog a fragment, you're performing an act of interpretive violence — reducing something ambiguous and open to something legible and closed. The archaeological reading reduces a ruin to its measurements. The mythical reading conscripts it into a cosmic narrative. The political reading weaponizes it for an argument. The game doesn't offer an escape from this. There's no "just look at it" option. You have to choose. To catalog is to interpret, and to interpret is to commit an act of selection that erases the readings you didn't choose. The "discarded readings" that appear dimmed in each field note are the game's quiet memorial to what was lost in the act of understanding. --- _Stratum is a work in progress. The current build is playable in any browser. If you want to try it, I'd love to hear what readings you choose — and what that tells you about how you see the world._