JSFiddle - React, Tailwind, and code Playground

by navyflower

HTML

<canvas id="demoCanvas" style="width: 1000px; height=1000px;"></canvas>

CSS

body {
  background-color: #CCCCCC;
}
#demoCanvas {
  background-color: white;
}

JavaScript

var stage = new createjs.Stage("demoCanvas");
var circle = new createjs.Shape();
circle.graphics.beginFill("red").drawCircle(0, 0, 50);
circle.x = 100;
circle.y = 100;
stage.addChild(circle);
stage.update();