JSFiddle - React, Tailwind, and code Playground
HTML
<script src="http://code.createjs.com/easeljs-0.4.2.min.js"></script>
<!--
easeljs and jquery scripts have been included
using the framework and resources options of jsfiddle
-->
<canvas width="100" height="100"></canvas>
JavaScript
// How to display an image on a canvas using EaselJS
// Create EaselJS Stage with canvas
var stage = new Stage($('canvas')[0]);
// Create EaselJS bitmap to display and add it to the stage
var bmp = new Bitmap('https://s3.amazonaws.com/dxparker/blog/zolo/picture.png');
stage.addChild(bmp);
// IMPORTANT: Remember to register the stage with the Ticker
// or you'll be staring at an empty canvas
Ticker.addListener(stage);