Elestia Open Source Ratings
9.0

three.js

The default choice. 1st of 9 3D and WebGL libraries.

three.js is the standard low-level 3D rendering library for the web, with WebGL and WebGPU renderers, the largest ecosystem and far more use than any peer. For most new browser 3D projects it is the default choice today. The main costs are a monthly 0.x release train that can break code, and no built-in physics, audio or editor.

Best for: Any team that needs flexible 3D rendering in the browser, from product viewers to data visuals to games, including React, Vue and Svelte apps through their three.js bindings.

WebsiteGitHubnpm

Scores

Overall9.0

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 9.0, likely 8.5 to 9.5

three.js is the clear default for drawing 3D in the browser. It leads every peer on use and on growth, the most active framework bindings build on it, and its WebGPU path is current. Babylon.js or PlayCanvas fit better when a team wants a full engine with an editor and physics. Expect some upgrade work from the breaking 0.x releases.

GPT-6.2 Sol: 9.0, likely 7.9 to 9.9

Three.js is the default for a new custom browser 3D project because r187 combines mature rendering, a broad addon ecosystem, and active maintenance. Existing production use and a growing lead in adoption support that recommendation. Frequent API changes and the uneven WebGPU transition add upgrade work, and PlayCanvas can be a better fit when a collaborative visual editor is central to the project.

Needed by many4.7

How many developers need a tool for this job?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

Browser 3D is a clear but sizeable niche: product configurators, data visuals, landing-page effects, games and XR. three.js is general-purpose and works with any framework, so it covers nearly all of that niche. Most web apps still need no 3D at all.

GPT-6.2 Sol: 4.4, likely 3.3 to 5.5

Browser 3D serves a clear niche that includes games, product viewers, and interactive visualizations. Three.js works across frontend frameworks and covers several kinds of 3D work. Developer surveys show meaningful use, though they leave the share of JavaScript projects that need browser 3D uncertain.

Helps a lot8.9

How well does it do the job for those who need it?

Claude Opus 5.5: 9.0, likely 8.0 to 9.5

It is a mature, flexible renderer. It has a production-grade WebGPURenderer with a WebGL2 fallback, the TSL node shaders, a large examples library and many loaders. Independent comparisons rank it first for flexibility and bundle size. Babylon.js is better when you want a full engine with an inspector, physics and audio built in. TypeScript types come from a separate package, and AI agents often write dated code for it.

GPT-6.2 Sol: 8.8, likely 7.7 to 9.7

Stable r187 offers a mature scene API, extensive examples, and a newer WebGPU renderer with WebGL 2 fallback. In a benchmark of r187, it kept pace with PlayCanvas on instanced animation but handled far fewer separately animated meshes on WebGPU. Community types leave gaps in some addons, and a coding-agent trial exposed use of older revisions in generated demos. Performance and migration effort vary with the scene and renderer.

Holds up over time8.5

Will it still be a good choice in two years?

Claude Opus 5.5: 8.5, likely 7.5 to 9.0

The project has 16 years of history, 2,401 commits and 6 GitHub releases in the last year, and 2,630 contributors. The issue backlog is low for its size. The ecosystem is moving towards it, as the growth of R3F, Threlte and TresJS shows. Two things hold the score back: the work rests on a small core team without a funding body, and the monthly 0.x releases bring breaking changes that some users complain about.

GPT-6.2 Sol: 8.5, likely 7.4 to 9.5

The project recorded 2,401 commits and six GitHub releases in a year, with multiple contributors working on the core and renderers. Maintainers closed one reported r187 shader compilation regression within three days and targeted r188 for the fix. Google’s model-viewer and a web studio report real upgrade costs from upstream changes. Recent release tags come from the same account, and GitHub Sponsors shows a funding channel with an unclear level of support.

Used widely8.7

How many use it, and is that growing?

Claude Opus 5.5: 9.5, likely 9.0 to 10.0

The package had 139.6M downloads in the last 4 weeks, up 11.8x in a year, against a median ratio of 4.1. It also has 51.5k dependent repos, nearly 5x the next peer. Some downloads come through R3F and other wrappers, but those still count as uses of three.js. With 119k stars and a lead on every peer metric, the score is high and the range narrow.

  • npm downloadsLast4Weeks: 139.6M, against 11.8M a year before (11.8x)
  • dependents.repos: 51,503, against 10,968 for R3F and 788 for Babylon.js
  • github stars: 119k stars, far above all peers
  • utsubo.com/blog/threejs-vs-babylonjs-vs-playcanvas-comparison: About 12.2M weekly downloads against 315k for Babylon; about 20.9k Stack Overflow questions

GPT-6.2 Sol: 7.9, likely 6.8 to 9.0

