Tutorial 5.1 BONUS – Use the Table DAT with Python. Control TD with a Website using WebSockets

Hey! In this beginner series, we’ll go over how to use WebSockets to control TouchDesigner with a website in real-time and vice versa. We’ll cover step by step how to implement everything from scratch. We’ll also cover some programming concepts assuming little to no experience with programming.

In this Bonus tutorial, we’ll go over how to programmatically read and write to a Table DAT using Python. We’ll then expand upon the previous tutorial, and set up our WebSocket handler to be able to receive multiple values.

The final component that we’ll create in TouchDesigner is available for download on my Patreon: https://patreon.com/tblankensmith.

0:00 Overview
1:54 Setup WebSocket Heart Beat
2:27 Sending our First Message
2:50 Reading JSON
3:52 Getting our Value into a TD Constant CHOP
6:56 Overview of dictionaries in Python
8:50 Overview of Next Steps

About The Author

You might be interested in