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

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

1 points dwwoelfel 7 months ago 0 comments

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton