Puzzle In Motion
by Marita Plieva
Check out "Puzzle In Motion" by Marita Plieva - featuring Canvas API, Sprite Store, Touch Events and more. Try this Snapchat Lens on Easy Lens.
Features
- Canvas API: Creates an on-screen canvas used to render the puzzle board (grid, tile images, outlines) and any simple highlights/animations.
- Sprite Store: Provides the source video used as the puzzle texture so the puzzle tiles animate (use the user’s uploaded whimsical rabbit video).
- Touch Events: Captures touch down/move/up to drag puzzle tiles and swap them. Tap is not used for shuffling or restarting in this version.
- Selfie Widget: Shows a small live camera view on top of the puzzle so the user can see themselves while playing.