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

Add support for MorphShapes in animate library exporter #18

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

space-nuko
Copy link

I needed MorphShape support for one of my projects, so I decided to implement it. It goes as follows:

  1. Export the shape at the 0 and 65535 ratios to make proper start and end edges and serialize them
  2. Parse the commands into shape commands that can be interpolated in the library initializer
  3. When the display object is updated with a new ratio, do the interpolation at runtime and cache the result for that ratio

@space-nuko space-nuko changed the title Add support for MorphShapers in animate library exporter Add support for MorphShapes in animate library exporter Mar 28, 2022
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.

1 participant