5 ms·
This is about achieving rotation through a combination of skewing and scaling about X and Y, not just about a direct application of a rotation matrix. It's a t
by JosephRedfern 9y ago
This is about achieving rotation through a combination of skewing and scaling about X and Y, not just about a direct application of a rotation matrix.
It's a trick because to many it's not immediately obvious (even if you know about transformation matrices).
This is exactly the kind of thing I visit HN for -- the demonstration and explanation of an interesting hack. You may not have found it interesting, which is perfectly fine, but please don't assume that others didn't.
- nurettin 9y agoI'm sorry I assumed obvious transformations are obvious for everyone. Won't do it again. Thanks for shaming me. It is an honour. You make very high quality and original comments on HN, I will bookmark this thread and come back to read your awesome content later.
- gugagore 9y agoIt's just that you reduced it to "rotation matrices". And that's not what the trick is. The trick is factoring the rotation matrix into some easier matrices.