Link to the next tutorial - Tutorial 2: Basic Three.js

1. What is WebGL?

WebGL_Logo.svg.png

WebGL (Short for Web Graphics Library) is a JavaScript API for rendering interactive 2D and 3D graphics within any compatible web browser without the use of plug-ins.

Advantages:

Disadvantages:

2. Why use WebGL for Computer Graphics project?

Prior to the last several years, ICT bachelor students had faced problems when working on Computer Graphics labworks and/or the final project.

For instance:

To overcome the difficulty, we would love to have a look at WebGL and JavaScript. Of course, we will need to install Node.js and npm. Once finished, we can use npm to install any package just like Python pip command.

In addition, there is a very famous JavaScript 3D Library - the Three.js. It is well-developed and constantly maintained by the Github community. Three.js documentation is also very easy to read and understand with a variety of examples.