question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. ItĀ collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

skew implementation, unique?

See original GitHub issue

Expected Behavior

Skewing on a single axis should not affect the other. For instance, a horizontal skew should not affect the height. image

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 image

Environment

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:1
  • Comments:17 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
miltoncandelerocommented, Sep 9, 2022

Alternatively, we could have something like angle, which is syntax sugar for rotation.

I would go with that approach, have skew and shear and have them do different things šŸ¤”

1reaction
ivanpopelyshevcommented, Sep 8, 2022

Our skew is wrong, its more like shear. You can make PR to fix pixi transforms, though it iwll be breaking change. Alternatively, just override Transform.prototype.updateTransform methods for your project with proper math.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found