Hi everyone,I'm new to programming with Puck.js and i was wandering if there is a way to send the accelerometer/gyro data to the Touchdesigner software.
Touchdesigner is an interactive design software which can take data trough Websockets, Serial ports, OSC and more, no Bluetooth tho,as far as i know.
I was trying to establish a connection between my Puck.js and Touchdesigner using a Websocket to be able to control the position in a 3d space of a bunch of 3D models with the Puck.js movements.
While I implemented the touchdesigner websocket and the server part and made them work,i'm not able to connect the Puck.js to the server to send the data coming from the accelerometer/gyro.
Is there a way to do it? all i get from the Web IDE is the error: "Websocket is not defined" but i don't get how to solve this problem. Is a websocket the correct way to do something like this? and if not,how should I approach to this problem in the most convenient way?
Thanks so much to everyone who will answer.
R.
Search Options
Types to Display
Espruino
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi everyone,I'm new to programming with Puck.js and i was wandering if there is a way to send the accelerometer/gyro data to the Touchdesigner software.
Touchdesigner is an interactive design software which can take data trough Websockets, Serial ports, OSC and more, no Bluetooth tho,as far as i know.
I was trying to establish a connection between my Puck.js and Touchdesigner using a Websocket to be able to control the position in a 3d space of a bunch of 3D models with the Puck.js movements.
While I implemented the touchdesigner websocket and the server part and made them work,i'm not able to connect the Puck.js to the server to send the data coming from the accelerometer/gyro.
Is there a way to do it? all i get from the Web IDE is the error: "Websocket is not defined" but i don't get how to solve this problem. Is a websocket the correct way to do something like this? and if not,how should I approach to this problem in the most convenient way?
Thanks so much to everyone who will answer.
R.