
Description
Putting a spinning 3D model on a page with raw WebGL means shaders, buffers and matrices, dozens of lines just for a cube. Three.js wraps scenes, cameras, lights and materials into objects so a few lines render 3D in the browser. Its examples page offers hundreds of runnable demos, and it is the de facto standard for web 3D. MIT licensed.
Scenes and cameras: perspective and orthographic cameras, lights, shadows and fog.
Model loading: glTF and more, with skeletal animation.
Materials and shaders: built in physical materials, or write your own shaders.
WebGL and WebGPU: matching renderers plus the TSL shading language.
Rich examples: demos for post processing, particles, VR and more.
Features
Scenes and cameras: perspective and orthographic cameras, lights, shadows and fog.
Model loading: glTF and more, with skeletal animation.
Materials and shaders: built in physical materials, or write your own shaders.
WebGL and WebGPU: matching renderers plus the TSL shading language.
Rich examples: demos for post processing, particles, VR and more.
