Skip to content
This repository has been archived by the owner on Dec 21, 2019. It is now read-only.

Tweening gradients? #3

Open
oskarkrawczyk opened this issue Jun 18, 2010 · 2 comments
Open

Tweening gradients? #3

oskarkrawczyk opened this issue Jun 18, 2010 · 2 comments

Comments

@oskarkrawczyk
Copy link

More of a question this time:

Any plans on tweening gradients? I understand tweening 2 to 5 gradients would be pretty much impossible but how about just a 2=>2 color tween?

@sebmarkbage
Copy link
Contributor

The objective should be to allow all features to be animated. Although, maybe some more obscure via plugins (like path -> path morphing).

It's actually not more difficult to do a 2->5 color gradient tween. We can just insert stops on the same offsets on both gradients. If the stops are not on the same offsets this may result in two 7 stop gradients. Then animate the colors on each stop.

@oskarkrawczyk
Copy link
Author

Nice, this would be one amazing feature of ART. A total winner.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants