## Matrix Multiplication

Who would have thought that matrix multiplication could be beautiful ?

The very short desctiption :

inspiration from an example of homogeneous coordinates in my linear algebra book and lectures about lineartransforms.

There is a jar, with sourcecode, if you want to se it “live” or twiddle with it.

Hi there.

Inspiration? don´t get it.

Well for the sake of the exercise i did all the manipulation af the coordinates manually.

Which means that the transformations are matrix multiplacations.

So the inspiration, for the code, is from the book and lectures.

What am I looking at here, some sort of representation of an homogeneous coordinate transform? What coordinate system? What do the colors mean?

Its a series of linear transforms, scaling, rotation and translation.

The colors are random.

Its starts with a polygon, which is scaled, rotated and translated and painted over and over again.

There is lot of alpha in the colors and its very thin lines, hence the “nice effect”.

The only way to use matrices to represent translations is to use homogenus coordinates.

All in all it just made to look nice, and as an programming excercise.