technique

Matrix transformation stack (pushMatrix/popMatrix)

translate()/rotate()/scale() move the coordinate grid, not the shapes on it; pushMatrix()/popMatrix() save and restore that accumulated matrix like a stack.

Also called: pushMatrix/popMatrix · transformation matrix stack

What it is

How it works

Parameters & tuning

Where it’s been used

Variants & neighbours

Go deeper


Revision 1 · 1 source · Something wrong? Tell us.