Tutorial 4 – Send Data from TD to a Website. Control TouchDesigner 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 tutorial, we’ll go over how to send WebSocket messages from TouchDesigner to a website. We’ll start off by sending slider data in real time.
The final component that we’ll create in TouchDesigner is available for download on my Patreon: https://patreon.com/tblankensmith.
0:00 Setup WebSocket DAT
2:14 Overview of Python Documentation for WebSocket DAT
2:27 Sending our First Message
4:20 Setting up a TD Slider to Trigger our Script