<canvas id="canvas"></canvas>
const canvas = document.querySelector('#canvas');

const pixi = new PIXI.Application({
  view: canvas,
});
View Compiled
Run Pen

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

  1. https://cdnjs.cloudflare.com/ajax/libs/pixi.js/5.2.1/pixi.min.js