Skip to content
/ PRY Public
forked from joshpuckett/PRY

An app that sends device info to Quartz Composer

Notifications You must be signed in to change notification settings

HuangKai/PRY

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

An app that sends device info to Quartz Composer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 98.7%
  • C 1.3%