Skip to content

Instantly share code, notes, and snippets.

@kled
Created March 7, 2012 14:20
Show Gist options
  • Save kled/1993402 to your computer and use it in GitHub Desktop.
Save kled/1993402 to your computer and use it in GitHub Desktop.
HTML5:easeljs
<!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