7 ms·
Multiuser Sketchpad
- Vekz 16y agoWhere can I get some details on the tech behind this?
- deleted 16y ago[deleted]
- mrdoob2 16y agoWrote a bit about that here: http://mrdoob.com/blog/post/701 http://mrdoob.com/blog/post/701
- tholex 16y agoFeels pretty responsive. I like it. :) Brushes, private rooms, etc? Probably still wouldn't be too useful, but a great proof-of-concept.
- cjoh 16y agoRevenue model: You should make it so that after a certain number of people vote on its completeness, a print can be made and the board gets cleared for the next work of art.
- swombat 16y agoI don't think many people will pay for a canvas full of penises (which is what it's been looking like both times I've looked at it, i.e. yesterday and today).
- rythie 16y agohttp://colorillo.com/ http://colorillo.com/ is good too.
- jjs 16y agoI made one of these last week to play with nodejs and WebSockets. My heavily-unoptimized wire protocol used uncompressed JSON objects sent at each mousemove event on the canvas while drawing, which means it's great fun on the LAN, but would choke any affordable Internet link. It appears that this one solves the problem by limiting the rate at which you can draw—drag the mouse too fast, and it lifts the pencil.
- mrdoob2 16y agoThat's not correct. The drag too fast tweak is there to discourage people scribbling all over the place. The actual "fix" for your problem was to collect commands (mouseMoves) and send them every 75ms instead of sending a command every mouse move. There is also some simple delta stuff to save on BW
- jjs 16y agoIn my case, it's the throughput that was a problem; there was practically zero latency or cost of sending a message using node and WebSockets. I was considering doing some sort of curve-fitting to (lossily) compress the drawing commands. Sending a couple points to describe a quadratic or Bézier curve is a lot nicer than hundreds of points to describe tiny line segments. And, as luck would have it, <canvas> draws both natively! :)
- axod 16y agoI made one of these 10 years ago (Java Applet). Great fun, but I have no idea how to make it into much more than a fun toy.
- tensafefrogs 16y agoJust use google docs: https://docs.google.com/drawings/edit?id=1ViOs4u4_uaPoDzwnd4QijLMz6yfOqClaN3339iq-e8s&hl=en https://docs.google.com/drawings/edit?id=1ViOs4u4_uaPoDzwnd4...
- antidaily 16y agoYou spelled YH! wrong.
- antidaily 16y agosome asshole keeps scribbling over my penis drawings.
- prawn 16y agoThat's not scribbling...
- jessor 16y agoIt's actually pretty neat. Enjoying it for 15 minutes. Now if only there were a tad less penis and vandalism guys awake...
- mrdoob2 16y agoThere weren't many penises, until it got posted to Hacker News... Some iterations from the past days: http://twitpic.com/photos/mrdoob http://twitpic.com/photos/mrdoob
- TomasSedovic 16y agoWhat fascinates me is that it took about a minute to show a very striking resemblance to the surface of school tables.
- bootload 16y ago"... The first version of my code was pretty much brute force, every user was sending their X,Y position every time they moved their mouse. Yes, that's 'a lot' of data per second. There has been 50gb of data transfered in just 4 days :P ..." also read the related blog post ~ http://mrdoob.com/blog/post/701 http://mrdoob.com/blog/post/701
- peregrine 16y agoHe doesn't mention what he did to get past this issue other then link to top. Any ideas on how?
- mrdoob2 16y agoWell, I keep doing things as soon as I came up with them... So far: 1. Collecting changes and sending them every 75-100 ms. Instead of as soon as the occur. 2. Deltas: If the mouseX is 800 and in the next frame is 801, Just send 800,1 and reconstruct the data on the peers side (800,1,-1,2,-3). 3. I the value is 0, don't write it. "1,,1" These are client side. Now I need to take a look at the server code..
- sdh 16y agofinally, someone made a penis drawing app
- cmelbye 16y agoIs the code up anywhere? Would be interesting to look through and hack on.
- nso 16y agoMixing it up... doing it upside down :D http://the-web-has-gone-mad.com/mrdoob.com/projects/multiuserpad/ http://the-web-has-gone-mad.com/mrdoob.com/projects/multiuse...
- albemuth 16y agoI'm guessing not everyone is using a mouse, what are the more precise people using?
- datasink 16y agoDrawing tablets, I imagine.
- stuntgoat 16y agoCan I have an eraser please?
- jessor 16y agoYou should definitely build something around this.