Trying to rebuild PixiJS from scratch part 1