Skip to content

The best three.js alternatives

8 tools that do a similar job to three.js, 8 of them open source. Each entry says what it does and who it suits, so you can pick the one that fits instead of the most famous.

You're replacing

three.js

A JavaScript library for drawing and animating 3D scenes in web browsers.

  1. 1

    PlayCanvas

    Open source · MIT · ★ 17.2k

    A JavaScript 3D game engine that runs in any web browser using WebGL2 or WebGPU.

    Best for: Web developers who want to add 3D scenes or games to a website; Developers building AR or VR experiences that run in the browser via WebXR

  2. 2

    PixiJS

    Open source · MIT · ★ 48.6k

    A JavaScript library for fast 2D graphics, animation and interactive content in the browser.

    Best for: Web developers building interactive 2D graphics or animations; Developers making browser-based 2D games

  3. 3

    G2

    Open source · MIT · ★ 12.7k

    A JavaScript library for building charts from data using a declarative, layered grammar.

    Best for: Front-end developers adding charts to a web dashboard; Data analysts comfortable writing a little JavaScript

  4. 4

    Chart.js

    Open source · MIT · ★ 67.8k

    A JavaScript library for drawing simple, customizable charts on web pages using canvas.

    Best for: Web developers adding standard charts such as line or bar charts to a site; Designers who want chart styling they can configure in code

  5. 5

    Phaser

    Open source · MIT · ★ 40.6k

    A free JavaScript framework for making 2D HTML5 games that run in web browsers and on mobile web.

    Best for: Developers who already know JavaScript or TypeScript and want to make 2D browser games; Hobbyists making simple 2D games for the web

  6. 6

    Anime.js

    Open source · MIT · ★ 74.2k

    A JavaScript library for animating CSS properties, SVG, DOM attributes and plain objects.

    Best for: Front-end developers adding motion to websites or web apps; Developers animating SVG graphics or DOM elements

  7. 7

    Rough.js

    Open source · MIT · ★ 21.3k

    A small JavaScript library that draws shapes in a sketchy, hand-drawn style on Canvas or SVG.

    Best for: Web developers who want a casual, hand-drawn look for diagrams or illustrations; Developers building whiteboard-style or sketch-style interfaces

  8. 8

    nivo

    Open source · MIT · ★ 14.1k

    React chart components for building data visualizations, built on d3.

    Best for: React developers who need charts in a web app; Teams that want charts rendered on the server as well as in the browser

How we pick: tools in the same category that solve the same problem, projects that name each other as alternatives, and open-source projects that describe themselves as an alternative to three.js. We don't take payment for placement.