Matrix Demo

Demonstration of the Matrix Transform functionality on Geometry objects.

Use geometry.addMatrix(a, b, c, d, tx, ty) to add a transformation matrix to the geometry. Then call matrixTransform to apply the transformation to the underlying point array.

Scroll further to edit the source code for this visual.

Edit the above code to see what happens. Try changing the a, b, c and d variables defined at the top.

You can also animate these for a cool effect.

Continue learning hyperobjects concepts