JavaScript to TD

Hello to all
Excuse me, I need such an effect to record some training videos. But after all the research, I found a project that draws a smooth line exactly like that, how can it be imported into Touch Designer so that we can use it, I don’t know JS language If we can enter it into TD, for example, I can use the hand instead of the mouse

You can try to run the JavaScript-based project inside a Web Render TOP and interact with it via the existing interactMouse and interactTouch methods (webrenderTOP Class - Derivative). You can invoke those methods and feed them data inside one of the various Execute DATs, depending on the input source. You’ll probably need to learn a bit of JavaScript / web stuff to make it behave like you’d expect inside TD, like load correctly from the file system, remove the background, etc…