Using Bézier curves, but with variable width, can give nice "handwritten" feel to it - http://szimek.github.io/signature_pad (works best on touch devices).
Not saying the author of that pad is evil or anything, I just questioned my own impulse. And stopped drawing. :)
Good idea though, I'll have to add form for credit card details :)