Tag: #js
Homogeneous coordinates in 3D
I implement homogeneous coordinates in 3D, including rotation, scaling, translation, and projection matrices, and use them to create an animated 3D house scene. 2020-11-29
Homogeneous coordinates in 2D, from scratch
Homogeneous coordinates enable a matrix to translate points. I show a six-line JS library. 2020-11-28
A matrix library in 5 lines of code
A 5-line matrix library, and how to derive it without rote memorization. 2020-11-27
All content copyright James Fisher.