Pixi.js converted to ES6