Skip to content

Show HN: Draw a sketch and watch it back again with persistent WebStreams

inkdot.instantdb.dev
1 pointdwwoelfeldiscuss
On HN

Made this game as a testing ground for persistent WebStreams that we recently released at InstantDB.

We created the streams to make it easier to build apps that stream data from an llm to the client, but they’re fundamentally a single-writer, multiple-reader data structure.

The pointer events are stored as json lines in the stream, and then the replay reconstructs shapes from the events as they get played back.

The code lives at https://github.com/instantdb/inkdot

Comments

No comments yet.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.