Settings

Theme

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

inkdot.instantdb.dev

1 points by dwwoelfel 5 days ago · 0 comments · 1 min read

Reader

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

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection