Application Examples

Application Examples

Node.js Scripts and C++ Console Program Examples

DISPLAX provides example programs and scripts for developers who want to integrate TUIO events into their applications. These examples help test touch and object recognition events coming from DISPLAX sensors via TUIO protocol.


Node.js Scripts

Requirements

Setup Instructions

  1. Install Node.js and reboot your computer.

  2. Open Command Prompt (Windows) or Terminal (Ubuntu/macOS).

  3. Install the OSC package:

    npm install osc
  4. Run one of the following scripts:

    • For TUIO 1.1node dpx-tuio-1.js

    • For TUIO 2.0node dpx-tuio-2.js

📥 Download Node.js Scripts here.


C++ Console Program Example

Requirements

  • Windows OS (for precompiled binary)

  • Or Qt Creator / other IDE for compiling on Linux/macOS

Instructions

  1. Download and extract the program files.

  2. Run QtTUIODemo.exe (Windows).

    • This program outputs Touch and Object events from TUIO 1.1.

📥 Download Windows program here 
📥 Download source code (Qt Creator project) here


Other Implementations

For additional programming languages, source code, and TUIO implementations, visit:
👉 TUIO Official Website

    • Related Articles

    • TUIO Simulator

      TUIO Simulator The TUIO Simulator is a helpful tool to demonstrate and test the advantages of Object Recognition (OR) with DISPLAX touch sensors. It allows developers and users to simulate touch and tag events without requiring physical hardware. ...
    • DISPLAX SDK

      DISPLAX SDK For Application Integration The DISPLAX SDK is a bundle of lightweight libraries that provides developers with easy access to the DISPLAX Service. It simplifies communication by abstracting the API requests and notifications between your ...
    • Documentation

      DISPLAX Passive Object Recognition – Software Integration User Guide The DISPLAX Passive Object Recognition (OR) Software Integration User Guide provides detailed technical instructions for developers who want to integrate Passive OR using the TUIO ...
    • TUIO Events

      Touches over TUIO The TUIO protocol allows DISPLAX Skin sensors to send Touch events (multitouch data) to client applications in real time. This is useful for developers integrating Passive Object Recognition with touch interaction in custom ...
    • Overview

      Overview – Passive Object Recognition DISPLAX Passive Object Recognition (Passive OR) enables interactive experiences using tags without batteries or electronics. Instead, printed conductive patterns (passive tags) are placed on objects. These tags ...