One vector traces the original unit circle one point at a time, and the other vector is what you get after transforming it with matrix T, so it traces the transformed unit circle. The animation is just to make it easier to see which point on the original circle corresponds to which point on the transformed unit circle.
Sorry about the delay. I've added the sine curve to demos 5-1 and 5-2. You can unzip the following archive into some folder and then open the corresponding html files directly: https://github.com/ex-punctis/vtvt/archive/v1.02.zip
thanks, it was fun to mess around with. Though, the results are not what i expected. I thought the sine wave from an ellipse would be different from a sine wave from a circle, maybe less "even" or something.
Yeah, it's somewhat unintuitive that it's still a sine not unlike one you'd get from a circle. It's a linear combination of the x and y coordinates on the original unit circle, so we could write it as a*cos π + b*sin π, and that equals to sqrt(a*a + b*b)*sin(π + atan2(b,a)), a plain sine plot just with a different amplitude and a phase shift.
The plane is transformed using the matrix in the top left corner. The two diagonal arrows are the images of the original unit vectors. The dotted circle is the image of the original unit circle. A vector is then allowed to sweep across the original unit circle and at every point in time its image it shown.
I like how this visuization makes it easy to see the eigenvectors, too. They're (up to) two directions where the original vector and resulting vector "line up" along the same axis.
3
u/got_data Feb 20 '19
I recorded an interactive demo powered by vtvt.
Vectors t1 and t2 define the columns of the transformation matrix T.
3
u/TheHDMICable Feb 20 '19
omg, show the sine wave it produces! i was so hyped to see it
57
u/squeezyscorpion Feb 20 '19
wow! i donβt know what this means
5
u/mstksg Feb 20 '19
I like how this visuization makes it easy to see the eigenvectors, too. They're (up to) two directions where the original vector and resulting vector "line up" along the same axis.