How can you tell which version of the Three.js library the browser is currently using?
I have tried all of these in the console:
THREE.version
THREE.version()
THREE.v
THREE.v()
But they are all undefined.
Three. js is an open source JavaScript library that is used to display the graphics, 3D and 2D objects on the web browser.
three. js is a JavaScript-based WebGL engine that can run GPU-powered games and other graphics-powered apps straight from the browser.
Type THREE.REVISION
in the console.
Three.js uses the word revision rather than version. You will often see discussion on SO referring to r84 as short hand for "revision 84".
BTW, Three.js automatically logs this number to the console whenever an instance of THREE.WebGLRenderer
is initialised. Look near the top of the console for something like:
THREE.WebGLRenderer 84 three.min.js:154
>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With