Skip to content

Latest commit

 

History

History
18 lines (16 loc) · 1.45 KB

ThreeJSCheatSheet.md

File metadata and controls

18 lines (16 loc) · 1.45 KB

ThreeJS Cheat Sheet

Click link -> hold control + left mouse click For more information see: https://threejs.org/docs/#manual/en/introduction/Installation

Action command
Create Scene new THREE.Scene()
Create Camera new THREE.PerspectiveCamera( fieldOfView, aspectRatio, nearClippingPlane, farClippingPlane )
Create Renderer new THREE.WebGLRenderer()
Center camera at origin camera.lookAt(0,0,0)
Create OrbitControls new OrbitControls(camera, renderer.domElement)