Skip to main content

Python in TouchDesigner | OP Class

· 8 min read
Matthew Ragan
Pixel Pusher

The OP Class

Taking some time to really understand how you might take better advantage of classes when using Python in TouchDesigner is well worth the time and effort – even if frustrating and intimidating at first. Chances are, you've already used some class methods without even knowing it, and here we're going to take a quick opportunity to better understand them, and how you might use them.

Python in TouchDesigner | Executes

· 15 min read
Matthew Ragan
Pixel Pusher

Now that we know a little more about how functions work we're ready to dig in a little deeper when it comes to working with execute DATs. There are a number of different executes, and they all work on a similar principle – a target operator is watched for changes, and when a change occurs a function is executed. Let's first look at a very simple example with a CHOP execute.