So given it’s Saturday night, I thought I’d have a little fun with Kitten and make a tiny collaborative drawing toy.
You have a 20×20 grid and only black and white to draw with and everyone shares the same canvas.
https://draw-together.small-web.org
Have fun + looking forward to seeing what we all, umm, draw together.
PS. It took about 60 lines of code.
View source: https://codeberg.org/aral/draw-together
A big thank-you to @paillp for poking the Draw Together Kitten toy with a stick and thereby discovering a big-old hole in Kitten’s new experimental Streaming HTML code where I was assuming (remember, kids, never assume…) the data was valid JSON.
I’ve now fixed that and deployed a new version of Kitten that doesn’t suffer from that issue.
If you do discover that you can crash the app and/or Kitten by doing unspeakable things to it, please file an issue or ping me here.