7 shader demos
- draw a triangleDraw a single triangle with a gradient fill.
- draw a circleDraw a circle in a fragment shader without vertices.
- draw linesDraw lines using the gl.LINES drawing mode.
- draw pointsDraw points using the gl.POINTS drawing mode.
- draw a full imageDraw a full gradient using two vertices (a "quad") which cover the entire frame.
- render a cubeRender a rotating cube using 12 vertices.
- draw a sine waveDraw a moving sine wave in a fragment shader.