Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Game Engine Development
  3. LittleJS

LittleJS

MITJavaScriptv1.18.26

A tiny, fast, and dependency-free HTML5 game engine with WebGL2/Canvas2D rendering, physics, audio, and input handling.

Visit WebsiteGitHubGitHub
4.2k stars232 forks0 contributors

What is LittleJS?

LittleJS is a tiny, fast, and dependency-free HTML5 game engine that provides rendering, physics, audio, and input handling in a minimal package. It solves the problem of creating performant web games with a lightweight codebase, making it especially suitable for size-constrained competitions and rapid prototyping.

Target Audience

Web game developers, especially those participating in size-coding competitions like Js13kGames, and indie developers looking for a simple yet powerful engine for browser and mobile games.

Value Proposition

Developers choose LittleJS for its exceptional balance of features and minimal footprint, offering a comprehensive game development toolkit without dependencies, alongside strong performance and extensive documentation with live examples.

Overview

Tiny fast HTML5 game engine with many features and no dependencies.

Use Cases

Best For

  • Creating lightweight HTML5 games for web and mobile browsers
  • Participating in size-coding competitions like Js13kGames
  • Rapid prototyping of 2D games with physics and particle effects
  • Developing games with hybrid WebGL2 and Canvas2D rendering
  • Building games with integrated audio and input handling for multiple devices
  • Using visual tools for particle system design and level editing

Not Ideal For

  • Developers building complex 3D games with advanced rendering pipelines
  • Teams requiring integrated visual editors and drag-and-drop game development tools
  • Projects that depend on a large ecosystem of pre-built assets and community plugins
  • Games with heavy server-side logic or real-time multiplayer networking out of the box

Pros & Cons

Pros

Hybrid Rendering Performance

Blazing fast WebGL2 + Canvas2D hybrid system allows for high-performance graphics with Shadertoy-style post-processing shaders, as highlighted in the features.

Minimal Footprint

Engine is optimized for small size, making it perfect for competitions like Js13kGames, with a special branch that builds to a 7KB zip.

Comprehensive Feature Set

Packs physics, audio, input handling, and particle effects into a lightweight package, eliminating the need for multiple dependencies.

Developer-Friendly Tools

Includes live example browser with code editor, particle effect design tool, and Tiled level editor import, speeding up development.

Cons

Limited to 2D Graphics

Engine is designed exclusively for 2D game development, lacking native support for 3D rendering which restricts game genres.

Smaller Ecosystem

Being a lightweight engine, it has a less extensive community and fewer pre-built assets or plugins compared to larger engines like Phaser.

Manual Setup Required

Despite tools, it requires manual integration and coding for advanced features, unlike engines with drag-and-drop interfaces.

Frequently Asked Questions

Quick Stats

Stars4,176
Forks232
Contributors0
Open Issues15
Last commit2 days ago
CreatedSince 2021

Tags

#html5-game-engine#open-source#gamedev#box2d#game-development#typescript#mobile-gaming#webgl#javascript#webgl2#canvas2d#audio-engine#game-engine#physics-engine#js13kgames

Built With

W
WebGL2
J
JavaScript
T
TypeScript
N
Node.js
B
Box2D
C
Canvas2D

Links & Resources

Website

Included in

Game Engine Development1.3k
Auto-fetched 9 hours ago

Related Projects

VueVue

This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core

Stars212,067
Forks33,734
Last commit1 year ago
BootstrapBootstrap

The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.

Stars174,743
Forks78,618
Last commit2 days ago
electronelectron

:electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS

Stars122,933
Forks17,466
Last commit10 hours ago
d3d3

Bring data to life with SVG, Canvas and HTML. :bar_chart::chart_with_upwards_trend::tada:

Stars113,678
Forks22,667
Last commit3 months ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub