AppBreakup
three.js logo

three.js

Open-source JavaScript library for 3D graphics in the browser using WebGL and WebGPU.

Updated · AppBreakup editorial · Web

Is three.js free?

Yes, free and open source

License:
MIT

Checked on three.js's site Nov 4, 2026

Switch from three.js to

All 4
  • p5.js logo
    p5.js

    Open source

  • Processing logo
    Processing

    Open source

  • Spline logo
    Spline

    Starting price: $12 per seat/month billed annually (Hobby), $15 monthly

Verified facts
3 of 3
Alternatives ranked
4
Approved reviews
0
Visits sent from here
0

About three.js

three.js is the most widely used JavaScript library for drawing 3D scenes on a web page. You create a scene, a camera, meshes, lights and materials in code, and it handles rendering through WebGL or WebGPU, with SVG and CSS3D renderers available as add-ons. It loads common 3D formats such as glTF, includes post-processing effects, physically based materials, animation and VR/AR support, and has a large set of official examples to copy from. Creative coders use it for generative art, music visualisers, data visualisation and interactive installations that need real 3D and shaders; product teams use it for configurators and 3D landing pages. It is free and open source under the MIT licence and runs in any modern browser. Compared with p5.js it asks for more setup and more knowledge of 3D concepts, and its API changes between releases, so older tutorials sometimes need updating.

Best for: Creative coders and web developers who need real 3D scenes, shaders and models in the browser..

Pros and cons

What works

  • WebGL and WebGPU renderers in one library
  • Huge set of official examples
  • Loads glTF and other 3D model formats
  • Free under the MIT licence

Why people leave

  • Steeper learning curve than p5.js for beginners
  • API changes between releases break older tutorials
  • No built-in editor or sketchbook like Processing

three.js vs p5.js, Processing and Spline

From each app's listing and the prices verified on its own site. A dash means we haven't verified it yet.

Attributethree.jsp5.jsProcessingSpline
PricingOpen sourceOpen sourceOpen sourceFree plan + paid
Verified price———$12 per seat/month billed annually (Hobby), $15 monthly
Free planFree appFree appFree appYes, limited personal files
Open sourceYesYesYesNo
Self-hostableNoNoNoNo
PlatformsWebWebmacOS, Windows, LinuxWeb, macOS, Windows

Top three.js alternatives

See all 4
  1. 1p5.js logo
    p5.js

    Simpler sketch-style API with a web editor, for 2D and light 3D work without scene graphs.

    68.8
  2. 2Processing logo
    Processing

    Desktop sketchbook with a built-in IDE, for installations that don't need to run in a browser.

    64.8
  3. 3Spline logo
    Spline

    Design interactive 3D scenes in a visual editor and embed them on a website, without writing three.js code.

    62.7
  4. 4To
    TouchDesigner

    Node-based real-time visuals for live shows and installations, with less code to write.

    61.8

Why people left three.js

In reviewers' own words, from reviews of the apps they moved to. These are their opinions, not ours.

No switching stories yet. If you moved away from three.js, review the app you switched to and tell us why.

Reviews

No approved reviews yet. How we verify reviewers

Write a review of three.js
Your rating of three.js

Never shown publicly. A work email helps us verify you.

What did you use it for, and what was good or bad? At least 40 characters.

A GitHub username, your company domain, or say you can send a screenshot. Verified reviews count more.

By submitting, you confirm you're at least 16 and agree to our terms. Your name, rating, review and the date are published; your email isn't. See our privacy policy.

three.js: common questions

What is three.js?

three.js: Open-source JavaScript library for 3D graphics in the browser using WebGL and WebGPU. Best for creative coders and web developers who need real 3D scenes, shaders and models in the browser. Available for Web.

Is three.js free?

Yes. three.js is free, open-source software.

Is three.js open source?

Yes. The source code is on GitHub at mrdoob/three.js.

What platforms does three.js run on?

three.js is available for Web.

What are the best alternatives to three.js?

The highest-ranked three.js alternatives right now are p5.js, Processing and Spline. See the full ranked list for pricing, platforms and verified facts.

three.js vs p5.js: what's the difference?

Both three.js and p5.js are free and open source. Both run on Web.

See all 4 three.js alternatives