References: Matrix Transformations & Coordinate Systems¶
-
Transformation matrix - Wikipedia - Mathematical foundations of affine transformations, linear mapping, matrix multiplication, and homogeneous coordinate systems. Essential for understanding canvas translation, rotation, and scaling in 2D space.
-
Call stack - Wikipedia - Exhaustive exploration of Last-In-First-Out (LIFO) stack data structures, coordinate frame hierarchies, and state push/pop mechanics. Directly maps to coordinate isolation with p5.js push() and pop() functions.
-
Rotation matrix - Wikipedia - Trigonometric derivation of 2D and 3D rotational transformations about coordinate origins. Provides theoretical backing for angle conversions, radian measures, and pivot manipulation in computer graphics.
-
Mathematical Elements for Computer Graphics (Second Edition) - David F. Rogers and J. Alan Adams - McGraw-Hill - Rogers and Adams formulated the definitive textbook derivation of concatenated 2D and 3D affine transformation matrices, setting the standard for computer graphics matrix education and computational geometry.
-
Real-Time Rendering (Fourth Edition) - Tomas Akenine-Möller, Eric Haines, Naty Hoffman, Angelo Pesce, Michal Iwanicki, and Sébastien Hillaire - A K Peters/CRC Press - Akenine-Möller and Haines established the modern hierarchical scene graph model, illustrating how nested matrix stacks simplify articulated multi-joint kinematic systems and visual transforms.
-
p5.js Transform Reference - p5.js Foundation - Official documentation covering translate(), rotate(), scale(), shearX(), shearY(), and matrix stack state isolation via push() and pop() for local coordinate management in sketches.
-
Canvas 2D Transformations Tutorial - MDN Web Docs - Comprehensive guide on canvas coordinate grid relocation, state saving and restoring, rotation origins, and custom 3x3 matrix multiplication in standard web canvas contexts.
-
Transformations: Translation and Rotation in p5.js - The Coding Train - Visual video lesson explaining how moving the entire coordinate system rather than recalculating vertex offsets simplifies geometric drawing and complex radial symmetry in sketches.
-
Matrix Transformations in WebGL and Computer Graphics - WebGL Fundamentals - Deep dive into 2D matrix mathematics, demonstrating how translation, rotation, and scaling matrices multiply together into single efficient transform operations for GPU acceleration.
-
Understanding the Matrix Stack: push() and pop() - Gene Kogan Workshop - Interactive educational guide demonstrating hierarchical transformations, branching trees, and isolated coordinate scopes in creative coding sketches and kinetic mechanical simulations.