Tuesday, April 15, 2008

Sketch Pad



We'll see if this works. It's a nifty Flash Actionscript 3.0 sketchpad. I got the code here. It's open source from google, actually, but Henry Jones gives sense on how to implement it. However, 4/17) Henry Jones article seems to have vanished!

Here's a drawing I did before I'd uploaded it. You have to draw slowly to get decent line quality.



If it doesn't work I'll fool with it after lunch. If using firefox you have to enable popups. It really does download as a little jpeg. Maybe we should have a little contest. Tell me if it works for you.

16 comments:

Linda said...

It worked! It worked! This is very great. OK, will we have a corntest? How will it work?

Norman said...

What would the prize be?

Sally said...

I've got something further going on with a drag and drop scenario- let me see if I can get it to work. Kindles are not in stock so don't get your hopes up for that.

stray g said...

Works great! Can everybody else see if I draw something, or am I the only one who sees it and then we mail you the sketch?

sg said...

p.s. cracking up at the dendrite name.

norman said...

Not sure what you mean by kindles, well hey then what about a indian bead belt for prize?

Sally said...

The problem with belts is they're not one size fits all. But if they eat enough chocolate maybe one size will fit all. See my contest on Whinsey's blog.

Stray g, at this point no one sees your drawing. That would take more php than I'm currently capable of.

Mean Jean said...

Fun! But it malfunctioned when I was down near the words and the pencil wouldn't stop.

Sally said...

mean jean, I had the same problem but I think it's fixed now. I wish your blog allowed comments. Those apples looked so wonderful.And that pansy you posted is a beauty.

Jesse said...

Yeah, if the pencil gets stuck in "draw" mode just click somewhere so it can see you lift the pencil back up off of the paper again.

Otherwise, I maded this. :]

Linda said...

Oh Jesse, loverly.

Aunt Mildred said...

Wait a minute. You can leave comments on Mean Jean's blog. I just left one on "Peanutbutter and Jelly #1."

Mean Jean said...

Linda I think Sally was visiting my Traveling Grammy and Bompie blog. We had to stop the comments on it because people kept trying to fix my organ or sell me gold. I'm going to try drawing again.

Mean Jean said...

Well pooey. I'm not anywhere near as smart as Jesse. I drew a stupendous portrait of V.P. Cheney and I can't figure out how to share it with the universe.

Sally said...

Jesse, that's very nice. mean jean, you can download the drawing to your computer- it comes out as a jpeg. Then you can do what you want with it. I'm trying to figure how to send it directly to a server.

basitjee said...

I write an application in AS 2.0.It is a drawing sketch pad and I found on internet that help for a beginner to develop a sketch pad is not proper.So here is the link where you can download the zip file and also can read the instructions on the same page.
Source code included
http://fb.esnips.com/doc/b698295e-a3d9-40c0-964d-889057a7a7e2/sketch-pad