Fixing the Drift in Shape Rotations

Steve Ruiz recently noted that in many design tools a group of shapes would end up at a different position after you rotate them and then successively rotate them back.

The problem here is that the average center of the group — the point on which the group rotates — changes after the first rotation. Knowing this, the solution — first detailed on Twitter and later on his blog — is pretty straightforward …

Fixing the Drift in Shape Rotations →

About the author

Bramus is a Freelance Web Developer from Belgium. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since (more …)

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.