PRY icon indicating copy to clipboard operation
PRY copied to clipboard

An app that sends device info to Quartz Composer

PRY

PRY is an app that sends device info to Quartz Composer. It communicates using PeerTalk to a custom patch called QCDeviceInfo. You'll need to download the Xcode project and build PRY to your phone to use it (requires Apple Developer Account). Launch PRY on your phone, then launch QC to get started.

PRY and QCDeviceInfo allow you to easily and rapidly design interactions that take advantage of the iPhone's device info like rotation or accelerometer data, such as Facebook Paper's tilt-to-view-photo interaction:

Video here: https://www.dropbox.com/s/ybalgw6b863gl2c/qcdeviceinfo.mov

Tilt-to-view example composition: https://www.dropbox.com/s/pln6yj54ab6ksep/tilttoview.qtz

Tilt-to-view-photo

Grab QCDeviceInfoPatch here: https://www.dropbox.com/s/ld2vyyv3w7u5coi/QCDeviceInfo.plugin.zip

QCDeviceInfo Patch

  • Pitch: returns pitch (x-axis) in degrees
  • Roll: returns roll (y-axis) in degrees
  • Yaw: returns yaw (z-axis) in degrees
  • Acceleration X: returns x-axis acceleration in G's.
  • Acceleration Y: returns y-axis acceleration in G's.
  • Acceleration Z: returns z-axis acceleration in G's.
  • Orientation: returns 0 for portrait, 1 for landscape.