Holman gyro #33

Merged
merged 2 commits into from Dec 8, 2012

Projects

None yet

2 participants

@cameronmcefee
Owner

Modified version of #31

holman and others added some commits Dec 3, 2012
@holman holman Add gyroscopic support
This removes a lot of spaghetti code surrounding how we handled
accelerometer support in Plax in favor of using the iPhone's
gyroscope instead. This means we get a clean range-of-motion
effect, much as if you were looking through a window at the object.
Kind of. Sort of.

This probably removes support for desktop (which I think is a good
thing, since people tend not to move their laptops around), and
potentially support for Android and weird devices like that. We can
add that back in later.

In general, though, I think this greatly increases the readability
of the project and gives it an effect that makes a lot more sense.
67997a7
Cameron McEfee Account for the fact that firefox still fires DeviceOrientationEvent cf06a69
@cameronmcefee cameronmcefee referenced this pull request Dec 8, 2012
Closed

Add gyroscopic support #31

@cameronmcefee cameronmcefee merged commit 0dcb785 into master Dec 8, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment