Matrix Multiplication

Who would have thought that matrix multiplication could be beautiful ?

linear tranformation by matrix multiplication

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.

tegneri

4 Comments

  1. Städ says:

    Hi there.
    Inspiration? don´t get it.

  2. admin says:

    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.

  3. chuko says:

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

  4. admin says:

    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.

Leave a Reply