Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

three js

<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js" ></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.module.min.js" ></script>
Comment

three.js

<script src="https://threejs.org/build/three.js"></script>
Comment

what is three.js

Three.js is an opensourse cross-browser JavaScript library 
application programming interface (API) 
used to create and display animated 3D computer graphics in the browser
using WebGL. 
*** available via NPM *** and Github
FEATURES
Effects: Anaglyph, cross-eyed, and parallax barrier.
Scenes: add and remove objects at run-time; fog
Cameras: perspective and orthographic; 
	controllers: trackball, FPS, 
Animation: armatures, forward kinematics, 
	inverse kinematics, morph, and keyframe
Lights: ambient, direction, point, and spot lights; shadows: cast and receive
Materials: Lambert, Phong, smooth shading, textures, and more
Shaders: access to full OpenGL Shading Language (GLSL) capabilities: 
	lens flare, depth pass, and extensive post-processing library
Objects: meshes, particles, sprites, lines, ribbons, bones,
Geometry: plane, cube, sphere, torus, 3D text,
modifiers: lathe, extrude, and tube
Data loaders: binary, image, JSON, and scene
Utilities: full set of time and 3D math functions 
	frustum, matrix, quaternion, UVs, and more
Export and import: utilities to create Three.js-compatible JSON files 
  from : Blender, openCTM, FBX, Max, and OBJ
examples plus fonts, models, textures, sounds, other support files
Debugging: Stats.js, WebGL Inspector, Three.js Inspector
Virtual and Augmented Reality via WebXR 
Comment

three js

<script>console.clear();</script>
<script src="https://unpkg.com/three@0.87.1/build/three.js"></script>
<script src="https://unpkg.com/three@0.87.1/examples/js/controls/OrbitControls.js"></script>
<script src="https://unpkg.com/three@0.87.1/examples/js/loaders/GLTFLoader.js"></script>
Comment

PREVIOUS NEXT
Code Example
Javascript :: pass props from child to parent 
Javascript :: react onclick remove component 
Javascript :: ArduinoJson.h 
Javascript :: remove duplicates strig javascript 
Javascript :: send json by curl 
Javascript :: how to rerender a page in React when the user clicks the back button 
Javascript :: npm start browser 
Javascript :: login condition if and else in router dom of react jsx 
Javascript :: ternary javascript 
Javascript :: cookie-parser get cookie 
Javascript :: javascript array remove last 
Javascript :: react native modal 
Javascript :: slice js 
Javascript :: debounce reactjs 
Javascript :: --env production 
Javascript :: javascript pass this to callback 
Javascript :: while loop javascript 
Javascript :: javascript static class variable 
Javascript :: Check Whether Variable Is String Or Number In JavaScript 
Javascript :: Return with an "IF" Statement 
Javascript :: js repeat 
Javascript :: remix js 
Javascript :: last item of array js 
Javascript :: react native notifications error 
Javascript :: template engine javascript 
Javascript :: !! javascript 
Javascript :: js classlist multiple classes 
Javascript :: parse tree for expression 
Javascript :: how to prevent previous radio button active react native 
Javascript :: javascript get all hidden elements 
ADD CONTENT
Topic
Content
Source link
Name
7+9 =