M2T (Mobile2Touch) — free component that streams your phone's sensors into TD, no app or shared network needed

Hi Fellow Designers!

I’d like to share M2T (Mobile2Touch) — a free TouchDesigner component I’ve been building that turns a phone into a real-time input device, without the usual setup pain.

The problem I kept running into: getting motion, touch, or location data from a phone usually meant building a dedicated app, or wrestling with OSC/WebSocket setups that require both devices on the same network and re-configuring IP/port every time the venue’s network changes.

M2T skips all of that. It uses a Cloudflare tunnel, so your phone and TD machine never need to share a network. There’s no app to install — it runs in the phone’s mobile browser. Click the QR button in TD, scan it with the phone, and you’re connected.

Once connected, you get:

  • Accelerometer, gyroscope, orientation, GPS, camera, mic, and multi-touch, streamed into sensor_table / touch_tableDATs, one row per device

  • Two-way control back to the phone — background color, haptic feedback, and flashlight, all CHOP-driven

  • One TD instance can host multiple phones at once — default cap of over 20 concurrent connections (configurable via max_clients), each one assigned its own independent slot and running independently

This last part means a single project can scale from a solo test to a room full of participants, all hitting the same server, without changing anything in your setup.

It’s free to download. I’m also working on a Pro version that adds audio/video streaming to the phone and live JS canvas injection, so the phone can become a display or a custom interactive surface too.

Download + more info: M2T v0.1.1 🔧📱 — Stability & Flashlight Update | STUDIO EDUL on Patreon

Still actively developing this, so I’d really appreciate any feedback, bug reports, or ideas for what to add next. Happy to answer questions about how it’s built (WebSocket + WebRTC + Cloudflare tunnel) if anyone’s curious.

Cheers!

1 Like