Skip to content
Contact
  • Released
  • Web · Backend
  • 2026–

Rooftop

A rooftop on the web that opens at sunset — warm your hands by the fire, burn one worry, and leave without a word

My role

Planning, design, development and operations, end to end

Stack

  • TypeScript
  • Vite
  • Preact
  • Node.js (ws)
  • Web Audio API
  • SunCalc
  • AWS
  • AWS CDK
  • Caddy
  • The rooftop at 11:48 pm — under stars and a crescent moon, people warm themselves at a drum fire and sit on the railing above the city. My own figure is marked "me", with the buttons "Take a seat", "Warm up" and "Burn a worry" below
  • The worry box — "What if I blow tomorrow's presentation" typed under the prompt "Leave what's on your mind here", with the note "Nothing written is kept" and the buttons "Never mind" and "Throw it in"
  • Burning a worry — the moment my paper flies into the drum fire
  • The stairwell door at night — firelight leaks through the gap, with the line "Behind the door, a fire is crackling" and the button "Open the door and go up"
  • The closed rooftop door at 2:31 pm — a "Rooftop hours" notice and a padlock, and below it "It's still daytime. It opens at sunset" with the sunset time (4:48 pm) and the time left until it opens
  • At 6:06 am, 25 minutes before sunrise — the rooftop as the sky brightens, with the line "The sun is almost up"
  • The wide desktop scene — the city and railing stretched across the screen, the drum fire in the middle, and the worry card at the bottom left

A rooftop on the web that opens at sunset and closes at sunrise. On a sleepless night, people awake at the same hour gather on one rooftop. Nobody talks. You walk, sit on the railing, warm your hands at the drum fire, then write down one line of what is on your mind, throw it into the fire, and go back down. The interface follows your browser language: Korean, Japanese or English.

The screens above show the English interface. They were taken with the production code (1.1.1) built without the relay server, with the clock fixed in the New York time zone, which sets the sky and the sunset time. The other people on screen are the same simulation the site shows when it can’t reach the relay.

What it does

  • Sunset to sunrise — it opens only between sunset and sunrise where you are (going by your device’s time zone), so the hours differ by country and by day
  • Up to 40 people per rooftop — 12 of them are on screen (20 on desktop), and their movements arrive in real time
  • Burning a worry — write a worry, throw it into the fire, and the paper burns away. The words never leave your device; everyone else sees only a blank sheet flying
  • Sound that follows the hour — the fire, the wind and the music change with the time and where you stand: a minor key at night, a major key and birdsong toward dawn
  • Korean, Japanese and English — the language follows your browser, and the helpline shown on a hard night follows your country
  • Portrait on phones, landscape on wide screens — both scenes use the same coordinates, so everyone appears in the same spot on either

Judgment calls

A first-load budget picked Vite + Preact over Next.js. It is a single screen with nothing to gain from server rendering, so I went with the smaller runtime. The font is subset to the characters actually used and bundled by hand.

Sunrise and sunset are computed on the device, with no external API. To avoid asking for location permission, the device’s time zone (IANA tzdata) gives a rough position and SunCalc does the rest. Daylight saving is handled by recomputing the offset for each date. As a result, where you are never reaches the server.

The sound uses zero files. To avoid music licensing and download size, the fire, wind, music and effects are all generated on the spot with Web Audio.

The server relays positions and never receives text. The message format has no field for words, and the server rebuilds each message from the fields it knows and drops everything else. One person’s movement goes only to the people who can see them (12 or 20), so a single small server handles it.

Next projectMogakA pixel study room you join with just a nickname — sit together in silence, each doing your own workTake a look