Created
December 21, 2017 10:58
-
-
Save FinalDestiny/ec9229485b6b0d1792e14289d1b61959 to your computer and use it in GitHub Desktop.
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
<script> | |
var canvas, stage, exportRoot; | |
function init() { | |
canvas = document.getElementById("canvas"); | |
exportRoot = new lib.innovision(); | |
stage = new createjs.Stage(canvas); | |
stage.addChild(exportRoot); | |
stage.update(); | |
createjs.Ticker.setFPS(lib.properties.fps); | |
createjs.Ticker.addEventListener("tick", stage); | |
} | |
jQuery(document).ready(function() { | |
init(); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment