Edge & Blob Tracking Visuals – Turning Motion into Lines [TouchDesigner Tutorial]

**Full Script & Project File**
All custom Python scripts used in this tutorial including the motion trail, edge tracker, and line drawing system are available on my Patreon. http://patreon.com/Xtalcalx

Hello, this is Xtal!
In this tutorial, we transform motion into flowing trails of light using edge detection and Python scripting inside TouchDesigner.

Three different script networks are combined to generate evolving visual layers typographic trails, fine-edge tracking, and line connections all reacting to the contours of your input video.

Through this process, motion data becomes a dynamic visual fabric where letters, paths, and shapes continuously trace and dissolve, forming an organic, data-driven aesthetic.

Core Steps Covered
– Building edge extraction with threshold and blur
– Creating letter-based motion trails via Script TOP
– Generating fine-edge character tracking with random jitter
– Drawing dynamic line connections that react to movement
– Compositing all layers for a final cinematic output

Control Guide
– THRESH adjusts the contour sensitivity
– POINTS increases density and line intersections
– FADE controls trail length and persistence
– JITTER defines the organic roughness of the lines

Script Setup & How to Use

Script 1: Typographic Trail – generates fading text traces that follow motion edges.
Script 2: Fine-Edge Tracking – places letters in real time along micro-contours.
Script 3: Dynamic Line Tracer – connects sampled points per frame to form living line structures.

All Python scripts used in this tutorial are provided.Simply paste each code block into the onCook callback of its Script TOP while following the video, and you will reproduce the same results.

Steps to follow(1~6)

1. Add three Script TOPs and name them script1, script2, and script3.

2. In each Script TOP, enable Python callbacks and paste the provided code into the onCook function.
.
.
.
http://patreon.com/Xtalcalx

About The Author

You might be interested in