Function: DisplayShapeMatrix()
In this section, we will refactor the code to create a custom function: displayShapeMatrix( ), that can render a 2D PShape array in a grid layout, at any x,y location.
The function below is used to determine the grid-layout, and actually calls the PShape shape( )
function that is used to render each PShape object on the screen.
PreviousFunction: Populate2DArray( )NextTransforms for Position, Rotation, Scale of ShapeMatrix Elements
Last updated