Last active
October 4, 2015 02:05
-
-
Save neptunius/d4786fc215a6ccebe710 to your computer and use it in GitHub Desktop.
The Four Frames of Leap.loop
This file contains 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
Peter and I started prototyping what multiple device support would look like in LeapJS with skeleton tracking and ended up at this wild callback with quadruply-nested for-loops: | |
Leap.loop -> | |
for frame in arguments | |
for hand in frame | |
for finger in hand | |
for joint in finger | |
drawSphere joint.position | |
Somehow, it led to me writing this song, "The Four Frames of Leap.loop": | |
In the first frame of Leap.loop, controller gave to me: | |
• a gesture swiping sideways. | |
In the second frame of Leap.loop, controller gave to me: | |
• 2 hands waggling | |
• and a gesture swiping sideways. | |
In the third frame of Leap.loop, controller gave to me: | |
• 3 fingers pointing | |
• 2 hands waggling | |
• and a gesture swiping sideways. | |
In the fourth frame of Leap.loop, controller gave to me: | |
• 4 joint positions | |
• 3 fingers pointing | |
• 2 hands waggling | |
• and a gesture swiping sideways. | |
forever waggling my hands for Leap, | |
♥ Alan |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment