IBMRectangleSkewing
IBMRectangleSkewing.mp4
Description
A Rectangle of size 50 50 is inside a Transform2D with the scale field at 1 4, so its scaled by 4 times in the Y
direction but maintains it's original size in the X direction. At t=2s an interpolator starts changing the scale
orientation over a period of 8s from 0 to PI radians and back to 0 again, maintaining it briefly at 0 before
restarting the cycle over. At PI/2 (90 degrees) scaleOrientation, as in the second screen capture below, the
rectangle ends up being scaled by 4 in the X direction and 1 in the Y direction. At other scaleOrentations the
rectangle appears skewed.
Screenshot
Snapshot taken at t=0.
Snapshot taken when scaleOriention is 90 degrees.
Snapshot taken as some intermediate point in the cycle.
Back to main index