⭐ Starforge is a pixel art & animation studio that runs in your browser.
Today you can send someone a link and draw together!
/r/<id> opens a shared room. Two browsers sharing the same canvas. Close both windows, come back later, and the room is still there.
The interesting bit is that the relay doesn’t need to remember everything forever.
Every stroke gets a sequence number. The latest canvas is periodically folded into a snapshot, while the last 1000 operations stay around for catch-up. Rejoin after a short absence? Replay the missing strokes. Gone for too long? Get one fresh snapshot instead.
Rooms have a few hard edges too: max of 100 rooms in memory, 14-day expiry and 20 creations per IP per hour.
Receipts:
- 708 unit tests
- 25 Chromium E2E
- zero production dependencies in the core
Next: making reconnects less forgetful.
Comments 1
This is a really cool project, it’s incredible !
Sign in to join the conversation.