Open iongion opened 5 years ago
Thanks @iongion!
I assumed most developers would discover/use this library as a "lower-level" alternative to CSS Transforms, primarily for its ability to combine transforms. In other words, I expect developers to use Rematrix more or less as they would CSS Transforms.
I think it would be great to add more examples, but beyond the tutorial in the README, I'm not really sure how else to demonstrate other meaningful uses of this library. I'll need some help coming up with more tutorials/usage examples.
I want to move an element x pixels on Y axis from absolute position. How do I do that and keep other transforms on the element?
Or how do I reset the Y axis translation to 0.
First of all, this is so good 👍 My linear algebra is dead in the water, what do you think of adding some methods or examples on how to:
1) Pan with a pivot 2) Zoom with a pivot 3) Adding constraints such as limiting transform to parent bounding box