If you have an iOS device, you can deploy our project on it. Before you can do that, you need to buy iOS Developer License from Apple (it costs $99 per year; see details at developer.apple.com/programs). Next, you should create a provisioning profile for the mobile device and a development certificate for your computer.
See the detailed instructions on this at openframeworks.cc/setup/iphone.
A typical iOS device has an
accelerometer and a
gyroscope to detect the motion and the orientation of the device respectively. openFrameworks has a built-in
ofxAccelerometer class, which handles the accelerometer. Let's implement using it to control two sliders of the project using the following steps: ...