About three.js
It is a cross-browser JavaScript library API meant to develop animated 3D computer graphics in a Web browser. The source code of three.js is hosted in a repository on GitHub. You can create GPU-accelerated 3D animations with the help of JavaScript. Various libraries such as three.js make it possible to write complex 3D computer animations. Three.js allows you to add or remove objects during runtime. Also, it is made available under the MIT license and is supported by all the browsers.
With the help of three.js, you can create building blocks of 3D modeling and add various features such as cameras, meshes, animations, lights, and much more. The development of three.js is simplified to produce output in the form of the fraction of the code.
Main uses
Typical uses of Three.js are:
- You can include three.js in a Web page by associating it with a local or remote copy.
- You can use the three.js file in various applications such as model visualization and scene creation.
- It is also used in the game and simulation authoring tools.
- You can use many plugins to add the standard features such as keyboard and management of mouse.
- You can create a scene and add content such as camera, lights, textures, and models.
- You can use the three.js open source JavaScript library to create and display animation 3D graphics on the web.
- With the help of three.js libraries, you can develop web applications that run on the web browsers.
- Using three.js the developers can perform amazing tasks on the internet.
History of three.js
Initially, three.js was released by Ricardo Cabello in April 2010. At that time, the code was developed in ActionScript and then the code was ported to JavaScript. Three.js was introduced with the rendering code in the form of the module instead of the core itself. Later on in March 2011, Joshua Koo came on the board after the introduction of WebGL. In September 2011, Koo released his first three.js demo for 3D text.