add dynamics to pixi-js