Log in

No account? Create an account
Weekend hack: Shared whiteboard in JavaScript - brad's life — LiveJournal [entries|archive|friends|userinfo]
Brad Fitzpatrick

[ website | bradfitz.com ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Weekend hack: Shared whiteboard in JavaScript [Mar. 14th, 2005|03:50 pm]
Brad Fitzpatrick
[Tags|, ]

My adventures with XMLHTTPRequest and a never-ending HTTP response:

Draw and chat with your friends: (or play pictionary!)


Just a prototype. Requires FireFox at present. IE is lacking a number of useful features.

Soon to be added:
-- named spaces, so people can make their own space w/ friends, and not fight tons of people on the net for drawing
-- colors / color picker
-- brushes
-- infinite board
-- see nicks, not IPs, in chat
-- server-side saving of old wiped images (so clients can see last 20 images)


[User Picture]From: eli
2005-03-14 11:52 pm (UTC)
So like....MS NetMeeting?

Heh...just fucking with ya. I haven't checked it out yet, I'm sure it's cooler.
(Reply) (Thread)
[User Picture]From: boggyb
2005-03-14 11:56 pm (UTC)
I've finally found a reason for me to get Firefox.

(Win2k + IE6, only spyware I've ever been hit by are cookies)
(Reply) (Thread)
[User Picture]From: bitwise
2005-03-14 11:59 pm (UTC)
Amazing how bleeding edge cool tech can make highly educated professionals look like five year olds fingerpainting and cutting each other's hair.
(Reply) (Thread)
[User Picture]From: taral
2005-03-15 12:02 am (UTC)
Awesome. Neverending responses mess up proxies though.
(Reply) (Thread)
[User Picture]From: dakus
2005-03-15 12:03 am (UTC)
slicker than owlshit!
(Reply) (Thread)
[User Picture]From: curbside_yogini
2005-03-15 12:14 am (UTC)
lol new entertainment for the evening!
(Reply) (Thread)
From: pinterface
2005-03-15 12:23 am (UTC)

Congratulations on creating the first web page to make my copy of Firefox suck up over 300MB of RAM more than it already was! (Granted, I've only had it for a week.) Probably could have gotten higher, but I ran out of pagefile. ;P

(Reply) (Thread)
[User Picture]From: iamo
2005-03-15 12:31 am (UTC)
Heh yeah, this is cool, but it'd be cooler if it didn't absolutely destroy my machine.
(Reply) (Parent) (Thread)
[User Picture]From: chris
2005-03-15 12:42 am (UTC)
huh i was wondering what happened to firefox.
(Reply) (Parent) (Thread)
From: sheehan
2005-03-15 12:40 am (UTC)
mine claimed 830 megs... i'll stick to MS paint :)

(Reply) (Parent) (Thread)
[User Picture]From: avatraxiom
2005-03-15 02:37 am (UTC)
Very streange. My Firefox is fine. I'm on 1.0.1 on Linux, though. Maybe it's something in the Win32 GFX, or something that was a problem some time before 1.0.1.

I do recall a problem with animated GIFs in much older versions -- it could be something similar.

(Reply) (Parent) (Thread)
[User Picture]From: jojobear99
2005-03-15 03:13 am (UTC)
least it even loads in firefox... ;-)
(Reply) (Parent) (Thread)
[User Picture]From: denshi
2005-03-15 12:48 am (UTC)
Sweet hack!
(Reply) (Thread)
(Deleted comment)
[User Picture]From: youngoat
2005-03-15 02:00 am (UTC)
I agree with both of these statements.
(Reply) (Parent) (Thread)
[User Picture]From: loganb
2005-03-15 01:20 am (UTC)
It is far more useful to show IP. Why, I just ran into someone from my school 'cause they're on IP block is 137.112...
(Reply) (Thread)
[User Picture]From: yiyi
2005-03-15 02:06 am (UTC)
(Reply) (Thread)
[User Picture]From: jes5199
2005-03-15 03:19 am (UTC)
i was playing with this sort of thing
and generally i found that i had more luck getting the damn thing to work at all by using lots of tiny complete requests, rather than holding a connection open.
(holding a connection open had a habit of crashing firefox, crashing apache, crashing php, etc etc)
(Reply) (Thread)
[User Picture]From: noogz
2005-03-15 03:32 am (UTC)
that's super cool!! I'm glad i have firefox...

although you might want to make the thingy saying how many people are drawing a little bit bigger. I clicked in, and saw this cool penguin picture, and doodled, not realizing someone else was doodling. OOPS!!

sorry!! :(
(Reply) (Thread)
[User Picture]From: jarodrussell
2005-03-15 05:38 am (UTC)
So cool!
(Reply) (Thread)
[User Picture]From: czircon
2005-03-15 09:54 pm (UTC)

Dude, you should totally incorporate this into LJ somehow. Like, give everybody their own whiteboard with custom friends group access. And stuff. (Paid users only, of course!)
(Reply) (Thread)
[User Picture]From: firelegend
2005-03-24 03:42 pm (UTC)
Doesn't seem to work in firefox for me :(
(Reply) (Thread)
[User Picture]From: repalviglator
2005-10-23 06:02 am (UTC)
Did you ever get anywhere with this? The link isn't working for me. I was interested in having a free web-based whiteboard. I think that would be pretty sweet.
(Reply) (Thread)
[User Picture]From: brad
2005-10-23 02:24 pm (UTC)
Reload this journal entry.... I updated the URL to remove the port number.
(Reply) (Parent) (Thread)