Hey,
I wanted to share a project I’ve been working on : td-stategraph-fsm.
It’s a graph-based finite state machine system for TouchDesigner, built around a visual state graph editor. States and transitions live as nodes, with a clear execution flow and explicit enter / update / exit logic.
This came out of using (and re-using) a lot of different FSM approaches in TouchDesigner over the years, from parameter-driven logic, to DAT-based state tables, ad-hoc Python controllers.
Over time, I ended up with a pretty clear idea of what I actually needed for my own projects.
The system supports nested state machines, different transition modes, and is designed to stay deterministic. I built a complete custom node editor with complete undo redo feature, alignment etc for more fancyness.
I started a 10 days ago, but since vibe-coding exist i got a bit ahead of myself and at this point it’s basically feature-complete on my side.
I’m currently doing final cleanup and locking the v1 behavior. Once that’s done, I’ll share it publicly on ASSET.
If anyone’s curious, or has strong opinions about FSMs in TD (good or bad), I’m happy to discuss.
(deleted the previous post by miss-click)




