Playground for visualizing linear (matrix) transformations. Linear Algebra for Programmers

1 min read Original article ↗

M = \( \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} \), x = \( \begin{bmatrix} 1 & 0 \\ 0 & 1 \end{bmatrix} \)

Some examples of things you can type:


- Add a polygon with points 0,3 1,2 4,-2 and -4,-4

- 10 points on a circle of radius 4

- Rotate M by 30 degrees

- Rotate transformation matrix by 30 degrees

- Set M to 1,0 1,1

- Set x to (1,2), (-4,-3) (3,2)

- Set input vectors to (1,2), (-4,-3) (3,2)

- Rotate x by 10 deg

- A random triangle

- A square with side 4 and top left point at -2,2

- Reset M

- Reset x