Created using Unity VFX Graph, the trailing line effects can follow the target point and can be modified in length or jitter degree, etc.
3 VFX Prefabs:
Trail_Ribbon:5 ribbons trailing effect
Trail_Line:With a twisting trailing effect
Trail_Line 2:No twisting trailing effect
2022.3.3f1
Render Mode:URP
Requires Unity Packages to be installed: Visual Effect Graph