how to smoothly fade the drawing I'm currently drawing?
Hi everyone! I'm currently trying to use the face tracking to draw. And managed to make it work. But I'd like my drawing to fade as I draw.
The only solution I've found so far is to generate a background (opacity 40%) every few seconds to give the impressions that the drawing is fading. But the result is pretty jerky. There probably is another solution, isn't it?
Many thanks for your answers!
One idea would be to draw with particles instead of jit.lcd: each particle fades out & die.
By the way, there are several problems in your patch. The jit.alphablend doesn't make sense as you use it, and the "route mouse..." part of the patch should probably be connected to the rightmost output of a [jit.window] or [jit.pwindow]. I would suggest you tackle the idea of the fading drawing/fading ink separately. When you have that work, add the jit.grad and face tracking part.
Try this, using feedback.
Oh, Jean-François, that helps me so much! Thanks a lot!
And thanks for your pieces of advice as well! I'll do this indeed.