Implemented Pixi.js example 12