4 ms·
Neat, there's a multi-user mode: http://jspaint.ml/#session:test http://jspaint.ml/#session:test
by wybiral 9y ago
Neat, there's a multi-user mode: http://jspaint.ml/#session:test http://jspaint.ml/#session:test
- exikyut 9y agoIt's currently being destroyed. It's AWESOME
- mitchellst 9y agoCome for the 90's nostalgia. Stay for the websocket fight in a phonebooth.
- wybiral 9y agoThat was chaos...
- alain_gilbert 9y agoI immortalized HN creativity :) https://imgur.com/a/YJFdW https://imgur.com/a/YJFdW
- AldousHaxley 9y agoCool! I built something similar a while back. A bit more structured (creating accounts and such), but with a bigger variety of drawing tools, and some social features like following, project collaboration, upvotes/downvotes, and chat. https://www.formgraph.com https://www.formgraph.com
- notatoad 9y agoI just opened a multi-user mspaint session on my phone. The future is now.
- 1911z 9y agoso much fun
- eclat 9y agoThis is amazing, thanks
- ngharo 9y agoThis is fun. Try drawing programmatically: tools[7].paint(ctx, x, y); then run: $canvas.trigger('change.session-hook'); to flush your canvas changes to the server.
- 1j01 9y agoTo do it "properly", wrap it in `undoable`, then you don't need use `trigger`, and you can undo it normally. :) undoable(function(){ for(var i = 0; i < 1; i += 1/10000){ var angle = i * 500; var dist = i * 2; var x = canvas.width * (1/2 + Math.cos(angle) * dist); var y = canvas.height * (1/2 + Math.sin(angle) * dist); tools[7].paint(ctx, x, y); } });