Difference between revisions of "Three.js"

From BITPlan Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
Three.js is a 3D Javscript library
 
Three.js is a 3D Javscript library
 
= Coordinate system =
 
= Coordinate system =
 
+
Three.js uses the coordinate system shown in the following picture:
Three.js uses a non-standard coordinate system. The "up" direction is named "y" where most often you'll find the "up" direction named "z" in other libraries and coordinate systems.
+
[[File:xyzThree.png|400px]]
 +
* x: red
 +
* y: green (up)
 +
* z: blue
  
 
See also https://tweedegolf.nl/blog/5/threejs-rotations
 
See also https://tweedegolf.nl/blog/5/threejs-rotations
 
= Links =
 
= Links =
https://threejs.org/
+
* https://threejs.org/
 +
* https://classroom.udacity.com/courses/cs291

Revision as of 13:05, 14 August 2019

Three.js is a 3D Javscript library

Coordinate system

Three.js uses the coordinate system shown in the following picture: XyzThree.png

  • x: red
  • y: green (up)
  • z: blue

See also https://tweedegolf.nl/blog/5/threejs-rotations

Links