I was thinking to redraw the previous lines with larger
strokeWeight() and semi-transparent color.
I can't think about another way to do it but redrawing each previous dots/lines.
For example in that Fireworks simulation, besides the current
point(), let's say I make 12 more below it.
Alpha attribute ranges from 0 to 255. Divide 256/13 and round it to get 20.
So each 1 of those 13 dots gonna have an alpha w/ 20 transparent value apart from each other.
The farthest the lesser! And latest one 100% transparent to erase it!
Similar to it,
strokeWeight() will get bigger according to distance difference.
Only this time a shorter fraction value.
Well, that's my idea. No easy tricks unfortunately.