Skip to content

Simulate lenticular effect with "DeviceMotion" event.

License

Notifications You must be signed in to change notification settings

Alexis-Bize/motion-card

Repository files navigation

Motion Card (POC)

Add lenticular effect to images on devices that support the DeviceMotion event. iOS 12.2+ unfortunately excluded.

Motion card

Art courtesy of William Cameron.

Demo

A demo is available here. Please use a mobile device in portrait mode for best experience.

Install and serve

$ git clone git@github.com:Alexis-Bize/motion-card.git
$ cd motion-card
$ npm install
$ npm start

Once started, the project should be available at http://localhost:8280.

About

Simulate lenticular effect with "DeviceMotion" event.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published