sequential CSS transforms don't match manually computed 3x3 matrix? -
sequential CSS transforms don't match manually computed 3x3 matrix? -
when apply several sequential transformations element using css3's transform
, don't same computed matrix when multiply transform matrices hand. different reason. why?
here's demo:
http://jsfiddle.net/dfqhw64q/7/
here's same demo larger diffs:
http://jsfiddle.net/dfqhw64q/6/
thanks!
figured out.
the matrices using skew shear matrices expect linear values, not angles. after changing skewx
,skewy
math.tan(skewx)
,math.tan(skewy)
, aligned.
works: http://jsfiddle.net/dfqhw64q/8/
css matrix transform
Comments
Post a Comment