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
@aral oh no we killed it
@paillp @Adrian Added data type and bounds checking on the row and column index values. That should avoid that issue.
If you find anything else, please do let me know (or file an issue at https://codeberg.org/aral/draw-together if you get a chance). Appreciate it :)