JSPM

three

0.132.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2882146
  • Score
    100M100P100Q182071F
  • License MIT

JavaScript 3D library

Package Exports

  • three
  • three/build/three
  • three/build/three.js
  • three/build/three.min
  • three/build/three.min.js
  • three/build/three.module
  • three/build/three.module.js
  • three/examples/fonts/helvetiker_bold.typeface.json
  • three/examples/fonts/helvetiker_regular.typeface.json
  • three/examples/js/controls/DeviceOrientationControls
  • three/examples/js/controls/DeviceOrientationControls.js
  • three/examples/js/controls/DragControls
  • three/examples/js/controls/FirstPersonControls
  • three/examples/js/controls/OrbitControls
  • three/examples/js/controls/OrbitControls.js
  • three/examples/js/controls/PointerLockControls
  • three/examples/js/controls/TrackballControls
  • three/examples/js/controls/TrackballControls.js
  • three/examples/js/controls/TransformControls.js
  • three/examples/js/effects/StereoEffect
  • three/examples/js/exporters/GLTFExporter
  • three/examples/js/exporters/GLTFExporter.js
  • three/examples/js/exporters/OBJExporter
  • three/examples/js/exporters/PLYExporter
  • three/examples/js/exporters/STLExporter
  • three/examples/js/libs/dat.gui.min.js
  • three/examples/js/libs/fflate.min.js
  • three/examples/js/libs/stats.min
  • three/examples/js/libs/stats.min.js
  • three/examples/js/loaders/ColladaLoader
  • three/examples/js/loaders/DDSLoader
  • three/examples/js/loaders/DRACOLoader
  • three/examples/js/loaders/FBXLoader
  • three/examples/js/loaders/GLTFLoader
  • three/examples/js/loaders/HDRCubeTextureLoader
  • three/examples/js/loaders/MTLLoader
  • three/examples/js/loaders/MTLLoader.js
  • three/examples/js/loaders/OBJLoader
  • three/examples/js/loaders/OBJLoader.js
  • three/examples/js/loaders/PLYLoader
  • three/examples/js/loaders/RGBELoader
  • three/examples/js/loaders/STLLoader
  • three/examples/js/loaders/STLLoader.js
  • three/examples/js/loaders/SVGLoader
  • three/examples/js/loaders/VTKLoader
  • three/examples/js/math/Lut
  • three/examples/js/modifiers/SimplifyModifier
  • three/examples/js/modifiers/SimplifyModifier.js
  • three/examples/js/postprocessing/AdaptiveToneMappingPass
  • three/examples/js/postprocessing/BloomPass
  • three/examples/js/postprocessing/EffectComposer
  • three/examples/js/postprocessing/MaskPass
  • three/examples/js/postprocessing/RenderPass
  • three/examples/js/postprocessing/SSAARenderPass
  • three/examples/js/postprocessing/SSAOPass
  • three/examples/js/postprocessing/ShaderPass
  • three/examples/js/postprocessing/UnrealBloomPass
  • three/examples/js/renderers/CSS3DRenderer
  • three/examples/js/renderers/CSS3DRenderer.js
  • three/examples/js/renderers/Projector
  • three/examples/js/shaders/ConvolutionShader
  • three/examples/js/shaders/CopyShader
  • three/examples/js/shaders/FXAAShader
  • three/examples/js/shaders/GammaCorrectionShader
  • three/examples/js/shaders/LuminosityHighPassShader
  • three/examples/js/shaders/LuminosityShader
  • three/examples/js/shaders/SSAOShader
  • three/examples/js/shaders/ToneMapShader
  • three/examples/js/utils/BufferGeometryUtils
  • three/examples/jsm/WebGL
  • three/examples/jsm/WebGL.js
  • three/examples/jsm/animation/AnimationClipCreator
  • three/examples/jsm/animation/CCDIKSolver
  • three/examples/jsm/animation/MMDAnimationHelper
  • three/examples/jsm/animation/MMDAnimationHelper.js
  • three/examples/jsm/animation/MMDPhysics
  • three/examples/jsm/cameras/CinematicCamera
  • three/examples/jsm/controls/DeviceOrientationControls
  • three/examples/jsm/controls/DragControls
  • three/examples/jsm/controls/DragControls.js
  • three/examples/jsm/controls/FirstPersonControls
  • three/examples/jsm/controls/FirstPersonControls.js
  • three/examples/jsm/controls/FlyControls
  • three/examples/jsm/controls/FlyControls.js
  • three/examples/jsm/controls/OrbitControls
  • three/examples/jsm/controls/OrbitControls.js
  • three/examples/jsm/controls/PointerLockControls
  • three/examples/jsm/controls/PointerLockControls.js
  • three/examples/jsm/controls/TrackballControls
  • three/examples/jsm/controls/TrackballControls.js
  • three/examples/jsm/controls/TransformControls
  • three/examples/jsm/controls/TransformControls.js
  • three/examples/jsm/controls/experimental/CameraControls
  • three/examples/jsm/controls/experimental/CameraControls.js
  • three/examples/jsm/csm/CSM
  • three/examples/jsm/csm/CSMHelper
  • three/examples/jsm/csm/Frustum
  • three/examples/jsm/curves/CurveExtras
  • three/examples/jsm/curves/NURBSCurve
  • three/examples/jsm/curves/NURBSCurve.js
  • three/examples/jsm/curves/NURBSSurface
  • three/examples/jsm/curves/NURBSUtils
  • three/examples/jsm/deprecated/Geometry
  • three/examples/jsm/deprecated/Geometry.js
  • three/examples/jsm/effects/AnaglyphEffect
  • three/examples/jsm/effects/AsciiEffect
  • three/examples/jsm/effects/OutlineEffect
  • three/examples/jsm/effects/OutlineEffect.js
  • three/examples/jsm/effects/ParallaxBarrierEffect
  • three/examples/jsm/effects/PeppersGhostEffect
  • three/examples/jsm/effects/StereoEffect
  • three/examples/jsm/environments/RoomEnvironment
  • three/examples/jsm/environments/RoomEnvironment.js
  • three/examples/jsm/exporters/ColladaExporter
  • three/examples/jsm/exporters/ColladaExporter.js
  • three/examples/jsm/exporters/DRACOExporter
  • three/examples/jsm/exporters/DRACOExporter.js
  • three/examples/jsm/exporters/GLTFExporter
  • three/examples/jsm/exporters/GLTFExporter.js
  • three/examples/jsm/exporters/OBJExporter
  • three/examples/jsm/exporters/OBJExporter.js
  • three/examples/jsm/exporters/PLYExporter
  • three/examples/jsm/exporters/PLYExporter.js
  • three/examples/jsm/exporters/STLExporter
  • three/examples/jsm/exporters/STLExporter.js
  • three/examples/jsm/exporters/USDZExporter
  • three/examples/jsm/exporters/USDZExporter.js
  • three/examples/jsm/geometries/BoxLineGeometry
  • three/examples/jsm/geometries/BoxLineGeometry.js
  • three/examples/jsm/geometries/ConvexGeometry
  • three/examples/jsm/geometries/ConvexGeometry.js
  • three/examples/jsm/geometries/DecalGeometry
  • three/examples/jsm/geometries/LightningStrike
  • three/examples/jsm/geometries/ParametricGeometries
  • three/examples/jsm/geometries/RoundedBoxGeometry.js
  • three/examples/jsm/geometries/TeapotGeometry.js
  • three/examples/jsm/helpers/LightProbeHelper
  • three/examples/jsm/helpers/PositionalAudioHelper
  • three/examples/jsm/helpers/RectAreaLightHelper
  • three/examples/jsm/helpers/RectAreaLightHelper.js
  • three/examples/jsm/helpers/VertexNormalsHelper
  • three/examples/jsm/helpers/VertexNormalsHelper.js
  • three/examples/jsm/helpers/VertexTangentsHelper
  • three/examples/jsm/interactive/HTMLMesh.js
  • three/examples/jsm/interactive/InteractiveGroup.js
  • three/examples/jsm/interactive/SelectionBox
  • three/examples/jsm/interactive/SelectionHelper
  • three/examples/jsm/libs/chevrotain.module.min.js
  • three/examples/jsm/libs/dat.gui.module
  • three/examples/jsm/libs/dat.gui.module.js
  • three/examples/jsm/libs/fflate.module.js
  • three/examples/jsm/libs/ktx-parse.module
  • three/examples/jsm/libs/meshopt_decoder.module.js
  • three/examples/jsm/libs/stats.module
  • three/examples/jsm/libs/stats.module.js
  • three/examples/jsm/libs/tween.module.min
  • three/examples/jsm/libs/tween.module.min.js
  • three/examples/jsm/lights/LightProbeGenerator
  • three/examples/jsm/lights/LightProbeGenerator.js
  • three/examples/jsm/lights/RectAreaLightUniformsLib
  • three/examples/jsm/lights/RectAreaLightUniformsLib.js
  • three/examples/jsm/lines/Line2
  • three/examples/jsm/lines/Line2.js
  • three/examples/jsm/lines/LineGeometry
  • three/examples/jsm/lines/LineGeometry.js
  • three/examples/jsm/lines/LineMaterial
  • three/examples/jsm/lines/LineMaterial.js
  • three/examples/jsm/lines/LineSegments2
  • three/examples/jsm/lines/LineSegments2.js
  • three/examples/jsm/lines/LineSegmentsGeometry
  • three/examples/jsm/lines/LineSegmentsGeometry.js
  • three/examples/jsm/lines/Wireframe
  • three/examples/jsm/lines/WireframeGeometry2
  • three/examples/jsm/loaders/3DMLoader
  • three/examples/jsm/loaders/3DMLoader.js
  • three/examples/jsm/loaders/3MFLoader
  • three/examples/jsm/loaders/3MFLoader.js
  • three/examples/jsm/loaders/AMFLoader
  • three/examples/jsm/loaders/AMFLoader.js
  • three/examples/jsm/loaders/BVHLoader
  • three/examples/jsm/loaders/BasisTextureLoader
  • three/examples/jsm/loaders/BasisTextureLoader.js
  • three/examples/jsm/loaders/ColladaLoader
  • three/examples/jsm/loaders/ColladaLoader.js
  • three/examples/jsm/loaders/DDSLoader
  • three/examples/jsm/loaders/DDSLoader.js
  • three/examples/jsm/loaders/DRACOLoader
  • three/examples/jsm/loaders/DRACOLoader.js
  • three/examples/jsm/loaders/EXRLoader
  • three/examples/jsm/loaders/FBXLoader
  • three/examples/jsm/loaders/FBXLoader.js
  • three/examples/jsm/loaders/GCodeLoader
  • three/examples/jsm/loaders/GCodeLoader.js
  • three/examples/jsm/loaders/GLTFLoader
  • three/examples/jsm/loaders/GLTFLoader.js
  • three/examples/jsm/loaders/HDRCubeTextureLoader
  • three/examples/jsm/loaders/HDRCubeTextureLoader.js
  • three/examples/jsm/loaders/IFCLoader.js
  • three/examples/jsm/loaders/KMZLoader
  • three/examples/jsm/loaders/KMZLoader.js
  • three/examples/jsm/loaders/KTX2Loader
  • three/examples/jsm/loaders/KTX2Loader.js
  • three/examples/jsm/loaders/KTXLoader
  • three/examples/jsm/loaders/LDrawLoader.js
  • three/examples/jsm/loaders/MD2Loader
  • three/examples/jsm/loaders/MD2Loader.js
  • three/examples/jsm/loaders/MMDLoader.js
  • three/examples/jsm/loaders/MTLLoader
  • three/examples/jsm/loaders/MTLLoader.js
  • three/examples/jsm/loaders/OBJLoader
  • three/examples/jsm/loaders/OBJLoader.js
  • three/examples/jsm/loaders/PCDLoader
  • three/examples/jsm/loaders/PLYLoader
  • three/examples/jsm/loaders/PLYLoader.js
  • three/examples/jsm/loaders/PRWMLoader
  • three/examples/jsm/loaders/PVRLoader
  • three/examples/jsm/loaders/RGBELoader
  • three/examples/jsm/loaders/RGBELoader.js
  • three/examples/jsm/loaders/STLLoader
  • three/examples/jsm/loaders/STLLoader.js
  • three/examples/jsm/loaders/SVGLoader
  • three/examples/jsm/loaders/SVGLoader.js
  • three/examples/jsm/loaders/TDSLoader
  • three/examples/jsm/loaders/TDSLoader.js
  • three/examples/jsm/loaders/TGALoader
  • three/examples/jsm/loaders/TGALoader.js
  • three/examples/jsm/loaders/TTFLoader
  • three/examples/jsm/loaders/TiltLoader
  • three/examples/jsm/loaders/VOXLoader.js
  • three/examples/jsm/loaders/VRMLLoader
  • three/examples/jsm/loaders/VRMLLoader.js
  • three/examples/jsm/loaders/VTKLoader
  • three/examples/jsm/loaders/VTKLoader.js
  • three/examples/jsm/loaders/XYZLoader.js
  • three/examples/jsm/math/ColorConverter
  • three/examples/jsm/math/ConvexHull
  • three/examples/jsm/math/ConvexHull.js
  • three/examples/jsm/math/ImprovedNoise
  • three/examples/jsm/math/ImprovedNoise.js
  • three/examples/jsm/math/Lut
  • three/examples/jsm/math/Lut.js
  • three/examples/jsm/math/MeshSurfaceSampler
  • three/examples/jsm/math/OBB
  • three/examples/jsm/math/SimplexNoise
  • three/examples/jsm/math/SimplexNoise.js
  • three/examples/jsm/misc/ConvexObjectBreaker
  • three/examples/jsm/misc/GPUComputationRenderer
  • three/examples/jsm/misc/Gyroscope
  • three/examples/jsm/misc/MD2Character
  • three/examples/jsm/misc/MD2CharacterComplex
  • three/examples/jsm/misc/MorphAnimMesh
  • three/examples/jsm/misc/MorphBlendMesh
  • three/examples/jsm/misc/RollerCoaster
  • three/examples/jsm/misc/TubePainter
  • three/examples/jsm/misc/Volume
  • three/examples/jsm/misc/VolumeSlice
  • three/examples/jsm/modifiers/CurveModifier
  • three/examples/jsm/modifiers/EdgeSplitModifier
  • three/examples/jsm/modifiers/SimplifyModifier
  • three/examples/jsm/modifiers/TessellateModifier
  • three/examples/jsm/nodes/Nodes
  • three/examples/jsm/nodes/accessors/CameraNode
  • three/examples/jsm/nodes/accessors/ColorsNode
  • three/examples/jsm/nodes/accessors/LightNode
  • three/examples/jsm/nodes/accessors/NormalNode
  • three/examples/jsm/nodes/accessors/PositionNode
  • three/examples/jsm/nodes/accessors/PositionNode.js
  • three/examples/jsm/nodes/accessors/ReflectNode
  • three/examples/jsm/nodes/accessors/ResolutionNode
  • three/examples/jsm/nodes/accessors/ScreenUVNode
  • three/examples/jsm/nodes/accessors/ScreenUVNode.js
  • three/examples/jsm/nodes/accessors/UVNode
  • three/examples/jsm/nodes/accessors/UVNode.js
  • three/examples/jsm/nodes/core/AttributeNode
  • three/examples/jsm/nodes/core/ConstNode
  • three/examples/jsm/nodes/core/ExpressionNode
  • three/examples/jsm/nodes/core/FunctionCallNode
  • three/examples/jsm/nodes/core/FunctionCallNode.js
  • three/examples/jsm/nodes/core/FunctionNode
  • three/examples/jsm/nodes/core/FunctionNode.js
  • three/examples/jsm/nodes/core/InputNode
  • three/examples/jsm/nodes/core/Node
  • three/examples/jsm/nodes/core/NodeBuilder
  • three/examples/jsm/nodes/core/NodeFrame
  • three/examples/jsm/nodes/core/NodeFrame.js
  • three/examples/jsm/nodes/core/NodeLib
  • three/examples/jsm/nodes/core/NodeUniform
  • three/examples/jsm/nodes/core/NodeUtils
  • three/examples/jsm/nodes/core/StructNode
  • three/examples/jsm/nodes/core/TempNode
  • three/examples/jsm/nodes/core/VarNode
  • three/examples/jsm/nodes/effects/BlurNode
  • three/examples/jsm/nodes/effects/ColorAdjustmentNode
  • three/examples/jsm/nodes/effects/LuminanceNode
  • three/examples/jsm/nodes/inputs/BoolNode
  • three/examples/jsm/nodes/inputs/ColorNode
  • three/examples/jsm/nodes/inputs/ColorNode.js
  • three/examples/jsm/nodes/inputs/CubeTextureNode
  • three/examples/jsm/nodes/inputs/FloatNode
  • three/examples/jsm/nodes/inputs/FloatNode.js
  • three/examples/jsm/nodes/inputs/IntNode
  • three/examples/jsm/nodes/inputs/Matrix3Node
  • three/examples/jsm/nodes/inputs/Matrix4Node
  • three/examples/jsm/nodes/inputs/PropertyNode
  • three/examples/jsm/nodes/inputs/RTTNode
  • three/examples/jsm/nodes/inputs/ReflectorNode
  • three/examples/jsm/nodes/inputs/ScreenNode
  • three/examples/jsm/nodes/inputs/TextureNode
  • three/examples/jsm/nodes/inputs/TextureNode.js
  • three/examples/jsm/nodes/inputs/Vector2Node
  • three/examples/jsm/nodes/inputs/Vector2Node.js
  • three/examples/jsm/nodes/inputs/Vector3Node
  • three/examples/jsm/nodes/inputs/Vector4Node
  • three/examples/jsm/nodes/inputs/Vector4Node.js
  • three/examples/jsm/nodes/materials/BasicNodeMaterial
  • three/examples/jsm/nodes/materials/MeshStandardNodeMaterial
  • three/examples/jsm/nodes/materials/NodeMaterial
  • three/examples/jsm/nodes/materials/PhongNodeMaterial
  • three/examples/jsm/nodes/materials/SpriteNodeMaterial
  • three/examples/jsm/nodes/materials/StandardNodeMaterial
  • three/examples/jsm/nodes/materials/StandardNodeMaterial.js
  • three/examples/jsm/nodes/materials/nodes/BasicNode
  • three/examples/jsm/nodes/materials/nodes/MeshStandardNode
  • three/examples/jsm/nodes/materials/nodes/PhongNode
  • three/examples/jsm/nodes/materials/nodes/RawNode
  • three/examples/jsm/nodes/materials/nodes/SpriteNode
  • three/examples/jsm/nodes/materials/nodes/StandardNode
  • three/examples/jsm/nodes/math/CondNode
  • three/examples/jsm/nodes/math/CondNode.js
  • three/examples/jsm/nodes/math/MathNode
  • three/examples/jsm/nodes/math/MathNode.js
  • three/examples/jsm/nodes/math/OperatorNode
  • three/examples/jsm/nodes/math/OperatorNode.js
  • three/examples/jsm/nodes/misc/BumpMapNode
  • three/examples/jsm/nodes/misc/NormalMapNode
  • three/examples/jsm/nodes/misc/TextureCubeNode
  • three/examples/jsm/nodes/misc/TextureCubeUVNode
  • three/examples/jsm/nodes/postprocessing/NodePass
  • three/examples/jsm/nodes/postprocessing/NodePostProcessing
  • three/examples/jsm/nodes/procedural/CheckerNode
  • three/examples/jsm/nodes/utils/BypassNode
  • three/examples/jsm/nodes/utils/ColorSpaceNode
  • three/examples/jsm/nodes/utils/JoinNode
  • three/examples/jsm/nodes/utils/MaxMIPLevelNode
  • three/examples/jsm/nodes/utils/SpecularMIPLevelNode
  • three/examples/jsm/nodes/utils/SubSlotNode
  • three/examples/jsm/nodes/utils/SwitchNode
  • three/examples/jsm/nodes/utils/SwitchNode.js
  • three/examples/jsm/nodes/utils/TimerNode
  • three/examples/jsm/nodes/utils/TimerNode.js
  • three/examples/jsm/nodes/utils/UVTransformNode
  • three/examples/jsm/nodes/utils/VelocityNode
  • three/examples/jsm/objects/Lensflare
  • three/examples/jsm/objects/Lensflare.js
  • three/examples/jsm/objects/LightningStorm
  • three/examples/jsm/objects/MarchingCubes
  • three/examples/jsm/objects/Reflector
  • three/examples/jsm/objects/Reflector.js
  • three/examples/jsm/objects/ReflectorRTT
  • three/examples/jsm/objects/Refractor
  • three/examples/jsm/objects/ShadowMesh
  • three/examples/jsm/objects/Sky
  • three/examples/jsm/objects/Sky.js
  • three/examples/jsm/objects/Water
  • three/examples/jsm/objects/Water.js
  • three/examples/jsm/objects/Water2
  • three/examples/jsm/offscreen/jank
  • three/examples/jsm/offscreen/offscreen
  • three/examples/jsm/offscreen/scene
  • three/examples/jsm/physics/AmmoPhysics
  • three/examples/jsm/postprocessing/AdaptiveToneMappingPass
  • three/examples/jsm/postprocessing/AfterimagePass
  • three/examples/jsm/postprocessing/AfterimagePass.js
  • three/examples/jsm/postprocessing/BloomPass
  • three/examples/jsm/postprocessing/BloomPass.js
  • three/examples/jsm/postprocessing/BokehPass
  • three/examples/jsm/postprocessing/BokehPass.js
  • three/examples/jsm/postprocessing/ClearPass
  • three/examples/jsm/postprocessing/CubeTexturePass
  • three/examples/jsm/postprocessing/DotScreenPass
  • three/examples/jsm/postprocessing/EffectComposer
  • three/examples/jsm/postprocessing/EffectComposer.js
  • three/examples/jsm/postprocessing/FilmPass
  • three/examples/jsm/postprocessing/FilmPass.js
  • three/examples/jsm/postprocessing/GlitchPass
  • three/examples/jsm/postprocessing/GlitchPass.js
  • three/examples/jsm/postprocessing/HalftonePass
  • three/examples/jsm/postprocessing/HalftonePass.js
  • three/examples/jsm/postprocessing/LUTPass
  • three/examples/jsm/postprocessing/MaskPass
  • three/examples/jsm/postprocessing/MaskPass.js
  • three/examples/jsm/postprocessing/OutlinePass
  • three/examples/jsm/postprocessing/OutlinePass.js
  • three/examples/jsm/postprocessing/Pass
  • three/examples/jsm/postprocessing/Pass.js
  • three/examples/jsm/postprocessing/RenderPass
  • three/examples/jsm/postprocessing/RenderPass.js
  • three/examples/jsm/postprocessing/SAOPass
  • three/examples/jsm/postprocessing/SAOPass.js
  • three/examples/jsm/postprocessing/SMAAPass
  • three/examples/jsm/postprocessing/SMAAPass.js
  • three/examples/jsm/postprocessing/SSAARenderPass
  • three/examples/jsm/postprocessing/SSAARenderPass.js
  • three/examples/jsm/postprocessing/SSAOPass
  • three/examples/jsm/postprocessing/SSAOPass.js
  • three/examples/jsm/postprocessing/SSRPass
  • three/examples/jsm/postprocessing/SSRrPass
  • three/examples/jsm/postprocessing/SavePass
  • three/examples/jsm/postprocessing/ShaderPass
  • three/examples/jsm/postprocessing/ShaderPass.js
  • three/examples/jsm/postprocessing/TAARenderPass
  • three/examples/jsm/postprocessing/TexturePass
  • three/examples/jsm/postprocessing/UnrealBloomPass
  • three/examples/jsm/postprocessing/UnrealBloomPass.js
  • three/examples/jsm/renderers/CSS2DRenderer
  • three/examples/jsm/renderers/CSS2DRenderer.js
  • three/examples/jsm/renderers/CSS3DRenderer
  • three/examples/jsm/renderers/CSS3DRenderer.js
  • three/examples/jsm/renderers/Projector
  • three/examples/jsm/renderers/SVGRenderer
  • three/examples/jsm/renderers/SVGRenderer.js
  • three/examples/jsm/renderers/webgpu/WebGPU
  • three/examples/jsm/renderers/webgpu/WebGPUAttributes
  • three/examples/jsm/renderers/webgpu/WebGPUBackground
  • three/examples/jsm/renderers/webgpu/WebGPUBinding
  • three/examples/jsm/renderers/webgpu/WebGPUBindings
  • three/examples/jsm/renderers/webgpu/WebGPUComputePipelines
  • three/examples/jsm/renderers/webgpu/WebGPUGeometries
  • three/examples/jsm/renderers/webgpu/WebGPUInfo
  • three/examples/jsm/renderers/webgpu/WebGPUObjects
  • three/examples/jsm/renderers/webgpu/WebGPUProperties
  • three/examples/jsm/renderers/webgpu/WebGPURenderLists
  • three/examples/jsm/renderers/webgpu/WebGPURenderPipelines
  • three/examples/jsm/renderers/webgpu/WebGPUSampledTexture
  • three/examples/jsm/renderers/webgpu/WebGPUSampler
  • three/examples/jsm/renderers/webgpu/WebGPUStorageBuffer
  • three/examples/jsm/renderers/webgpu/WebGPUTextureUtils
  • three/examples/jsm/renderers/webgpu/WebGPUTextures
  • three/examples/jsm/renderers/webgpu/WebGPUUniform
  • three/examples/jsm/renderers/webgpu/WebGPUUniformsGroup
  • three/examples/jsm/renderers/webgpu/constants
  • three/examples/jsm/shaders/ACESFilmicToneMappingShader
  • three/examples/jsm/shaders/AfterimageShader
  • three/examples/jsm/shaders/BasicShader
  • three/examples/jsm/shaders/BleachBypassShader
  • three/examples/jsm/shaders/BlendShader
  • three/examples/jsm/shaders/BokehShader
  • three/examples/jsm/shaders/BokehShader2
  • three/examples/jsm/shaders/BrightnessContrastShader
  • three/examples/jsm/shaders/ColorCorrectionShader
  • three/examples/jsm/shaders/ColorifyShader
  • three/examples/jsm/shaders/ConvolutionShader
  • three/examples/jsm/shaders/CopyShader
  • three/examples/jsm/shaders/CopyShader.js
  • three/examples/jsm/shaders/DOFMipMapShader
  • three/examples/jsm/shaders/DepthLimitedBlurShader
  • three/examples/jsm/shaders/DepthLimitedBlurShader.js
  • three/examples/jsm/shaders/DigitalGlitch
  • three/examples/jsm/shaders/DotScreenShader
  • three/examples/jsm/shaders/DotScreenShader.js
  • three/examples/jsm/shaders/FXAAShader
  • three/examples/jsm/shaders/FXAAShader.js
  • three/examples/jsm/shaders/FilmShader
  • three/examples/jsm/shaders/FocusShader
  • three/examples/jsm/shaders/FocusShader.js
  • three/examples/jsm/shaders/FreiChenShader
  • three/examples/jsm/shaders/GammaCorrectionShader
  • three/examples/jsm/shaders/GodRaysShader
  • three/examples/jsm/shaders/HalftoneShader
  • three/examples/jsm/shaders/HorizontalBlurShader
  • three/examples/jsm/shaders/HorizontalTiltShiftShader
  • three/examples/jsm/shaders/HueSaturationShader
  • three/examples/jsm/shaders/KaleidoShader
  • three/examples/jsm/shaders/LuminosityHighPassShader
  • three/examples/jsm/shaders/LuminosityHighPassShader.js
  • three/examples/jsm/shaders/LuminosityShader
  • three/examples/jsm/shaders/MirrorShader
  • three/examples/jsm/shaders/NormalMapShader
  • three/examples/jsm/shaders/PixelShader
  • three/examples/jsm/shaders/RGBShiftShader
  • three/examples/jsm/shaders/SAOShader
  • three/examples/jsm/shaders/SAOShader.js
  • three/examples/jsm/shaders/SMAAShader
  • three/examples/jsm/shaders/SSAOShader
  • three/examples/jsm/shaders/SepiaShader
  • three/examples/jsm/shaders/SobelOperatorShader
  • three/examples/jsm/shaders/SubsurfaceScatteringShader
  • three/examples/jsm/shaders/TechnicolorShader
  • three/examples/jsm/shaders/ToneMapShader
  • three/examples/jsm/shaders/ToonShader
  • three/examples/jsm/shaders/ToonShader.js
  • three/examples/jsm/shaders/TriangleBlurShader
  • three/examples/jsm/shaders/UnpackDepthRGBAShader
  • three/examples/jsm/shaders/VerticalBlurShader
  • three/examples/jsm/shaders/VerticalTiltShiftShader
  • three/examples/jsm/shaders/VignetteShader
  • three/examples/jsm/shaders/VolumeShader
  • three/examples/jsm/shaders/WaterRefractionShader
  • three/examples/jsm/textures/FlakesTexture
  • three/examples/jsm/utils/BufferGeometryUtils
  • three/examples/jsm/utils/BufferGeometryUtils.js
  • three/examples/jsm/utils/GeometryCompressionUtils
  • three/examples/jsm/utils/GeometryUtils
  • three/examples/jsm/utils/RoughnessMipmapper
  • three/examples/jsm/utils/RoughnessMipmapper.js
  • three/examples/jsm/utils/SceneUtils
  • three/examples/jsm/utils/ShadowMapViewer
  • three/examples/jsm/utils/ShadowMapViewer.js
  • three/examples/jsm/utils/SkeletonUtils
  • three/examples/jsm/utils/SkeletonUtils.js
  • three/examples/jsm/utils/UVsDebug
  • three/examples/jsm/webxr/ARButton
  • three/examples/jsm/webxr/ARButton.js
  • three/examples/jsm/webxr/VRButton
  • three/examples/jsm/webxr/VRButton.js
  • three/examples/jsm/webxr/XRControllerModelFactory
  • three/examples/jsm/webxr/XRControllerModelFactory.js
  • three/examples/jsm/webxr/XREstimatedLight
  • three/examples/jsm/webxr/XRHandModelFactory
  • three/examples/jsm/webxr/XRHandPrimitiveModel
  • three/package.json
  • three/src/Three
  • three/src/Three.Legacy
  • three/src/Three.Legacy.js
  • three/src/Three.js
  • three/src/animation/AnimationAction
  • three/src/animation/AnimationClip
  • three/src/animation/AnimationClip.js
  • three/src/animation/AnimationMixer
  • three/src/animation/AnimationMixer.js
  • three/src/animation/AnimationObjectGroup
  • three/src/animation/AnimationUtils
  • three/src/animation/KeyframeTrack
  • three/src/animation/PropertyBinding
  • three/src/animation/PropertyBinding.js
  • three/src/animation/PropertyMixer
  • three/src/animation/tracks/BooleanKeyframeTrack
  • three/src/animation/tracks/ColorKeyframeTrack
  • three/src/animation/tracks/NumberKeyframeTrack
  • three/src/animation/tracks/NumberKeyframeTrack.js
  • three/src/animation/tracks/QuaternionKeyframeTrack
  • three/src/animation/tracks/StringKeyframeTrack
  • three/src/animation/tracks/VectorKeyframeTrack
  • three/src/audio/Audio
  • three/src/audio/AudioAnalyser
  • three/src/audio/AudioListener
  • three/src/audio/PositionalAudio
  • three/src/cameras/ArrayCamera
  • three/src/cameras/Camera
  • three/src/cameras/Camera.js
  • three/src/cameras/CubeCamera
  • three/src/cameras/OrthographicCamera
  • three/src/cameras/OrthographicCamera.js
  • three/src/cameras/PerspectiveCamera
  • three/src/cameras/PerspectiveCamera.js
  • three/src/cameras/StereoCamera
  • three/src/constants
  • three/src/constants.js
  • three/src/core/BufferAttribute
  • three/src/core/BufferAttribute.js
  • three/src/core/BufferGeometry
  • three/src/core/BufferGeometry.js
  • three/src/core/Clock
  • three/src/core/Clock.js
  • three/src/core/EventDispatcher
  • three/src/core/EventDispatcher.js
  • three/src/core/GLBufferAttribute
  • three/src/core/InstancedBufferAttribute
  • three/src/core/InstancedBufferGeometry
  • three/src/core/InstancedInterleavedBuffer
  • three/src/core/InterleavedBuffer
  • three/src/core/InterleavedBufferAttribute
  • three/src/core/Layers
  • three/src/core/Layers.js
  • three/src/core/Object3D
  • three/src/core/Object3D.js
  • three/src/core/Raycaster
  • three/src/core/Raycaster.js
  • three/src/core/Uniform
  • three/src/extras/DataUtils
  • three/src/extras/ImageUtils
  • three/src/extras/ImageUtils.js
  • three/src/extras/PMREMGenerator
  • three/src/extras/PMREMGenerator.js
  • three/src/extras/ShapeUtils
  • three/src/extras/core/Curve
  • three/src/extras/core/CurvePath
  • three/src/extras/core/Font
  • three/src/extras/core/Font.js
  • three/src/extras/core/Path
  • three/src/extras/core/Path.js
  • three/src/extras/core/Shape
  • three/src/extras/core/Shape.js
  • three/src/extras/core/ShapePath
  • three/src/extras/core/ShapePath.js
  • three/src/extras/curves/ArcCurve
  • three/src/extras/curves/CatmullRomCurve3
  • three/src/extras/curves/CatmullRomCurve3.js
  • three/src/extras/curves/CubicBezierCurve
  • three/src/extras/curves/CubicBezierCurve3
  • three/src/extras/curves/Curves.js
  • three/src/extras/curves/EllipseCurve
  • three/src/extras/curves/LineCurve
  • three/src/extras/curves/LineCurve3
  • three/src/extras/curves/QuadraticBezierCurve
  • three/src/extras/curves/QuadraticBezierCurve3
  • three/src/extras/curves/SplineCurve
  • three/src/extras/objects/ImmediateRenderObject.js
  • three/src/geometries/BoxGeometry
  • three/src/geometries/BoxGeometry.js
  • three/src/geometries/CircleGeometry
  • three/src/geometries/CircleGeometry.js
  • three/src/geometries/ConeGeometry
  • three/src/geometries/CylinderGeometry
  • three/src/geometries/DodecahedronGeometry
  • three/src/geometries/DodecahedronGeometry.js
  • three/src/geometries/EdgesGeometry
  • three/src/geometries/ExtrudeGeometry
  • three/src/geometries/ExtrudeGeometry.js
  • three/src/geometries/Geometries.js
  • three/src/geometries/IcosahedronGeometry
  • three/src/geometries/IcosahedronGeometry.js
  • three/src/geometries/LatheGeometry
  • three/src/geometries/OctahedronGeometry
  • three/src/geometries/ParametricGeometry
  • three/src/geometries/PlaneGeometry
  • three/src/geometries/PlaneGeometry.js
  • three/src/geometries/PolyhedronGeometry
  • three/src/geometries/RingGeometry
  • three/src/geometries/ShapeGeometry
  • three/src/geometries/ShapeGeometry.js
  • three/src/geometries/SphereGeometry
  • three/src/geometries/SphereGeometry.js
  • three/src/geometries/TetrahedronGeometry
  • three/src/geometries/TextGeometry
  • three/src/geometries/TextGeometry.js
  • three/src/geometries/TorusGeometry
  • three/src/geometries/TorusKnotGeometry
  • three/src/geometries/TorusKnotGeometry.js
  • three/src/geometries/TubeGeometry
  • three/src/geometries/WireframeGeometry
  • three/src/helpers/ArrowHelper
  • three/src/helpers/AxesHelper
  • three/src/helpers/Box3Helper
  • three/src/helpers/BoxHelper
  • three/src/helpers/CameraHelper
  • three/src/helpers/DirectionalLightHelper
  • three/src/helpers/GridHelper
  • three/src/helpers/HemisphereLightHelper
  • three/src/helpers/PlaneHelper
  • three/src/helpers/PointLightHelper
  • three/src/helpers/PolarGridHelper
  • three/src/helpers/SkeletonHelper
  • three/src/helpers/SpotLightHelper
  • three/src/lights/AmbientLight
  • three/src/lights/AmbientLight.js
  • three/src/lights/AmbientLightProbe
  • three/src/lights/DirectionalLight
  • three/src/lights/DirectionalLight.js
  • three/src/lights/HemisphereLight
  • three/src/lights/HemisphereLight.js
  • three/src/lights/HemisphereLightProbe
  • three/src/lights/Light
  • three/src/lights/Light.js
  • three/src/lights/LightProbe
  • three/src/lights/LightProbe.js
  • three/src/lights/PointLight
  • three/src/lights/PointLight.js
  • three/src/lights/RectAreaLight
  • three/src/lights/RectAreaLight.js
  • three/src/lights/SpotLight
  • three/src/lights/SpotLight.js
  • three/src/loaders/AnimationLoader
  • three/src/loaders/AudioLoader
  • three/src/loaders/BufferGeometryLoader
  • three/src/loaders/BufferGeometryLoader.js
  • three/src/loaders/Cache
  • three/src/loaders/Cache.js
  • three/src/loaders/CompressedTextureLoader
  • three/src/loaders/CubeTextureLoader
  • three/src/loaders/DataTextureLoader
  • three/src/loaders/FileLoader
  • three/src/loaders/FileLoader.js
  • three/src/loaders/FontLoader
  • three/src/loaders/FontLoader.js
  • three/src/loaders/ImageBitmapLoader
  • three/src/loaders/ImageBitmapLoader.js
  • three/src/loaders/ImageLoader
  • three/src/loaders/ImageLoader.js
  • three/src/loaders/Loader
  • three/src/loaders/Loader.js
  • three/src/loaders/LoaderUtils
  • three/src/loaders/LoaderUtils.js
  • three/src/loaders/LoadingManager
  • three/src/loaders/LoadingManager.js
  • three/src/loaders/MaterialLoader
  • three/src/loaders/MaterialLoader.js
  • three/src/loaders/ObjectLoader
  • three/src/loaders/TextureLoader
  • three/src/loaders/TextureLoader.js
  • three/src/materials/LineBasicMaterial
  • three/src/materials/LineBasicMaterial.js
  • three/src/materials/LineDashedMaterial
  • three/src/materials/Material
  • three/src/materials/Material.js
  • three/src/materials/MeshBasicMaterial
  • three/src/materials/MeshBasicMaterial.js
  • three/src/materials/MeshDepthMaterial
  • three/src/materials/MeshDistanceMaterial
  • three/src/materials/MeshLambertMaterial
  • three/src/materials/MeshLambertMaterial.js
  • three/src/materials/MeshMatcapMaterial
  • three/src/materials/MeshNormalMaterial
  • three/src/materials/MeshNormalMaterial.js
  • three/src/materials/MeshPhongMaterial
  • three/src/materials/MeshPhongMaterial.js
  • three/src/materials/MeshPhysicalMaterial
  • three/src/materials/MeshPhysicalMaterial.js
  • three/src/materials/MeshStandardMaterial
  • three/src/materials/MeshStandardMaterial.js
  • three/src/materials/MeshToonMaterial
  • three/src/materials/PointsMaterial
  • three/src/materials/PointsMaterial.js
  • three/src/materials/RawShaderMaterial
  • three/src/materials/ShaderMaterial
  • three/src/materials/ShaderMaterial.js
  • three/src/materials/ShadowMaterial
  • three/src/materials/SpriteMaterial
  • three/src/materials/SpriteMaterial.js
  • three/src/math/Box2
  • three/src/math/Box3
  • three/src/math/Box3.js
  • three/src/math/Color
  • three/src/math/Color.js
  • three/src/math/Cylindrical
  • three/src/math/Euler
  • three/src/math/Frustum
  • three/src/math/Interpolant
  • three/src/math/Interpolant.js
  • three/src/math/Line3
  • three/src/math/MathUtils
  • three/src/math/MathUtils.js
  • three/src/math/Matrix3
  • three/src/math/Matrix3.js
  • three/src/math/Matrix4
  • three/src/math/Matrix4.js
  • three/src/math/Plane
  • three/src/math/Plane.js
  • three/src/math/Quaternion
  • three/src/math/Quaternion.js
  • three/src/math/Ray
  • three/src/math/Ray.js
  • three/src/math/Sphere
  • three/src/math/Sphere.js
  • three/src/math/Spherical
  • three/src/math/Spherical.js
  • three/src/math/SphericalHarmonics3
  • three/src/math/Triangle
  • three/src/math/Vector2
  • three/src/math/Vector2.js
  • three/src/math/Vector3
  • three/src/math/Vector3.js
  • three/src/math/Vector4
  • three/src/math/Vector4.js
  • three/src/math/interpolants/CubicInterpolant
  • three/src/math/interpolants/DiscreteInterpolant
  • three/src/math/interpolants/LinearInterpolant
  • three/src/math/interpolants/QuaternionLinearInterpolant
  • three/src/objects/Bone
  • three/src/objects/Group
  • three/src/objects/Group.js
  • three/src/objects/InstancedMesh
  • three/src/objects/InstancedMesh.js
  • three/src/objects/LOD
  • three/src/objects/LOD.js
  • three/src/objects/Line
  • three/src/objects/Line.js
  • three/src/objects/LineLoop
  • three/src/objects/LineLoop.js
  • three/src/objects/LineSegments
  • three/src/objects/LineSegments.js
  • three/src/objects/Mesh
  • three/src/objects/Mesh.js
  • three/src/objects/Points
  • three/src/objects/Points.js
  • three/src/objects/Skeleton
  • three/src/objects/SkinnedMesh
  • three/src/objects/Sprite
  • three/src/objects/Sprite.js
  • three/src/renderers/WebGL1Renderer
  • three/src/renderers/WebGLCubeRenderTarget
  • three/src/renderers/WebGLMultisampleRenderTarget
  • three/src/renderers/WebGLMultisampleRenderTarget.js
  • three/src/renderers/WebGLRenderTarget
  • three/src/renderers/WebGLRenderTarget.js
  • three/src/renderers/WebGLRenderer
  • three/src/renderers/WebGLRenderer.js
  • three/src/renderers/shaders/ShaderChunk
  • three/src/renderers/shaders/ShaderChunk.js
  • three/src/renderers/shaders/ShaderChunk/default_fragment.glsl
  • three/src/renderers/shaders/ShaderChunk/default_fragment.glsl.js
  • three/src/renderers/shaders/ShaderChunk/default_vertex.glsl
  • three/src/renderers/shaders/ShaderChunk/default_vertex.glsl.js
  • three/src/renderers/shaders/ShaderChunk/shadowmap_pars_fragment.glsl
  • three/src/renderers/shaders/ShaderLib
  • three/src/renderers/shaders/ShaderLib.js
  • three/src/renderers/shaders/UniformsLib
  • three/src/renderers/shaders/UniformsLib.js
  • three/src/renderers/shaders/UniformsUtils
  • three/src/renderers/shaders/UniformsUtils.js
  • three/src/renderers/webgl/WebGLShadowMap
  • three/src/renderers/webgl/WebGLUtils
  • three/src/scenes/Fog
  • three/src/scenes/Fog.js
  • three/src/scenes/FogExp2
  • three/src/scenes/FogExp2.js
  • three/src/scenes/Scene
  • three/src/scenes/Scene.js
  • three/src/textures/CanvasTexture
  • three/src/textures/CanvasTexture.js
  • three/src/textures/CompressedTexture
  • three/src/textures/CubeTexture
  • three/src/textures/CubeTexture.js
  • three/src/textures/DataTexture
  • three/src/textures/DataTexture.js
  • three/src/textures/DataTexture2DArray
  • three/src/textures/DataTexture3D
  • three/src/textures/DepthTexture
  • three/src/textures/Texture
  • three/src/textures/Texture.js
  • three/src/textures/VideoTexture

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (three) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

