LittleJS adds a full 3D renderer that shares the canvas with your 2D game

LittleJS is 2D and 3D now

LittleJS adds a full 3D renderer that shares the canvas with your 2D game

LittleJS, the tiny, dependency-free HTML5 game engine, just got its biggest update yet. The headline feature is a full 3D renderer that runs alongside 2D on the same canvas, with meshes, voxel terrain, shadows, and lights. 3D objects use the same physics and timers as 2D, so the two mix freely. The update also brings built-in level editors, a particle effects library, a faster core, and tools for making games with AI.

I wanted the 3D side to feel exactly like the 2D side, same objects, same loop, same small API, not a separate framework bolted on.

More from this day

2026-10-14