19 ms·
Reminds me of the old "hack" to use three shear transformations to rotate an image. The idea being that a shear is relatively much faster on weaker CPUs, relat
by magicalhippo 8y ago
Reminds me of the old "hack" to use three shear transformations to rotate an image.
The idea being that a shear is relatively much faster on weaker CPUs, relative to doing a "proper" (reverse mapping) rotation.
A nice write-up can be found here: https://www.ocf.berkeley.edu/~fricke/projects/israel/paeth/rotation_by_shearing.html https://www.ocf.berkeley.edu/~fricke/projects/israel/paeth/r...