You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of now, the plugin only adjusts the translation when scale is used, but rotation transform-origin also need to be adjusted according to the translation. Fixed.
The plugin also does not tween the transform-origin coordinates of rotation. WON'T FIX: the plugin will require proper order of transform functions, so no need to tween the transform origin coordinates, all just as described in the recommended draft. Forcing a certain order via the update function produces a significant performance drop.
Also the demo has no mixed SVG transforms. Fixed: also make some cool chained transform.
Attempting a new version of SVG transforms. The new attempt is to get translation from computed matrix applying transform functions step by step, sounds like an interesting idea but I will try it nevertheless.
Update - I think I managed to get this thing to work properly, except stacking SVG transform chains.
This issue is now fixed.
The text was updated successfully, but these errors were encountered:
thednp
changed the title
[Bug] svgTransform: rotations and translate don't work right together
[Bug] svgTransform: skews and translate don't work right together
Aug 28, 2016
As of now, the plugin only adjusts the translation when scale is used, but rotation
transform-origin
also need to be adjusted according to the translation. Fixed.The plugin also does not tween the
transform-origin
coordinates of rotation. WON'T FIX: the plugin will require proper order of transform functions, so no need to tween the transform origin coordinates, all just as described in the recommended draft. Forcing a certain order via the update function produces a significant performance drop.Also the demo has no mixed SVG transforms. Fixed: also make some cool chained transform.
When using skews because the SVG coordinates system, the shapes get stretched and pushed along respective axis. We need to find a way to compensate with translate, similar to when scale is used. WON'T FIX - changing the translation based on skews complicates things alot and it's not reliable with yoyo, chains, etc.
Attempting a new version of SVG transforms. The new attempt is to get translation from computed matrix applying transform functions step by step, sounds like an interesting idea but I will try it nevertheless.
Update - I think I managed to get this thing to work properly, except stacking SVG transform chains.
This issue is now fixed.
The text was updated successfully, but these errors were encountered: