Tech article
LittleJS is 2D and 3D now
No preview is available. Read the original article for the full story.
Hacker News | Oct 13, 2026 | dmit
Automated excerpt
It is still the small, fast, dependency-free HTML5 game engine it always was. Meshes and shape builders, terrain and voxel maps with collision, shadow maps, colored lights and spotlights, fog, reflections, particles, trails, cameras, and custom shaders on any object. 3D objects are regular LittleJS objects with the same physics, children and timers as 2D, so the two mix freely: a 2D UI over a 3D scene, or a 2D game inside a 3D world. Level editors, 2D and 3D, built into the engine.
Selected automatically from source text; not independently written or fact-checked. Read the original for full context.