Choose for a complete 2D game framework with entity system when you need more than rendering, but accept higher-level API and less direct control over WebGL.
a modern & lightweight HTML5 game engine
- 6.4k
- JavaScript
- MIT
2D rendering / WebGL
PixiJS is a high-performance 2D rendering engine for the web using WebGL/WebGPU, with a scene graph, filters, and asset loading.
Solves the same problem with a different architecture or at a different layer. Expect to rewrite the integration.
Choose for a complete 2D game framework with entity system when you need more than rendering, but accept higher-level API and less direct control over WebGL.
a modern & lightweight HTML5 game engine
Choose for cross-platform HTML5 games with built-in UI and audio when you want a solution rather than a renderer.
A Cross-end HTML5 Game development solution
Choose when you need 2D and 3D plus physics/animation in one engine, but trade PixiJS's lightweight simplicity for a heavier full engine.
A typescript interactive engine, support 2D, 3D, animation, physics, built on WebGL and glTF.
Choose for a tiny, dependency-free game engine for small projects when you want a minimal codebase, but lack PixiJS's advanced filters and asset pipeline.
Tiny fast HTML5 game engine with many features and no dependencies.
Choose for renderer-agnostic 2D drawing that can also target SVG/CSS when you need broader format support, but you'll get lower WebGL performance than PixiJS.
A renderer agnostic two-dimensional drawing api for the web
Choose for a mature 2D game framework with scenes, physics, and plugin ecosystem when you want a full engine; it's larger and more opinionated than PixiJS.
Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.
Choose for cross-platform 2D/3D game development with visual editor when targeting multiple platforms; it's a heavier full engine.
Cocos simplifies game creation and distribution with Cocos Creator, a free, open-source, cross-platform game engine. Empowering millions of developers to create high-performance, engaging 2D/3D games and instant web entertainment.
An earlier or more limited way to do the job. Still the right call when you need something small, proven, or CPU-only.
Previous-generation 2D graphics system with no updates in 2+ years; choose only if you need its specific API or can't upgrade.
A cross platform high-performance graphics system.
Previous-generation mobile-first HTML5 game engine, archived/outdated; suitable for legacy projects only.
Egret is a brand new open mobile game and application engine which allows you to quickly build mobile games and apps on Android,iOS and Windows.
These projects were analysed and named pixijs among their alternatives. The relationship is not symmetric — how pixijs rates them is a separate judgement, made when pixijs is analysed in its own right.
calls pixijs “Choose when you need high-performance 2D WebGL rendering with gameoriented features and a large ecosystem.”
A renderer agnostic two-dimensional drawing api for the web
calls pixijs “A high-performance 2D WebGL renderer; pick it when you want a thin rendering layer and will build your own game loop and architecture.”
Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.
calls pixijs “Choose PixiJS when you need GPU-accelerated WebGL 2D rendering for games or visual effects; it gives up Fabric's object editing controls, SVG import/export, and serialization.”
Javascript Canvas Library, SVG-to-Canvas (& canvas-to-SVG) Parser
calls pixijs “choose when you need WebGL-accelerated rendering with a large game/interactive ecosystem; it trades away Konva's simpler 2D canvas API.”
Konva.js is an HTML5 Canvas JavaScript framework for interactive graphics, design editors, whiteboards, and diagrams. Scene graph with events, drag and drop, transforms, animations, and export.