This is an example of animating an object to move along a defined path. The path must be an existing SVG path object, but can be hidden if you want.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="//js.leapmotion.com/0.2.0/leap.min.js"></script> | |
</head> | |
<body> | |
<div id="canvas"> | |
<svg height="100%" width="100%"> |
A simple target shooter for the Leap Motion.
NewerOlder