# How this site is built

> I took a site I like apart with a reverse-engineering agent, kept its bones, and gave it a genomics accent.

URL: https://allenkao.com/posts/colophon/
Published: 2026-10-17

I like [Felix Rieseberg's site](https://felixrieseberg.com). It reads like a well-set magazine page and then, quietly, it's also a VHS deck: sections are tape parts, posts end on an END card and photos carry a camcorder date stamp. I wanted that feeling for my own notes, with my own vocabulary.

## Taking it apart

I pointed [REA](https://github.com/morluto/rea), an MCP server for reverse engineering, at a headless Chrome and asked it what the site is made of. It captured scenarios at phone and desktop widths, exported the page scripts and read them back as an application graph. Most of the useful facts still came from reading the versioned stylesheets by hand.

The surprise was that the home page isn't a blog with a fancy background. It's a full 3D room, with a desk, a CRT and a rainy Berlin window, built in Three.js with baked lighting. The text site is a separate, much quieter thing.

## What I kept

The bones are his:

- Literata for reading, Fira Sans and Fira Code for everything around it.
- A paper ground, an ink colour and one accent.
- A sticky strip with a progress bar and a contents menu.
- A contents rail in the left margin on wide screens.
- Numbered figures, code cards with a language bar, and an `llms.txt` with a Markdown twin of every page.

## What I changed

The vocabulary is mine. Where his site speaks VHS, mine speaks genomics:

| His | Mine | Why |
| --- | --- | --- |
| PART 2/5 | EXON 2/5 | Sections are the parts that get expressed |
| END card | TAA · END | Translation stops at a stop codon |
| Camcorder date stamp | Specimen label | Herbarium sheets, not home videos |
| Grey TV static | Base-call noise | Four Sanger colours instead of grey |
| Berlin desk at night | A study in a pine forest | The room I'd like to work in |

The track on the plain home page is the one piece with no counterpart. It draws the places I've lived as cytobands, my papers as marks and each post as a tick. It's plain HTML positioned in percent, so it costs nothing to load.

### The accent

The accent is 朱, the vermilion of a seal stamp, with indigo and matcha as alternates. Switching is one attribute on the root element:

```ts title="src/consts.ts"
export const SITE = {
  title: 'Allen Kao',
  // shu (朱, default), ai (藍) or matcha.
  accent: 'shu',
} as const;
```

## The room

I first left the room out. Then I built one anyway.

The home page opens on a Japanese mountain hut: cedar walls, hinoki ceiling boards and black steel, with a corner window onto a green valley fading into haze. Each of my hats has a place on the desk: a CRT running a genome browser for the bioinformatics, a molecule model for drug discovery, a laptop with an agent session for the software, and a trading screen for the markets. The tube rack holds one tube per post.

It's built the way Felix built his. I modelled the study in Blender from free CC0 assets, then baked the light: Cycles traces it once, offline, into textures, so the page draws something that looks path traced at real-time cost. I baked it twice, for day and night, and the room follows your clock.[^1] Browsers without WebGL get the plain page.

[^1]: Add `?time=day` or `?time=night` to the address to pick one.
