block by mbostock 5440492

Hello WebGL

Full Screen

Every introductory WebGL tutorial I could find uses utility libraries (e.g., Sylvester) in efforts to make the examples easier to understand. While encapsulating common patterns is desirable when writing production code, I find this practice highly counterproductive to learning because it forces me to learn the utility library first (another layer of abstraction) before I can understand the underlying standard. Even worse when accompanying examples use minified JavaScript…

So here’s a vanilla Hello World with no dependencies and no branching. Enjoy.

Next: Part II

index.html