-
Notifications
You must be signed in to change notification settings - Fork 14
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
Add pucker/bloat modifier #102
Conversation
"$ref": "#/$defs/properties/scalar-property" | ||
} | ||
}, | ||
"required": [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should a
be required also?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it can default to 0
{schema_object:shapes/pucker-bloat} | ||
|
||
When `a` is `0`, nothing changes.<br/> | ||
When `a` is positive, the vertices are pulled towards the center, with `100` being at the center. And the tangents are pushed away.<br/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should document what the center of an arbitrary shape is. IIRC it's the average of all vertices.
@mbasaglia should we merge to a develop or version-specific branch? |
Not sure, we could also cherry pick on patch branches |
@cla-bot check |
The cla-bot has been summoned, and re-checked this pull request! |
Adds a modifier to the specs, it's rather simple to implement and already supported by lottie-web.