trail

open val trail: Float

How much of the previous frame survives, 0 to just under 1.

Zero clears the canvas every frame. Higher values leave the last frame faintly behind, which is what turns a moving dot into a streak. Above about 0.95 the picture never fully clears.