Created
March 7, 2012 14:20
-
-
Save kled/1993402 to your computer and use it in GitHub Desktop.
HTML5:easeljs
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> | |
<title>Creative JS</title> | |
<script src="creativejslibs/easel.js"></script> | |
<script src="creativejslibs/tween.js"></script> | |
<script> | |
var canvas; | |
var stage; | |
function init ( ) { | |
canvas = document.getElementById( "canvas" ); | |
stage = new Stage( canvas ); | |
} | |
</script> | |
</head> | |
<body onload="init();"> | |
<canvas id="canvas" width="800" height="600"></canvas> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment