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
So I've done a first draft of some Matrix2D tests (I'll link the code in a second).
My main issues are that the decomposition test is unverified (i.e. I did the comparison calculations in easeljs, so obviously it's going to pass at this point) and that the EaselJS skew isn't working in the same was as my calculations.
I'll have to look into this some more. IIRC, our skew is based off of Flash's skew (which is a visual vs mathematical skew). It's unlikely we'd change it at this point regardless, but perhaps we could add a cssSkew method to matrix, or something similar (just brainstorming here).
So I've done a first draft of some Matrix2D tests (I'll link the code in a second).
My main issues are that the decomposition test is unverified (i.e. I did the comparison calculations in easeljs, so obviously it's going to pass at this point) and that the EaselJS skew isn't working in the same was as my calculations.
easeljs skew method:
whereas I was using tans, which in easel would be
This is how it is done in CSS
They appear to give somewhat similar results except that the cos/sin method does add a scaling component.
Thoughts? I can just change to the cos/sin method if there's a reason for it.
The text was updated successfully, but these errors were encountered: