Vibe Coding Encyclopedia

2D motion trails and dash afterimages

Remember the last 0.6s position and draw a translucent replication with color for every 0.035 seconds of space, causing the afterimage to disappear behind the character when dashing.

Category
2D visual effects

Technical terms · Afterimage (ghost trail) · Position history buffer · Time-based sampling (interpolation) · Additive tinted ghosts

Related techniques

Technique document (Korean)