Create phone gesture
create_phone_gestureStream phone motion and touch data into TouchDesigner as CHOP channels via a web page opened on the phone.
Instructions
Stream a phone's IMU (tilt + gyro + shake) and multitouch into TouchDesigner as CHOP channels you can bind to anything. Builds a Web Server DAT page the phone opens (any browser, no app) and a Null CHOP exposing tilt_x/y/z, gyro_x/y/z, shake, touch0..3_x/y/active, clients. Composable with create_phone_remote on the same COMP (different port). SECURITY: listens on all interfaces with no auth — trusted networks only. iOS Safari needs HTTPS for motion permission; falls back to touch-only on plain HTTP.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Child operator base name inside parent. | phone_gesture |
| parent | No | COMP that will host the Web Server DAT + Script CHOP. | /project1 |
| port | No | TCP port for the gesture web server (distinct from bridge:9980 and phone_remote:9981). | |
| enableImu | No | Enable tilt_*, gyro_*, shake channels (iOS Safari requires HTTPS + permission tap). | |
| enableMultitouch | No | Enable touch0..3_x/y/active channels. | |
| shakeThreshold | No | Acceleration magnitude (m/s^2) above which `shake` fires. |