skew implementation, unique?
See original GitHub issueExpected Behavior
Skewing on a single axis should not affect the other. For instance, a horizontal skew should not affect the height.
I see this has been brought up before in issue #4417. Itās marked completed and is closed despite no resolution. The titleās reference to āCSSā is a misnomer: in fact itās the standard. I canāt find evidence of āskewā meaning anything other than what we see in the CSS implementation.
Current Behavior
The sprite appears to rotate in pseudo-3d. The image seems to fold down, like the perimeter of the sprite doesnāt change.
https://www.pixiplayground.com/#/edit/WJ321AnrYkhLUcQ6Ko_yy
Environment
pixi.js
version: 6.5.2- Running Example: https://www.pixiplayground.com/#/edit/WJ321AnrYkhLUcQ6Ko_yy
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:17 (4 by maintainers)
Top Results From Across the Web
Skew Heap - GeeksforGeeks
A skew heap (or self ā adjusting heap) is a heap data structure implemented as a binary tree. Skew heaps are advantageous because...
Read more >skew() - CSS: Cascading Style Sheets - MDN Web Docs
The skew() CSS function defines a transformation that skews an element on the 2D plane. Its result is a <transform-function> data type.
Read more >Skew Join Optimization in Hive - Medium
Handling skewed data in Hive can be quite challenging. In this post, we discuss one of solutions to handle the skewness in the...
Read more >Skew join optimization | Databricks on AWS
Skew join optimization ... Data skew is a condition in which a table's data is unevenly distributed among partitions in the cluster. Data...
Read more >Skew binary number system - Wikipedia
A number can have many skew binary representations. For example, a decimal number 15 can be written as 1000, 201 and 122. Each...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I would go with that approach, have
skew
andshear
and have them do different things š¤Our
skew
is wrong, its more likeshear
. You can make PR to fix pixi transforms, though it iwll be breaking change. Alternatively, just overrideTransform.prototype.updateTransform
methods for your project with proper math.