Example: Trail
Push the current position onto the end of a list every frame and drop the oldest entry once the list exceeds a fixed length, then draw every stored point with size scaled by its age.
Push the current position onto the end of a list every frame and drop the oldest entry once the list exceeds a fixed length, then draw every stored point with size scaled by its age.