Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Additional hidden layers and parenting docs #89

Merged
merged 4 commits into from
Aug 28, 2024

Conversation

fmalita
Copy link
Member

@fmalita fmalita commented Aug 27, 2024

Clarify semantics and interactions.

Clarify semantics and interactions.
@fmalita fmalita linked an issue Aug 27, 2024 that may be closed by this pull request
@mbasaglia mbasaglia added this to the 1.0 milestone Aug 27, 2024
When the `parent` property points to another layer, the referencing layer's current transformation
matrix (CTM) is composed with the parent CTM:

$$CTM(child) = Transform(child) \times CTM(parent)$$
Copy link
Member Author

Choose a reason for hiding this comment

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

I would normally write this in inverted order, but I think this is aligned with the proposed matrix/operations format. @mbasaglia please confirm.

Copy link
Member

Choose a reason for hiding this comment

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

I believe it should be parent x child

Copy link
Member Author

Choose a reason for hiding this comment

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

Done.

@mbasaglia mbasaglia merged commit 823f06c into lottie:main Aug 28, 2024
3 checks passed
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.

Hidden layers
4 participants