PDA

View Full Version : Doodling on web site


johnsamey
03-23-2005, 09:35 AM
First of all hello everyone, I wasn't quite sure where to put this question so...
I'm planning to do some kind of a drawing board on my web site. I was thinking of 800x600 white box, where visitors can draw freely with simple click-and-drag system, just like using pen in Paint. And of course the board has to be cleared from time to time. What's the simplest way to do this?

coothead
03-23-2005, 03:26 PM
Hi there johnsamey,

and a warm welcome to these forums. :)

If you are not adverse to using an applet
on your web site, check out the attachment. :cool:

johnsamey
03-23-2005, 04:04 PM
Thanks, really cool applet.
But I was thinking something more simplier. Like when you click you get a black dot on screen, dragging mouse makes a line. And the drawing board should update in real-time, so everyone can see each others drawings. Is that even possible?

coothead
03-23-2005, 04:21 PM
Hi there johnsamey,

This is not really a javascript thing. :)
Have you tried a 'google' search?
Here is one I found at www.flashkit.com (http://www.flashkit.com/movies/Basics/Drawing/Doodle_D-Brooke_S-9874/index.php).:cool:

johnsamey
03-24-2005, 07:42 AM
Yes, I have tried using Google. Just couldn't find the right words. And thank you again:)
So I'm going to use flash with this. Just one question about flash and then I'm gonna stop bugging you and everyone else with this. Is it possible to read and save the image on server regularly using flash? I mean like this:

Program starts, image is read
You draw something
After some time, let's say 10secs, the image is saved on server and loaded from server, so you can see what other users have drawn
You draw some more
10secs passes again, image is saved and loaded
etc etc...

The idea is to make a drawing board where multiple "artists" can express themselves simultaneously.