Drawing a line that fades away behind it with jit.gl.sketch
Trying to recreate something I have built in openframeworks at some point using jit.gl.sketch. I currently have two sketch objects, each one a different layer, and within them, I want to have a line drawn, and very slowly fade from the last point in the line on (essentially just a point with a long tail). I tried writing a shader to work on just a moving point, but relying on framerate ending up being an issue.
In jit.gl.sketch, is there a way to draw lines independently, allowing their individual manipulation and removal?
Check this tutorial
https://cycling74.com/tutorials/creating-a-sketchpad-for-jitglsketch