JSFiddle - React, Tailwind, and code Playground

by ShukantPal

HTML

<script src="https://pixijs.download/dev/pixi.min.js"></script>
<html>
<head>
</head>
<body>
  <img src="https://i.postimg.cc/NMbz37qH/step1.jpg" 
    style="display:none;"/>
</body>
</html>

JavaScript

const app = new PIXI.Application({
	backgroundColor: 0xfafabf,
	width: 200,
  height: 200
});

document.body.appendChild(app.view);

const bgTex = new PIXI.Texture(new PIXI.BaseTexture(
	document.getElementById('bg-tex')));
  
app.stage.addChild(new PIXI.Sprite(bgTex));