3 ms·
I was a high school student in 90-s playing with computer graphics. Back then, good information was hard to come by, and all I had was a short book explaining h
by cyberax 3y ago
I was a high school student in 90-s playing with computer graphics. Back then, good information was hard to come by, and all I had was a short book explaining how transformation matrices work in practice. It was like magic, you could combine any kind of transformations together just by multiplying matrices.
Until I tried to do animations, by linearly interpolating between the "start" and the "end" matrices. It resulted in truly funky transformations that deformed objects in bizarre ways. This in turn led me down the rabbit hole of decomposing matrices into Euler angles, interpolating between them, then struggling with gimbal locks and non-uniformity of polar coordinates, and finally to quaternions.
I wish I had these tutorials back then...
- jimmySixDOF 3y agoOn the topic of matrix multiplication there is an excellent interactive 3D visual explainer from the PyTorch team blog on how it applies to attention heads and weights for ML. https://pytorch.org/blog/inside-the-matrix/ https://pytorch.org/blog/inside-the-matrix/