three.js is an MIT-licensed JavaScript 3D library for building WebGL and WebGPU scenes in the browser with a lightweight, easy-to-use API.