Monthly Archives: January 2017

Getting started with WebGL – Part 2

Introduction   Having introduced the drawing pipeline in a preceding article, we will now code a first example. We will initialize a HTML canvas to draw on, and then write the shaders that constitute our program     Initialize a canvas All the code is available at To get it, you may run those […]

Read more

Getting started with WebGL – Part 1

Introduction   This introduction requires no prior knowledge in geometry or maths, but still requires a good 15min of your time so treat yourself with a cup of coffee and let’s get started! WebGL enables us to perform 3D rendering in an HTML page without the use of plug-ins. A WebGL program consists of a […]

Read more