Created
March 30, 2014 17:06
-
-
Save bwhite/9876016 to your computer and use it in GitHub Desktop.
[wearscript] Picarus image registration
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
<html style="width:100%; height:100%; overflow:hidden"> | |
<body style="width:100%; height:100%; overflow:hidden; margin:0"> | |
<script> | |
function main() { | |
if (WS.scriptVersion(1)) return; | |
WS.cameraOn(.1, 360, 640); | |
WS.cvInit(function () { | |
WS.gestureCallback('onGestureTAP', function () { | |
WS.sound('SUCCESS'); | |
WS.displayWarpView(); | |
WS.warpPreviewSampleGlass(''); | |
}); | |
}); | |
} | |
window.onload = main; | |
</script> | |
</body> | |
</html> |
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
{"name":""} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment