Just a plane and a cylinder in 3d space generated from functions. Texture coordinates are generated at the same time. The texture is generated in the fragement shader. Oops … your browser doesn’t support the HTML5 canvas element Transpose texture UVs → Toggle
2D shapes in WebGL
Ten shapes: random positions, colors, rotation speed. Your browser does not support html5 canvas.
Bresenham line and circle drawing in HTML5