Idea · Jul 2, 2026
Live Multiplayer Pixel Canvas
A browser-based collaborative pixel art canvas where every click broadcasts to all connected users in real time via Supabase Realtime, with a Claude API sidebar that suggests color palettes based on the current composition.
What it would do
Build a real-time collaborative pixel art canvas inspired by r/place, where any number of users can paint pixels simultaneously with changes propagating to all browsers in under 100ms using Supabase Realtime broadcast channels. A fixed-size grid (e.g. 64x64 or 128x128) is stored in a Supabase Postgres table; each pixel-click event is broadcast and applied optimistically on the client. A sidebar button calls the Claude API with a compact hex snapshot of the canvas and returns a suggested 5-color palette that harmonizes with the current composition. An optional time-lapse mode replays the full edit history in chronological order.
Key features
- Real-time pixel broadcast to all connected clients via Supabase Realtime channels (<100ms latency)
- Persistent canvas state in Supabase Postgres; each row is one pixel with x, y, color, user_id, timestamp
- Claude API palette suggestion: hex grid snapshot → color harmony prompt → 5-color swatch returned
- Time-lapse playback replaying the canvas edit history in order
- One-click PNG export of the current canvas state