Orientation
Device attitude in space
Turn your phone into a wireless sensor. Pick the signals you need and stream them straight into TouchDesigner.
localhost on this computer for a desktop preview, or open the app from a trusted HTTPS address.Device attitude in space
Acceleration and rotation rate
Latitude, longitude and altitude
Heading relative to north
Viewport and display orientation
Charge level and power state
Live pointer and touch position
Video is not an OSC signal
In TouchDesigner, press Show Connection Info and enter the WSS address shown. Both devices must be on the same Wi-Fi.
The receiver forwards each value as OSC. For TouchDesigner, set the OSC Out DAT destination to your OSC In DAT address and port.
127.0.0.1 : 7000MOBILE / SESSION Keep Safari open in the foreground while streaming. Phones pause web pages after you switch apps; the screen wake lock helps prevent auto-lock but cannot keep a background page transmitting.
The TouchDesigner patch can receive the phone stream and emit OSC itself, so there is no separate bridge process to launch.
In TouchDesigner, create a Web Server DAT and an OSC Out DAT. Load touchdesigner/webserver_callbacks.py into a Text DAT and assign it as the Web Server DAT callbacks.
Set the callback’s OSC Out DAT path, then use 127.0.0.1:7000 if your OSC In DAT is on this same computer. Activate the Web Server DAT on port 8788.
In this hosted app, press Show Connection Info in TouchDesigner and enter its wss:// address. Keep the phone and TouchDesigner computer on the same Wi-Fi. Sensor values arrive as /phone/orientation/alpha, /phone/motion/accel/x and more.