Learning & knowledge · Product profile
webgl2-glsl-primer
Grok WebGL2 and GLSL through a sequence of guided tutorials, each chunked into atomic Q&A cards suitable for spaced repetition, with hands-on projects and solution code integrated throughout.
Image could not load. View the original source
Image provenance
Original project branding or screenshot referenced from official project evidence with attribution; trademarks remain with their owners. · Verified Nov 22, 2026
The idea
What it helps you do.
- 01Creation process: Human expertise vs. AI editing
- 02WebGL and GLSL Current lingua franca for hardware-accelerated graphics on the web Wide employer demand, indicating extensive current usage Mature support in all major browsers (since 2014 for 1.0, 2022 for 2.0), indicating a large ecosystem
- 03WebGPU and WGSL Emerging tech meant as an eventual WebGL replacement, for graphics, computation, and native-feeling apps (e.g., via Electron) Nascent employer demand focused on innovation and adaptation of WebGL code Initial support in all major browsers (as of mid-2025), with production deployments under development but impeded by significant inconsistencies, limitations, and bugs across browser implementations, operating systems, and hardware platforms
- 04Matrix representations: Although we won't be multiplying matrices manually, it will still be helpful to have a procedural understanding of matrix multiplication, which is covered in this ten-minute YouTube video. It will also be helpful for you to know that matrix multiplication represents geometric transformations. For example, if you want to rotate the point $(1, 1)$ around the origin in the plane, you can accomplish this by multiplying a vector with components [1, 1] by a rotation matrix. It's not necessary to know how to define matrices for rotations or other transformations; it's enough to know that multiplying by a matrix accomplishes a transformation. Specific APIs for programming matrix operations are not assumed.
- 05Homogeneous coordinates: Homogeneous coordinates are to projective geometry what Cartesian coordinates are to Euclidean geometry. This is a very cool idea that allows us to represent not just linear transformations (like scaling, rotating, shearing) via matrix multiplication, but also affine transformations (like translations), and even perspective projections (which make distant objects appear smaller). This is accomplished by including one extra coordinate, allowing us to represent both points (which can be translated) and directions (which cannot). It works as follows. When w is 0, translation vectors are annihilated (multiplied by zero), so [x, y, z, 0] represents the direction [x, y, z]. When w is 1, the translation vectors are preserved (multiplied by 1), so [x, y, z, 1] represents the point [x, y, z]. When w is a general nonzero value, the vector [x, y, z, w] represents the 3D point [x / w, y / w, z / w].
- 06Local space: It's easiest if we can design one tire, centered at the origin. This is local space.
Before you begin
A few things to check.
- The directory describes the official project; deployment, maintenance and infrastructure requirements must be checked in its documentation.
- Hosted plans, commercial support, taxes and usage limits are not verified by this repository listing.
People behind the work
The connection matters.
Repository ownership is verified separately from authorship, maintenance or founding. How we verify →
Sources & verification
Suggest a correction →- api.github.comSource evidence reviewed · Nov 22, 2026
- api.github.comSource evidence reviewed · Nov 22, 2026