Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Awesome Python + TouchDesigner Awesome

A curated list of Python-focused resources for TouchDesigner — resources that bring Python and TouchDesigner together - either extending TD with Python scripts, integrating external Python projects into TD, or bridging both worlds.

Important

The Python ecosystem is ever-evolving. TouchDesigner's Python environment often lags significantly behind the broader Python ecosystem — not just in CPython version, but also in library compatibility, tooling, and modern best practices. If you're working on Python-intensive projects, we recommend also consulting modern Python resources to stay aware of current best practices and available tooling.

Tip

Do you need help with Python + TouchDesigner projects? I can help with the design and implementation of your project. Project analysis, infrastructure design, automation, quality assurance, packaging and everything in between. Contact me on LinkedIn

Contents


References

Important

Note that while docs.derivative.ca is the official reference, details about TD's Python integration may be outdated, as it isn't open for community contributions. Cross-referencing with other sources is recommended.

Guides & Articles

Courses & Workshops

Environment & Package Management

  • TDPyEnvManager - The official custom component that helps manage Python environments as well as Conda environments
  • TD PIP - Component that installs PIP directly in to a TouchDesigner project and dynamically downloads and import the libraries in
  • TD_PyPaIn - [Deprecated] A collection of components to handle virtual environments and external python packages from within TouchDesigner with a hands-off approach (includes TD_PIP)

Libraries & Tools

  • cuda-link - Zero-copy GPU texture transfer between TouchDesigner and Python processes using CUDA IPC.
  • graph_explorer - Python-based tool for programmatically creating and manipulating node networks in TouchDesigner
  • td-completes-me - A combo TOX/VSCode extension that leverages the Language Server protocol to send a list of context-sensitive auto-completion items to Microsoft's Visual Studio Code.
  • TD_Github - Component for Touch Designer to clone and pull a GitHub repository in your working directory.
  • TD-State-Machine - A robust, table-driven Finite State Machine component for TouchDesigner
  • TouchPy - High-performance Python toolset for working with TouchDesigner components headlessly via the TouchEngine SDK. It provides GPU-accelerated data exchange (CUDA/Vulkan) for TOPs, CHOPs, DATs, and parameters.
  • NDIForPython - Unofficial Python bindings for NDI® — send video frames over the network from Python to TouchDesigner, OBS, Resolume, vMix, and any NDI-aware app. ctypes wrapper around the NDI Runtime
  • TopArray - Python module designed to facilitate the interaction between Python/PyTorch tensor operations and TouchDesigner TOPs. It provides a workflow for referencing CUDA memory from TOPs as tensors and for copying a tensor's data to a scriptTOP efficiently.

Caution

Modern AI tools are known for their overconfident but misleading results and tremendous negative environmental impact.

Use them responsively.

AI Tools

  • ComfyUI-TD - ComfyUI to TouchDesigner custom node for real-time streaming of generated data. It supports sending images, videos, point clouds (traditional PLY / Gaussian Splatting PLY), and audio from ComfyUI into TouchDesigner.
  • LOPs (Language Operators) - Native operator family for TouchDesigner — agents, tools, speech, retrieval, generative workflows, stateful automation, and authorable systems, built directly into your TD project.
  • td-snapshot - TouchDesigner .tox plugin to extract patch info into text for input to LLMs
  • td-gemini-toolkit - Collection of custom TouchDesigner Components that use the Google Gemini API. Focused on an library independent workflow, this set of components is a batteries included collection that requires no additional libraries or dependencies to get working.
  • TDDepthAnything - TouchDesigner implementation for Depth Anything and Depth Anything v2 with TensorRT monocular depth estimation.
  • TD-ONNX-EX - Examples of using onnxruntime in TouchDesigner
  • TouchDiffusion - TouchDesigner implementation for real-time Stable Diffusion interactive generation with StreamDiffusion.

MCP Tools

Tip

MCP (Model Context Protocol) is an open-source standard for connecting AI applications to external systems.

Using MCP, AI applications like Claude or ChatGPT can connect to data sources (e.g. local files, databases), tools (e.g. search engines, calculators) and workflows (e.g. specialized prompts)—enabling them to access key information and perform tasks.

Think of MCP like a USB-C port for AI applications. Just as USB-C provides a standardized way to connect electronic devices, MCP provides a standardized way to connect AI applications to external systems.

https://modelcontextprotocol.io/docs/getting-started/intro

  • Embody - MCP server for TouchDesigner — build, wire, and debug networks with AI. Plus git-diffable externalization.
  • TD_Builder_alpha - Key-free MCP servers that let LLMs build real TouchDesigner networks: local knowledge base (no API keys), offline .toe/.tox generation, live TD editing. Eval-gated - 636/636 build-token-exact.
  • td-mcp - TouchDesigner MCP server with node CRUD, Python execution, and planned extensions for viewport capture, GLSL authoring, and scene scaffolding. Fork of 8beeeaaat/touchdesigner-mcp. Maintained by NYU Media Commons.
  • TDPilot - TouchDesigner AI assistant (112 MCP tools, correctness-first brain: plan -> execute -> validate -> rollback, 656 operator cards, sync diagnostics, read-only cockpit UI)
  • touch-mcp - High-performance MCP server for TouchDesigner — live control via WebSocket with 29 tools (nodes, parameters, connections, CHOP/TOP/SOP/DAT data, timeline, render, layout, batch). Python + FastMCP
  • touchdesigner-mcp - MCP server for TouchDesigner

Contributing

Note

This list is a work in progress and may contain inaccuracies or miss important resources. Contributions are welcome — open a PR if you see anything to improve.

Please make sure that a PR only adds - updates - deletes a single resource.

The ordering in the sections are not exact, but loosely following:

  • Derivative resources first
  • Other resources sorted alphabetically (case-insensitive)

About

Curated list of awesome Python - TouchDesigner resources

Topics

Resources

Stars

6 stars

Watchers

0 watching

Forks

Used by

Contributors