Best drawing code?

Hi all,

I’ve seen several different people share code that lets you draw things on screen with your fingers.

Is anyone here familiar enough with the various versions to help me find the one best suited to my purposes?

I need to be able to pop up a modal window over the other elements in my project, and have a simple drawing interface in that window. Handling the popping up and modality and all that–I can do all that. But I need some code to display a functional drawing area, a color picker, a brush size control, and an eraser.

It would be way rad if I could use some of the drawing code that’s already on these forums for this task. I could sift through each of them by hand, of course, but if someone here already knew them well enough to point me at a specific post that was best suited, that would be awesome.

Any help?