Home Glossary

Three.js

Three.js is the most widely used JavaScript library for building three-dimensional scenes in the browser.

Also known as: threejs · three js · WebGL library

It sits on top of WebGL and turns concepts a developer actually thinks in — camera, light, material, mesh — into code. Written in raw WebGL, drawing a single cube takes hundreds of lines; with Three.js it takes a handful.

It is open source and has by far the largest community, which matters in practice: model loaders, post-processing effects and optimisation tools already exist and are maintained.

How it looked in our work

The home page tour and the whole of 3DCBH are built with Three.js.

Common questions

Is Three.js free?

Yes, it is open source under the MIT licence and can be used commercially.

Does it make the site heavy?

The library itself is a few hundred kilobytes and can be loaded only on the page that needs it. What usually makes a 3D site heavy is not the library but the models and textures (see Draco).

The whole glossary — 34 terms

How does this term apply to your work? Let us talk.

Get in touch
Home· Services· Work· About· FAQ· Glossary· Contact· Terms of Service· Refund Policy· Privacy