Pueblo Canvas: A Collaborative Pixel Map of Puerto Rico
Pueblo Canvas is a shared pixel canvas shaped like Puerto Rico. The island is split into its 78 municipios, and anyone can paint on it without an account.
If you're connecting from outside Puerto Rico, you get a short 5-question quiz about the island first. Get 3 right and you're in. Everyone also gets a quick Cloudflare bot check.
How it works
When you open Pueblo Canvas, you see the island drawn on a 1,240 by 402 pixel grid. Each pixel is about 175 meters across. Tap or click a spot and the bar at the bottom shows its municipio and coordinates. Pick one of 32 colors and press Paint. Everyone with the page open sees it right away. Anyone can paint over your pixel, and you can paint over theirs. That's the game.
You get 40 pixels a day. They reset at midnight Puerto Rico time, and the top bar shows how many you have left. One network is capped at 120 a day, so four people on the same Wi-Fi can't all use their full 40. The limits keep anyone from flooding the map.
The leaderboard
Every pixel you place is "alive" until someone paints over it. The leaderboard shows the top 50 by alive pixels, plus your own rank, and updates once a minute. You can spread out across the whole map or try to hold one municipio. Big areas are hard to defend, and small clusters are easier to keep but score lower. There's no right way to play it.
No accounts, no ads
Pueblo Canvas never asks for your email and doesn't store your IP address. You get a random name like "ValienteCoquí412" (you can reroll it 3 times a day) and a cookie with a random player ID.
It does keep your player ID, name and pixel counts, plus a log of every pixel you change with the spot, color, time and a hash of your IP. The hash is a scrambled code, not your real IP, and I use it to enforce the limits, ban vandals and undo their damage. There are no ads or Google Analytics on the canvas, and I don't sell any of it. The full list is in the site privacy notice.
Why Puerto Rico's shape
I'm a solo developer in Puerto Rico, so the island was the obvious pick. You recognize the shape right away, and the municipio borders give it 78 regions people already identify with. Somebody from Ponce is probably going to paint Ponce.
There are no municipio rules, though. You can't claim one and there's no score per town. What people make of it is up to them.
The technical side
It runs on one Cloudflare Worker and a Durable Object with SQLite storage that holds every pixel, every placement and the leaderboard. Updates go out live over WebSockets, and the page re-syncs the whole canvas once a minute in case it missed something.
The map comes from the US Census Bureau's boundary files for the municipios. There's no server of my own. The page and map files come from Cloudflare's edge, but the canvas lives in that one Durable Object, in a single Cloudflare data center.
Try it
Pueblo Canvas is live at sofritoconrecao.com/pueblos and works on phone and desktop. It starts in Spanish, and the language button in the top bar switches it to English.