Two.js seems to only support a single value for a scale, not x,y components. Is it possible to just stretch something horizontally?
Asked
Active
Viewed 449 times
1 Answers
2
Yes, under the hood every Two.Group and Two.Polygon has a _matrix object. You can set _matrix.manual and then do a number of other transformations that you can't do with the typical two.js API. Check out this example for a demonstration.
jonobr1
- 1,013
- 2
- 11
- 22