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.
  1. aquariusDue

    It's interesting that while gamers are pretty critical of games made with AI/LLM assistance there are some game developers really going full steam ahead (pun intended) with coding agents for game development.

    The website redesign is incredibly cool too, sure it starts the fans on my potato of a laptop (and stutters a bit) but it runs well enough that it's actually made me interested to give it a go.

    I'll save everyone a click and encourage them to check it out too, not just the blog post:

    https://littlejsengine.com/

    EDIT: And it looks like there's an ongoing jam for it too, mentioned in the blog post:

    https://itch.io/jam/littlejs-jam

  2. em3rgent0rdr

    On the train jumping demo, I'm noticing a lag after pressing space bar before I see my character jump. I remember even with the 8-bit Nintendo, the controller would be polled and my sprite immediately updated every 60Hz screen draw cycle. Despite all the new technology, that simple thing doesn't happen here.

  3. bel8

    I love LittleJS so much!

    And I invite everyone to join their Discord: https://discord.gg/zb7hcGkyZe

    The author is very welcoming and helpful.

  4. keithnz

    why's it even needed? AI seems really good at doing it without any supporting libraries / frameworks.

  5. aitchnyu

    It will be mindblowing if the Youtube demo and screenshots were replaced with actual playable games.

More from this day

2026-10-14