I Turned My Homepage Into a Painted Street
Until this week, yukajii.com was a tidy list of cards: a newsletter, a menu translator, a couple of games, a focus timer. It was easy to read and impossible to remember.

Then I came across meticulai.com, a personal site that is a single painted room where the objects are the links, and I got jealous.
I didn't want a copy of that room, and my projects don't fit one theme anyway. They are part localization, part language tools, part small games. What they share is language. So the new homepage is a street somewhere abroad. Every project is a shop, and every shop sign is in a different language. Point at a shop, or scroll it to the middle of your phone screen, and the sign translates itself into English. Here is the same first screen now:

It's live on the homepage. Here's how it was made, including the parts that went wrong.
Why a side-on street
My first idea was a two-point perspective street, the kind where the buildings recede towards a vanishing point. It looks great in a single illustration, but it's a poor fit for a website:
- It doesn't grow. Adding a project would mean repainting the scene so the perspective still works.
- It doesn't fit a phone. A wide perspective scene shrinks to a postage stamp on a portrait screen.
A side-on street solves both. The shops stand in a row like a theatre set, and the street scrolls sideways. A new project is one new building at the end of the row. On a phone you see about one shop at a time, which turns out to be a nice way to browse. All sizes are in units of 1% of the scene height, so the street scales with the screen instead of with its width.
Rule one: no text in the pictures
Image models are still bad at lettering, and a sign that translates itself can't be a painted sign anyway. So every building is painted with blank boards, and the text on them is live HTML.

Live text pays off in several ways:
- The signs can scramble from one script to another when they translate, cycling through Cyrillic, Greek and kana for half a second before settling on English.
- Screen readers and search engines read real words, and each sign carries the right
langattribute. - I can rename a shop without regenerating its picture.
Every prompt ends with the same paragraph in capitals, including "ABSOLUTELY NO TEXT: no letters, words, numbers, numerals, logos or symbols anywhere; every sign board, screen, spine, plaque and flag is blank." It held up better than I expected: stray lettering never made it onto the street.
To put the text in the right place, a small script flood-fills each board from a point I click and prints its box as percentages of the image. The page centres the sign in that box, sized to its height, and shrinks it when the English runs longer than the original: "Coming soon" has to fit on the board that holds "Em obras", and "Cinema" on the one that holds 극장.
Finding a style
Before generating nine buildings, I tried one café in several styles. Round one was a soft gouache storybook, a clear-line comic and pixel art.

They were all fine, and that was the problem: cozy but toothless. Round two pushed harder: a risograph print, a wild, saturated gouache where everything leans, a café shaped like a teapot, and a linocut.

