Trim path like after effect

Hi,
I would like to know if there was a ways to do a trim path animation like in after effect. Because i don’t know how to make things dissapear.

Hello. Great question!
Smooth_isfast made a cool tutorial " Drawing with Circles inTouchDesigner" on youtube using feedback loop and threshold. However it’s not perfect because if you the position of the circle changes too quickly or the radius is too small, the circle in between frames will be very much visible. I am looking for a way to create a feedback without any blur with sharp edges just like trim path in After Effects.