three.js

NPM Package Build Size NPM Downloads Language Grade

JavaScript 3D library

The aim of the project is to create an easy to use, lightweight, cross-browser, general purpose 3D library. The current builds only include a WebGL renderer but WebGPU (experimental), SVG and CSS3D renderers are also available in the examples.

ExamplesDocumentationWikiMigratingQuestionsForumSlackDiscord

Usage

This code creates a scene, a camera, and a geometric cube, and it adds the cube to the scene. It then creates a WebGL renderer for the scene and camera, and it adds that viewport to the document.body element. Finally, it animates the cube within the scene for the camera.

import * as THREE from './js/three.module.js';

let camera, scene, renderer;
let geometry, material, mesh;

init();

function init() {

    camera = new THREE.PerspectiveCamera( 70, window.innerWidth / window.innerHeight, 0.01, 10 );
    camera.position.z = 1;

    scene = new THREE.Scene();

    geometry = new THREE.BoxGeometry( 0.2, 0.2, 0.2 );
    material = new THREE.MeshNormalMaterial();

    mesh = new THREE.Mesh( geometry, material );
    scene.add( mesh );

    renderer = new THREE.WebGLRenderer( { antialias: true } );
    renderer.setSize( window.innerWidth, window.innerHeight );
    renderer.setAnimationLoop( animation );
    document.body.appendChild( renderer.domElement );

}

function animation( time ) {

    mesh.rotation.x = time / 2000;
    mesh.rotation.y = time / 1000;

    renderer.render( scene, camera );

}

If everything went well, you should see this.

Cloning this repository

Cloning the repo with all its history results in a ~2 GB download. If you don't need the whole history you can use the depth parameter to significantly reduce download size.

git clone --depth=1 https://github.com/mrdoob/three.js.git

Change log

Releases