When comparing pyglet vs Pixi.js, the Slant community recommends pyglet for most people. In the question“What are the best 2D game engines?” pyglet is ranked 43rd while Pixi.js is ranked 56th. The most important reason people chose pyglet is:
Since pyglet is so tightly woven with OpenGL it allows the support of drawing in 3D.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro 3D support
Since pyglet is so tightly woven with OpenGL it allows the support of drawing in 3D.
Pro Cross-platform
Works with Windows, Linux, and OS X.
Pro Written in pure Python
A small advantage, but being a core Python developer, it may be the best to stick to the roots and develop with pyglet as it is able to compile using other Python interpreters.
Pro Supports WebGL w/ canvas fallback
Pixi is a WebGL renderer, but can fall back to canvas if WebGL is not supported or turned off.
Pro Will be familiar to ActionScript developers
Pixi.js uses a code structure that's very similar to ActionScript.
Cons
Con Small community/popularity
There is a decent amount of documentation and API to go along with pyglet, but in terms of community support there seems to be very little.
Con Not a complete solution
Pixi only provides the renderer.
