Chiming in here, as my issue is related – Not strictly the ‘light trail’ effect per se, but rather to create (the illusion of) a continuous path of arbitrary length in 3d space
The approach I have tried is to use jit.gl.sketch to draw a shape in 3d space using stroke commands. Unfortunately the system slows down quite drastically as the path grows longer – No doubt as a consequence of the fact that the system is defining an ever longer path based on freehand gestures (displaylist 1 has some effect but it is still slowing a lot).
So I guess the problem is to either render the path to a texture at some point before the path bogs the CPU/GPU down and then somehow place that texture in the render context so it gives a good sense of continuity, or alternatively to find a more efficient way to draw (or perhaps define) paths of arbitrary length possibly using a some other method. Unfortunately, I haven’t really managed either yet.