Skip to content

Conversation

Zyie
Copy link
Member

@Zyie Zyie commented Jun 26, 2025

Adds an 'origin' property to the container, providing a way to specify the point around which the container rotates and scales without affecting its position.

demo: https://codesandbox.io/p/devbox/pixi-js-sandbox-forked-d33hvg

Adds an 'origin' property to the container, providing a way to specify the point around which the container rotates and scales without affecting its position.

This allows for more flexible and intuitive control over container transformations, particularly when rotating or scaling around a specific point.
Copy link

codesandbox-ci bot commented Jun 26, 2025

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 75c8ed3:

Sandbox Source
pixijs/pixijs Configuration

@Zyie Zyie marked this pull request as ready for review June 27, 2025 13:21
Copy link
Member

@bigtimebuddy bigtimebuddy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Terrific, no notes. Great work, I believe origin will confuse folks a lot less than pivot in it's behavior.

@Zyie Zyie added this pull request to the merge queue Jul 3, 2025
Merged via the queue into dev with commit 8770138 Jul 3, 2025
5 checks passed
@Zyie Zyie deleted the feat/origin branch July 3, 2025 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants