First encounter with attributes and sending data to GPU. Click on the canvas to change the horizontal position of the square.

Your browser does not seem to support HTML canvas.