Dean SpeerProjects

Tiny Rappi

Drawing Rapperswil-Jona as one continuous isometric illustration, by directing an AI agent through a teacher-to-student image pipeline, with a human gate at every stage that can actually fail.

What it is

When I saw Andy Coenen's isometric.nyc, his RollerCoaster Tycoon reference transported me straight back to being a kid. I wanted the same kind of map for Rapperswil-Jona, the town I live in. The method follows isometric.nyc and then tiny.london. It's one continuous illustration you can zoom from the whole lake down to a single rooftop, drawn from a real 3D model of the town rather than built from hand-drawn tiles.

I've never written a line of code by hand ("Hello world" doesn't count). I'm aware that what I'm building, and will finish, wouldn't have been possible until very recently even for people who can code, let alone someone who can't. So the scale and implications of it don't ring as loudly for me as they should. They'll likely ring louder for someone who understands the nuances of the pipeline and what I've set out to copy.

How it's made

I'm running this the way I'd run a product or feature inside a company, with AI in every step. Claude turns my rough notes into the brief, tickets, user stories, problems and acceptance criteria. A Cursor agent on a rented H100 builds against them. I decide what we're building, watch the budget, look at what comes back and say yes or no before anything moves on. I've tried to keep my own input as small as I can, mostly that first brief and those gates, just to see how far the work can get without me in the middle of every step. AI doing the heavy lifting is not the interesting part. That is already how a lot of company work runs. The interesting part is whether a product process still holds when the human mostly writes the starting notes, and gates the output on quite a complex project.

Renders. Google's Photorealistic 3D Tiles, rendered in three.js with an orthographic camera at a fixed isometric angle (45° down, rotated 15°) and a scale of 0.29 metres per pixel. That gives 152 shots stitched into one canvas of 38,912 × 16,384 pixels. OpenStreetMap water outlines are draped onto the same 3D scene, so every pixel of lake is known exactly.

Teacher. Google's Gemini 3 Pro Image turns a sample of 1,024 pixel squares from those renders into illustrations in one fixed house style. Each prompt is built per square from OpenStreetMap data (how much water, which buildings), and every drawing passes automatic checks for layout, invented water and invented buildings before I review it by hand. Around 160 approved drawings became the training set.

Student. A LoRA fine-tune (rank 32) of Qwen-Image 2.1 Turbo, an open-source image-editing diffusion model, trained on photo and drawing pairs from the teacher. It learns the style once and then draws any square in about four seconds on an H100, for a fraction of a cent, and every square comes out in the same style. Squares that fail the water or building checks are redrawn automatically with a new random seed.

Seamless joins. Instead of drawing each square on its own, the student denoises the whole map at once through overlapping 1,024 pixel windows, blending them at every step so that neighbours have to agree on colour and detail. Open lake is painted straight from the OpenStreetMap water mask rather than drawn.

Deep zoom. The finished image is cut into a pyramid of 512 pixel WebP tiles, hosted on Cloudflare R2 and shown with OpenSeadragon, so the browser only ever loads the part of the map you're looking at.

TL;DR Google takes the photo, Gemini paints it, a smaller AI learns to copy Gemini, and I sit there saying “why is there a castle in the lake?”

Water that lines up

The lake mask has to sit on the lake in the same shots the teacher sees, or the final clean-up will erase bridges and invent shoreline. OpenStreetMap water is drawn by the renderer onto the same 3D scene. Bridges and causeways are cut out at widths measured in the photo, so the Seedamm and the wooden bridge are not treated as open lake.

Approved water on the canvas. Blue is the lake mask draped onto the same orthographic shots as the town render. Open lake is solid; land stays photographic.
Seedamm close-up. Left is the photo. Right is the mask. The road and rail stay unmasked so lake repair cannot paint over the crossing.

Picking the style

Style was chosen on the castle and the eight frames around it. Version A followed the town. A2 added detail but went dark. A3 kept the detail and the warm, real colours: thin ink outlines, terracotta roofs, flat calm water. Sixteen-bit and thirty-two-bit pixel versions were tried and rejected. Pure lake frames are never sent to Gemini, because it invents whole towns on empty water.

Style pilot. Photo, A, A2, A3 on harbour tip, castle and old town. A3 won: more detail than a typical map, without the cool darkening of A2.
Bit-depth experiments next to A3. The pixel versions looked fun in isolation and wrong against the real roofs and shoreline. A3 stayed.

Teacher drawings

Gemini redraws 1,024 px crops of the render. Automatic checks throw out drawings that drift from the photo, invent water, or invent structure on plain ground. Thresholds are set from drawings I have labelled by eye. Approved drawings are locked. A check may not reject anything until it still passes every drawing I have accepted.

Accepted training pairs. Photo on the left of each pair, A3 drawing on the right. Houses, fields, forest, rail and shore, each checked by eye.
Castle and old town in the approved A3 style. This is the look the student model has to learn before the whole test area is drawn as one image.

Where checks fail

A high acceptance rate is a warning, not a win. Early checks were tuned on a handful of castle frames and threw away most of the town. Later, a fallback that refilled empty lake shots quietly overwrote good water maps, so Gemini drew lakes in forests because we told it to. The rule now: keep the last good version until the new one passes, and never trust a report that could not have failed.

Reject sheet. Each pair shows the photo, the drawing, and the checks it failed: missed water, invented structure, layout drift.
Invented structure on open water at canvas scale. The final stage detects objects inside the water mask and paints them flat before publish.

Where it is now

Renders are approved and locked as capture-v1 (152 shots). Water masks are approved with bridges cut out. Style A3 is chosen. About 124 training drawings are accepted, every one checked by eye. The pipeline is packaged as a command-line tool with city cards, stage commands, spend caps and gates only I can open.

Next is training the student LoRA on the accepted pairs, then a seamless pilot around the harbour and castle, then the full test map, then deep-zoom tiles on Cloudflare R2. Zürich starts from the same skills once Rappi proves the loop.