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

Original title: LittleJS is 2D and 3D now

> Hacker News story 50065572 · language: en · submitted 2026-10-13
> Web version: https://zeli.app/story/50065572
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 108 · by [dmit](<https://news.ycombinator.com/user?id=dmit>) · 💬 46
[original](<https://frankforce.com/littlejs-is-2d-and-3d-now/>) · [HN discussion](<https://news.ycombinator.com/item?id=50065572>)

## Summary

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.

## Key quote

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

## HN discussion (46 comments)

### [aquariusDue](<https://news.ycombinator.com/item?id=50091224>)

> 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

### [em3rgent0rdr](<https://news.ycombinator.com/item?id=50092338>)

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

### [bel8](<https://news.ycombinator.com/item?id=50092552>)

> I love LittleJS so much!
>
> And I invite everyone to join their Discord: https://discord.gg/zb7hcGkyZe
>
> The author is very welcoming and helpful.

### [keithnz](<https://news.ycombinator.com/item?id=50093921>)

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

### [aitchnyu](<https://news.ycombinator.com/item?id=50093643>)

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

---

## Cite

- Page: https://zeli.app/story/50065572
- Date: 2026-10-13
- Source: frankforce.com (https://frankforce.com/littlejs-is-2d-and-3d-now/)
- Hacker News: https://news.ycombinator.com/item?id=50065572

## Other languages

- zh: https://zeli.app/zh/story/50065572 · markdown: https://zeli.app/zh/story/50065572.md
- ja: https://zeli.app/ja/story/50065572 · markdown: https://zeli.app/ja/story/50065572.md
- ko: https://zeli.app/ko/story/50065572 · markdown: https://zeli.app/ko/story/50065572.md
- de: https://zeli.app/de/story/50065572 · markdown: https://zeli.app/de/story/50065572.md
- es: https://zeli.app/es/story/50065572 · markdown: https://zeli.app/es/story/50065572.md
- ru: https://zeli.app/ru/story/50065572 · markdown: https://zeli.app/ru/story/50065572.md
