Skip to content

Latest commit

 

History

History
executable file
·
23 lines (13 loc) · 1011 Bytes

README.md

File metadata and controls

executable file
·
23 lines (13 loc) · 1011 Bytes

py3tuio

py3tuio is a very basic, crude and compact implementation of a TUIO 1.x client written in Python 3 using pyliblo. It is restricted to 2D surfaces and does not distinguish between different servers.

Requirements

The TUIO protocol is based on the OSC (Open Sound Control) protocol. liblo is a popular and lightweight OSC implementation. Pyliblo is a Python wrapper for liblo. To use py3tuio in your project, install liblo first, then pyliblo.

You may want to use one or two package managers to do this:

brew install liblo
pip3 install pyliblo

Basic use (demo)

Type python3 py3tuio.py in your terminal. Get a TUIO simulator. Try TuioPad if you want to capture data from iOS devices.

Background

Back in 2012 I couldn't find any TUIO client written in python 3.