Overview
three.js is a cross-browser JavaScript library and API used to create and display animated 3D computer graphics in a web browser. It leverages WebGL, enabling hardware-accelerated 3D rendering without requiring browser plugins. The library provides `<canvas>`, `<svg>`, CSS3D, and WebGL renderers. Core architecture involves Scenes, Cameras, and Renderers. Value proposition centers on simplifying 3D development, abstracting away low-level WebGL complexities. Key use cases include interactive 3D models, data visualizations, games, and simulations directly within web applications. Extensibility is a major strength, with a rich ecosystem of community-contributed examples, tools, and extensions like custom shaders and post-processing effects. It is also used in augmented reality and virtual reality applications by leveraging WebXR.
Common tasks