Three.js leads this peer group with 51,503 tracked dependent repositories and 4,922 npm dependents. Four-week downloads grew 11.8× year over year, well above the catalog median of 4.1×. Automated installs and wrappers such as React Three Fiber inflate npm totals, while CDN use is missed. The tracked dependents and peer lead support a high score, with uncertainty about the number of direct choices.

  • dependents repos and packages, peers dependentRepos: 51,503 tracked repositories versus 10,968 for the nearest peer.
  • npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo and medianDownloadsRatio: 139.6 million versus 11.8 million, an 11.8× ratio against the 4.1× median.
  • github stars, bluesky posts and peers: 119,054 stars and 39 repository-link posts lead the peer group.
  • github.com/pmndrs/react-three-fiber/blob/master/packages/fiber/package.json: React Three Fiber declares three.js as a peer dependency.
  • threejs.org/manual/pages/installation.html: The official guide supports browser imports directly from a CDN.
Vouched for8.9

Who stands behind it being good?

Claude Opus 5.5: 9.0, likely 8.0 to 9.5

Most of the peers in this category are frameworks built on three.js (React Three Fiber, Threlte, TresJS, A-Frame). Many studios and companies use it in production. Independent comparisons in 2026 recommend it by default for most cases, and Hacker News keeps featuring advanced work on it, such as Gaussian splatting and Nanite-style renderers. Several of the comparisons come from studios that use three.js themselves, which is why the range is not tighter.

GPT-6.2 Sol: 8.7, likely 7.6 to 9.6

Google’s model-viewer and World Labs’ Spark both build on three.js, and React Three Fiber depends on it for rendering. An independent r187 benchmark found fast picking among many meshes and competitive instancing, with slower results on some other workloads. Developer surveys document use, leaving satisfaction and retention less clear.

Safe8.4

How safe is it to depend on?

Claude Opus 5.5: 8.5, likely 7.5 to 9.0

The package has zero dependencies and the MIT licence. It has only one advisory, a 2021 DoS, and none in the last 24 months. The Scorecard is 7.2, with strong scores on workflow, token permissions, pinning and SAST. Branch protection scores 0, code review only 6, and releases are not signed. The risk is low because the library runs client-side and has a very small dependency footprint.

  • npm dependencies: Zero runtime dependencies
  • advisories: 1 advisory in total (2021 DoS); 0 in the last 24 months
  • scorecard: 7.2 overall; Branch-Protection 0, Code-Review 6
  • npm license: MIT

GPT-6.2 Sol: 8.2, likely 7.0 to 9.2

The core npm package has zero runtime dependencies and uses the permissive MIT license. The sole known advisory was fixed in 0.125.0, and the bundle records none in the past two years. OpenSSF gives it 7.2, with full marks for its security policy and workflow token permissions, and zero for branch protection and fuzzing. Snyk lists two maintainers, while the npm publishing process and actual publish access remain unverified.

  • npm dependencies and license: Zero runtime dependencies and an MIT license.
  • advisories total and last24Months: One known advisory and zero in the past 24 months.
  • github.com/advisories/GHSA-fq6p-x6j3-cmmq: The historical denial of service was patched in 0.125.0.
  • scorecard score and checks: Branch protection and fuzzing scored zero, code review scored six, and packaging and signing were unscored.
  • security.snyk.io/package/npm/three: Lists two maintainers and no known vulnerabilities affecting r187.

Good

  • By far the largest ecosystem: React Three Fiber, Threlte, TresJS, drei and many examples and loaders all build on it.
  • WebGPURenderer with automatic WebGL2 fallback, plus the TSL node shading language that targets both backends.
  • Zero runtime dependencies, a small core bundle compared with Babylon.js, and the MIT licence.
  • Very active development, with about 2,400 commits and monthly releases in the last year.

Bad

  • Every release is a 0.x version that may break code, and there is no LTS line, so upgrades need the migration guide.
  • Low-level by design: there is no built-in physics, audio, game loop or visual editor, unlike Babylon.js or PlayCanvas.
  • TypeScript types live in the separate @types/three package, not in the main package.
  • AI coding agents often write outdated patterns, such as old Geometry APIs, and they rarely use TSL or node materials.

The numbers

npm downloads, 4 weeks
140M ×12 in a year
GitHub stars
119k
Commits, 12 months
2.4k
npm version
0.187.0 Oct 2026
Versions, 12 months
10
Advisories, 24 months
0 of 1 ever
OpenSSF Scorecard
7.2 out of 10, Nov 2026
Licence
MIT

Read on 21 November 2026 from GitHub (mrdoob/three.js), npm (three), OSV and the OpenSSF Scorecard.

3D and WebGL libraries

  1. 9.0three.js
  2. 8.2React Three Fiber
  3. 7.8Babylon.js
  4. 7.6PlayCanvas
  5. 7.4Threlte
  6. 7.1TresJS
  7. 6.1A-Frame
  8. 4.9OGL
  9. 4.6regl
Compare all 9 on six scores