per utilizzare una libreria come bisogna fare?
Esempio:
<!DOCTYPE html>
<html>
<header>
<script src="https://code.createjs.com/1.0.0/createjs.min.js"></script>
<script>
function init() {
var stage = new createjs.Stage("demoCanvas");
var circle = new createjs.Shape();
circle.graphics.beginFill("DeepSkyBlue").drawCircle(0, 0, 50);
circle.x = 100;
circle.y = 100;
stage.addChild(circle);
stage.update();
}
</script>
</header>
<body onload="init();">
<canvas id="demoCanvas" width="500" height="300"></canvas>
</body>
</html>