I'm trying to make a drawing app in which the drawn forms kind of "come to life" and will keep moving a bit so that the drawing looks like it's animated.
I started with this sketch by R. Ramirez found here: https://cycling74.com/forums/periodically-capture-jit-gl-sketch-to-texture-to-cope-with-strokelimit
and added a bit which gets a random point and adds a deviation to it. I could easily do a drawing app by making a poly for each new form.
The only problem is, sometimes it seems to suddenly get/set weird values, creating these spikes in the line.