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

Initial wording for shape rendering #16

Merged
merged 12 commits into from
Feb 13, 2024

Conversation

mbasaglia
Copy link
Member

Adds wording for shape algorithms. I used BCP 14 words to specify compliance requirements.

@mbasaglia
Copy link
Member Author

This SHOULD match lottie-web output.

docs/index.md Outdated Show resolved Hide resolved
Copy link
Member

@fmalita fmalita left a comment

Choose a reason for hiding this comment

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

Thanks Mattia, this is awesome!

docs/index.md Outdated Show resolved Hide resolved
docs/specs/shapes.md Outdated Show resolved Hide resolved
docs/specs/shapes.md Outdated Show resolved Hide resolved
docs/specs/shapes.md Outdated Show resolved Hide resolved
docs/specs/shapes.md Outdated Show resolved Hide resolved
docs/specs/shapes.md Outdated Show resolved Hide resolved
@mbasaglia
Copy link
Member Author

As a sanity check, I've written this script that given rendering instructions as per the specs, renders a lottie path shape: https://gist.github.com/mbasaglia/5e82cbbe64bbbd3ce96aadb0f952b1e9

Perhaps it would be useful to add it to the github actions to verify the instructions make sense and such but it would need more work for that.

@mbasaglia
Copy link
Member Author

Shapes as rendered from the instructions:
rect
ellipse

@mbasaglia mbasaglia merged commit eeb17d3 into lottie:main Feb 13, 2024
1 check 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.

4 participants