Three.js Core

The Three.js core library provides the scene graph, cameras, lights, geometries, materials, textures, loaders, and animation primitives used to build interactive 3D applications in the browser and on Node.js. The public surface is a JavaScript API consumed via ES modules and a small CDN-friendly UMD build; classes are organized into Scene, Object3D, Camera, Geometry, Material, Light, and Texture hierarchies and serialize to a documented JSON scene format produced by `Object3D.toJSON()`.

Three.js Core is one of 6 APIs that Three.js publishes on the APIs.io network.

This API exposes 3 JSON Schema definitions.

Tagged areas include 3D, Graphics, WebGL, WebGPU, and JavaScript. The published artifact set on APIs.io includes API documentation, a GitHub repository, a JSON-LD context, and 3 JSON Schemas.

API entry from apis.yml

apis.yml Raw ↑
aid: threejs:threejs-core
name: Three.js Core
tags:
- 3D
- Graphics
- WebGL
- WebGPU
- JavaScript
- Rendering
humanURL: https://threejs.org/docs/
properties:
- url: https://threejs.org/docs/
  type: Documentation
- url: https://threejs.org/manual/
  type: Documentation
- url: https://github.com/mrdoob/three.js
  type: GitHubRepository
- url: https://www.npmjs.com/package/three
  type: Package
- url: json-schema/threejs-vector3-schema.json
  type: JSONSchema
- url: json-schema/threejs-object3d-schema.json
  type: JSONSchema
- url: json-schema/threejs-scene-schema.json
  type: JSONSchema
- url: json-ld/threejs-context.jsonld
  type: JSONLD
description: The Three.js core library provides the scene graph, cameras, lights, geometries, materials,
  textures, loaders, and animation primitives used to build interactive 3D applications in the browser
  and on Node.js. The public surface is a JavaScript API consumed via ES modules and a small CDN-friendly
  UMD build; classes are organized into Scene, Object3D, Camera, Geometry, Material, Light, and Texture
  hierarchies and serialize to a documented JSON scene format produced by `Object3D.toJSON()`.