Skip to content

Instantly share code, notes, and snippets.

@varunkumar
Created July 4, 2014 17:32
Show Gist options
  • Save varunkumar/30a616ffd940c7008a99 to your computer and use it in GitHub Desktop.
Save varunkumar/30a616ffd940c7008a99 to your computer and use it in GitHub Desktop.
[wearscript] WearScript - Hello,World
<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.displayWarpView([3.0439236881258753, -0.09811170052611454, -1351.6367347302782, 0.03321587552236447, 3.053154626691264, -40.341560801335376, -0.00010172584427831437, -5.8759263127489935e-05, 1.0]);
WS.cameraOn(.1, 360, 640);
}
window.onload = main;
</script>
</body>
</html>
{"name":"Example"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment