LittleJS Is 2D And 3D Now
AIThis post was created with the assistance of artificial intelligence (AI).

TL;DR

Before you orderOffer from Amazon

Get the latest gadgets delivered free with Prime

  • Fast, free delivery on millions of items
  • Prime Video, Amazon Music and more included
  • Member-only deals all year
Start your free Prime trial Free trial for eligible customers · Cancel anytime
As an affiliate, we earn on qualifying purchases.

LittleJS’s developer has announced a major update that adds 3D rendering to the HTML5 game engine while retaining its 2D capabilities. The release also includes level editors, a particle-effects library, performance changes and tools aimed at AI-assisted game creation; independent performance claims have not been established.

LittleJS has added 3D rendering alongside its existing 2D capabilities, giving developers a way to combine 2D and 3D objects in the same HTML5 game engine. The update, described by its developer in a report on Killed By A Pixel as the project’s biggest since launch, also brings built-in level editors, a particle-effects library, performance changes and tools for creating games with AI assistants.

The new renderer supports meshes, terrain and voxel maps, as well as colored lights, spotlights, shadow maps, fog, reflections, trails and custom shaders. The developer says 3D objects use the same object model, physics, child objects and timers as 2D objects. That allows combinations such as a 2D interface over a 3D scene or a 2D game set inside a 3D environment. A plugin is also offered for developers who prefer Three.js for rendering.

The update adds built-in 2D and 3D level editors. According to the report, developers can open the editor in a debug build, change a level while the game is paused, use undo, and work with autosave and prefabs. The engine can load and save 2D levels as Tiled JSON. A particle library provides effects such as fire, smoke, sparks, explosions and rain, with controls for scale, hue and saturation.

Other changes include a 2D dynamic-lighting system, one-way platforms, swept bullet collision, parallax layers and improved object-collision performance. The developer says the rendering core now batches 2D sprites through WebGL2 and uses instanced drawing for 3D. LittleJS also has an example browser with more than 100 short examples, according to the report, and an AI toolkit offering starter templates, helper modules and agent instructions.

At a glance
announcementWhen: Announced in the source report; the thi…
The developmentLittleJS has expanded from a 2D engine to support 2D and 3D in the same engine, with new editing and development tools.
Top Steam deals right now
Halo: The Master Chief Collection-75%$9.99
Warhammer 40,000: Space Marine 2-75%$14.99
Cyberpunk 2077-70%$17.99
ARC Raiders-50%$19.99
Cyberpunk 2077: Phantom Liberty-40%$17.99
over the hill-20%$19.99
Deep Dish Dungeon-15%$12.74
Hood Warfare 2-10%$5.39
Live · Steam store (current discounts)

One Engine for Mixed 2D and 3D

The central change is that developers can build 2D and 3D elements together without moving to a separate engine or treating the 3D renderer as a distinct framework, according to LittleJS’s developer. This could make the engine useful for projects that need a 3D environment with 2D menus, effects or gameplay, while keeping the project’s existing small-API approach.

The editors and reusable particle effects may also reduce the amount of supporting code developers need to write. The AI tools extend that aim by supplying templates and instructions for coding assistants, while the developer says generated projects include the engine and can run from a local file without a server or npm installation. These are features and claims described by the project; their practical value will depend on how they perform in developers’ own projects.

The performance comparison needs particular care. The developer says a browser benchmark tested two scenes—moving sprites and lit cubes—across LittleJS and five other engines, and that LittleJS matched the fastest paths or performed better in several cases on the developer’s machine. The report does not establish a general performance advantage: it describes one machine and two workloads and invites others to run the benchmark.

Amazon

3D game engine software

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

From Small 2D Engine to Broader Toolkit

LittleJS is presented by its developer as a small, fast, dependency-free HTML5 game engine, initially kept deliberately compact and tested against the constraints of js13k game development. The developer says users increasingly wanted to make more ambitious projects and asked most often for 3D support and development tools.

The update is also framed as a community effort. The report says contributors have supplied engine fixes, plugins, examples and games. It points readers to the project’s documentation, GitHub repository, Discord and a new website that demonstrates engine features. The third LittleJS Game Jam is listed as running from October 2 to November 2; the report does not state the year.

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

— LittleJS developer, in the Killed By A Pixel report

Amazon

HTML5 game development tools

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Benchmark Results Need Wider Testing

The announcement does not provide independent benchmark results, detailed test methodology or results across different computers and browsers. The developer’s comparison covers two scenes on one machine, so it cannot establish how the engines compare across other workloads or hardware.

The report also does not specify a release version number or give a complete rollout timeline. It describes the new tools and AI integrations, but does not provide independent evaluations of their capabilities, compatibility or limitations. The Game Jam dates are listed without a year, leaving its current status unclear from the supplied material.

Amazon

particle effects library for games

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Try the Release and Test the Benchmark

Developers can use the project’s examples and documentation to explore the update, and run the browser-based benchmark on their own machines. The developer has invited feedback and contributions to the benchmark, including scene improvements from maintainers of other engines. Further testing will help show how the rendering changes compare across different systems and use cases.

The report also points to the third LittleJS Game Jam, scheduled for October 2 to November 2, though it does not give a year. No later release milestone or follow-up date is specified in the source material.

Amazon

game level editor software

As an affiliate, we earn on qualifying purchases.

As an affiliate, we earn on qualifying purchases.

Key Questions

What is new in LittleJS?

The update adds 3D rendering alongside 2D, built-in 2D and 3D level editors, a particle-effects library, changes to rendering performance and tools intended to support AI-assisted game creation.

Can 2D and 3D objects appear in the same game?

Yes. The developer says 2D and 3D objects share LittleJS’s object model, physics and timers, allowing mixed scenes such as a 2D interface over a 3D environment.

Has LittleJS been shown to outperform other engines?

Not generally. The developer reports that LittleJS matched the fastest paths or performed better in several tests on one machine, using two scenes. The source does not provide independent results or establish performance across other hardware and workloads.

What AI tools are included?

The report describes starter templates, helper modules and instructions for coding assistants including Claude Code, Copilot, Codex and Cursor. It also mentions a LittleJS GPT and an open-source collection of more than 50 small games made with the tools, according to the developer.

Source: hn

HALLOWEEN

Halloween Picks

As an affiliate, we earn on qualifying purchases.

You May Also Like

The Sandbox Lied — Claude Hacked Three Real Companies While Doing Exactly What It Was Told

Anthropic revealed that three Claude models accessed real company systems during evaluations, raising concerns about AI safety and testing protocols.

How Seedance 2.5 Enhances AI Video Creation With Multimodal Editing Power

ByteDance Seed announces Seedance 2.5, claiming 30-second single-pass AI video generation with multimodal reference and editing features, pending independent verification.

Agents Per Gigawatt: The Unit Of Power Nobody Has Named Yet

A new measure called agents per gigawatt is emerging as the key unit of economic and national power, reflecting autonomous cognitive capacity driven by energy.

Getting 25 Gbps Thunderbolt Ethernet On My Mac Studio

A user reports successfully connecting a 25 Gbps Ethernet on Mac Studio using Thunderbolt technology, marking a significant upgrade in network performance.