Personal project Web City
I built Web City for fun. It is an isometric city of the public internet: each lot is a real site, related sites share a neighborhood, and the drawing is original pixel art. The map on the live site is called The Internet Atlas.
What it does
You wander a city. Drag, mouse wheel, or a two-finger pinch moves the camera, and the zoom stays locked to the point under your fingers. Arrow keys pan. Plus and minus zoom. Home resets the view. Slash opens search.
Hover a lot and its name fades in at the top of the screen. Click it and the real site opens in a new tab. Search flies the camera to a place and lights that lot. A short list in the corner shows the latest additions.
The picture is a canvas. The names are HTML. Every place is a link in the tab order, with an accessible name that includes the site and its neighborhood, and the canvas itself is hidden from assistive technology. A skip link jumps straight to the map. The stylesheet also covers reduced motion and forced-colors mode.
A linear Index of the same atlas is already built, as a directory of every place. The header that shows its toggle is hidden, so the city owns the screen. The links in the tab order are the path available today.
How it works
The public site is a folder of static files. HTML, CSS, and a few scripts. There is no framework and no build step. The browser never goes looking for new sites. Growth happens offline, then ships as data. That keeps the map cacheable, and it keeps API keys off the page.
Catalog. One data file holds the neighborhoods, coordinates, lot size, year, role, a one-line description, a field note, and the canonical URL.
Drawing. A Canvas2D renderer culls to the viewport and snaps the camera to pixels. An earlier version transformed a giant DOM world. It jittered and left black gaps, so the map moved to canvas. Labels, search, zoom, and the screen-reader links stay in the DOM.
Level of detail. The overview draws thumbs no wider than 256 pixels. Full art loads only past 22% zoom, and only for the nearest 40 lots on screen. Off-screen bitmaps are dropped. Zoom runs from 4% to 160%.
The ground. Neighborhoods sit apart, like separate campuses. Inside a neighborhood, lots share edges so the district reads as one place. Empty cells inside a block are grass. Each sprite is clipped to its own footprint, so a tall building cannot paint over its neighbor.
How a property gets its size
Every footprint is square. A place occupies one lot, or a 2×2 block. I assign that size from a curated list of public reach and commercial weight. Global platforms and the household names in a category take the larger square. Both of those ranks draw at the same 2×2 size. Every other site, including the place added each day, stays on a single lot.
The street grid can override the list. A road cuts through every fourth cell, and a large building has to sit at the top-left corner of its block without crossing that road. A neighborhood holds at most one large property per block. When no connected cell is left for another 2×2, that property drops to a single lot so the district stays one piece.
How a landmark gets made
A property has to explain the site. Google is an observatory: a lens, and the four search colors built into the stairs. GitHub is a harbor, with the mark carried in the sails and the gate. The identity sits in the architecture, the materials, and the activity on the lot.
I hold the pictures to a written system. Crisp pixel art, dark structural color, warm practical lights, transparent background. The front and back edges stay low so the building behind remains visible. Each property gets its own palette. A neighborhood that collapses into the same building with a swapped sign gets rejected, and so does a tile whose background knockout chewed through the walls.
One place a day
A GitHub Action runs at 06:00 UTC. It picks a candidate from a popularity list and a curated seed file, assigns a neighborhood, writes a short research brief, generates the art, knocks out the backdrop, places the lot on a connected cell, and runs a validator. The validator checks unique coordinates, a PNG for every id, and that each neighborhood stays internally connected. A blocklist and a live HTTPS check keep dead domains and brand satellites out. If a candidate fails, the job tries another one in the same district.
The v1 plan is a city of about 2,000 lots. It is at 490. I can still add a landmark by hand when I want a specific one. The daily job is there so the city grows when the laptop is shut.
What this is evidence of
This is a toy, and I am glad it is a toy. The useful part for a client or a hiring manager is the production system around it. I designed the interaction, directed the art, and built the renderer, the data model, the checks, and the job that ships the work.
A product decision with a reason. A live crawler would have been slower, harder to cache, and full of secrets. The public map is a static atlas. Discovery and image generation happen before deploy.
Accessibility as the input model. A canvas map still has a skip link, keyboard pan and zoom, visible focus, and a real link per place. The name and the neighborhood are in the text.
A performance fix aimed at a failure I had already seen. The DOM camera jittered, so the renderer changed. Culling and a hard cap on full-resolution decodes came with that change, aimed at phones.
Art direction with gates. Research, a uniqueness check, install, and validation are separate steps. A pretty picture that breaks the footprint, the palette, or the neighbor rule does not land on the map.
Something that runs without me. The same checks I use locally run in the scheduled job. GitHub Pages publishes the static folder to webcity.careyestesdesign.com.
What I would do next
Deep links that restore the selected place, the zoom, and the map center.
Put the Index toggle back on screen. The directory view is already written.
Streets that mean a relationship: ownership, a shared protocol, a common audience.
Stream tiles once the city passes a couple thousand lots, which is the v1 target.
Citations on the field notes, and a way for a visitor to flag a wrong one.