# three.js

> JavaScript library for 3D on the web, built on WebGL and WebGPU, with live examples, docs and a browser scene editor.

Canonical page: https://sitepeel.dev/resources/three-js/

Website: https://threejs.org/

Category: 3D. Access: Open source.

## 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.

## More like this

- [React Three Fiber](https://sitepeel.dev/resources/react-three-fiber/index.md): Write three.js 3D scenes as React components, with state and events working the way they do in React.
- [model-viewer](https://sitepeel.dev/resources/model-viewer/index.md): One HTML tag from Google that shows a 3D model people can spin and zoom, and view in AR on phones.
- [Poly Haven](https://sitepeel.dev/resources/poly-haven/index.md): Free HDRIs, photoscanned textures and 3D models under CC0, so you can use them for anything, no sign-up.

All resources: https://sitepeel.dev/resources/index.md. Checked on 2026-12-05.
