three.js
threejs.org · 3D · Open source
JavaScript library for 3D on the web, built on WebGL and WebGPU, with live examples, docs and a browser scene editor.
What it is
Handles cameras, lights, materials, models and rendering so you can put 3D scenes in a web page. The homepage is a grid of projects people built with it, from games to product sites, and the menu links to examples, docs, a scene editor and community forums.
Is it for you?
- Made for
- Web developers who want to add 3D scenes, product viewers or games to a site.
- You need
- JavaScript; comfort with 3D basics helps
- Price
- Open source (MIT)
What you can do with it
- 3D product viewers and hero scenes
- Browser games
- Data visualization in 3D
- Loading and showing glTF models
Good to know: Low level, so expect to write a fair bit of code. React users often pair it with React Three Fiber.