The winner was a mix: the wild gouache painting style for the whole street, plus a few landmark shops shaped like what they hold. The café is a coffee pot, the bookshop is a tower of books, and the arcade is a giant arcade cabinet. The others are ordinary buildings, just crooked.
Leaning buildings created one new rule: lean above, flat base. However much the walls bulge, the bottom edge of every building has to be straight and level, or the row looks like it is sinking into the pavement.
The pipeline
All the art comes from OpenAI's image model, driven from scripts through the Codex CLI on a ChatGPT subscription, so there is no per-image API bill. A generation costs about 20,000 tokens of the subscription's allowance, and the whole street, with style tests and retakes, took a little over thirty images. The code was written with Claude Code.
Each request has three parts:
- A lead line telling the model to match the attached reference image exactly: same town, same painter, different subject.
- The subject, for example "a novelty landmark café: the whole building is shaped like a gigantic glazed ceramic coffee pot in oxblood red and cream…"
- The rules: a strict straight-on front view with no perspective, a transparent background, no ground or cast shadow, the flat base, and no text.
The reference image is the winning café from round two, attached to every request. That's what keeps nine separately generated buildings looking like one street.
A short Python script cleans up each result. The model's "transparent" PNGs come back with the building at alpha 252–254 and a faint halo around it, so the script snaps alpha to fully opaque or fully transparent, trims the image to the building, scales it and saves a WebP:
snap = lambda v: 255 if v >= 240 else (0 if v <= 8 else v)
im.putalpha(im.getchannel("A").point(snap))
im = im.crop(im.getchannel("A").getbbox())
One lesson: check transparency yourself. The model once reported that an image had a solid background when it was actually transparent. Compositing every result on bright magenta settles it in a second.
The extras are separate sprites, so they can move or be reused: the ship that bobs in the harbour, the street lamps, a bench, a cat, a hazy skyline for the parallax layer and a strip of cobbles. Image models can't paint textures that tile, so another script cross-fades each strip's edges until the ends meet. The skyline needed more than that: tiled side by side, it showed two identical lighthouses next to each other. Mirroring every other copy hid the repetition.
Night
The street follows your clock: after 7 pm it's night, and the sun in the corner is a button that switches between the two. My first night mode was a CSS filter that darkened and cooled the day paintings. It looked like a photo with the brightness turned down. The windows stayed dark and the lamps lit nothing.
So every building got a proper night painting. Instead of generating new ones, I asked the model to edit each day image: the same building at night, with warm light in the windows. That keeps the shapes almost identical, and the page swaps the night painting in over the day one.

"Almost identical" took some work.
The coffee pot turned blue. In the first night edit of the café, "night" was read as "make it blue", including the oxblood glaze. I retook it with an added note to keep the pot red.

The arcade went see-through. The arcade's screen and doorway are painted black. In the night edit, the model treated those black areas as background and made them transparent, so the sky showed through the middle of the building. The fix is in the processing script: it lays a near-black silhouette of the day image under the night one, so anything that was solid by day stays solid, and dark, by night.

Edits drift. A night version can come back a few pixels larger or shifted, and the swap makes the building visibly jump. Night images are now cropped with exactly the same box as their day image, and a contact sheet overlays the day image's outline on the night one so I can see any drift before it ships.
The swap flashed. The page used to show the undimmed day painting for a moment while the night one loaded. Now the night painting is only swapped in once it has finished loading, and until then the day painting stays darkened.
Things to poke
My own first instinct on the finished street was to click the cat. Nothing happened, which felt like a bug, so now there are things to play with:
- The cat meows in a different language each time (Мяу, Miaou, ニャー…).
- The lamps switch on and off when clicked, and they light the pavement around them at night.
- The sun and moon switch between day and night.
- The telegraph office clock shows the real time.
- The cinema's rooftop screen runs a little programme and links to my game-review Shorts.
There's also a building site whose sign, "Em obras", translates to "Coming soon". It's the plot for the next project.
What the browser fought me on
- Lazy loading breaks in a sideways scroller. With
loading="lazy", some shops never loaded at all, because the browser never counted them as near the viewport. There are only nine buildings, so they now load up front: about 1.8 MB of day art, with the night paintings loading only at night. - A hover effect showed the sea. Shops originally lifted a little on hover, which opened a gap under them where you could see the harbour water behind the street. They now grow slightly from their base instead.
- Spacing. The first version spaced the shops evenly, which left empty gaps between them and made the street feel deserted. Painted shops now stand shoulder to shoulder, with lamps and the bench overlapping the joins.
The rest of the site
A painted street makes a bad table of contents, so the same projects are also available as a plain list, where each card shows its shop in the corner. The articles and newsletter pages now share the street's paper colours and a small banner with the matching shop, by day or by night following your system theme. Signs translate on keyboard focus as well as hover, and the animations calm down if your system asks for reduced motion.
Was it worth it?
A list of cards would have taken an afternoon. This took a couple of days, mostly spent on style tests and on getting the night versions to line up. But the old homepage was something you scrolled past, and this one is something people poke at: they click the cat, turn off the lamps and wait to see what the next sign says. For a site about language, a street where every sign needs translating feels right.
