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

Experimental animation tracking #19

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Conversation

developit
Copy link
Collaborator

@developit developit commented Oct 29, 2020

This tracks animation state and runs a frame loop to update painted elements that are affected by transition/animation changes. It's pretty slow though, and these browsers don't provide "rendered values" for animating/transitioning custom properties anyway. The result is basically that the polyfill triggers a bunch of painter updates, none of which are useful.

Without tracking:

With tracking:

@spmonahan
Copy link

Hey @developit , I've been working with Houdini recently and this feature would be really nice to have. Seems like it might not be doable but I also see that this PR is a couple years old at this point. Wondering if there have been any developments that make this worth revisting?

@developit
Copy link
Collaborator Author

@spmonahan there haven't been any changes to the web platform that would make it possible to polyfill this, and it's very unlikely there will be (since those changes would most likely happen as part of Houdini).

@spmonahan
Copy link

I figured as much :(

Thanks for the quick reply!

@flackr
Copy link

flackr commented Sep 7, 2023

It looks like Safari supports animating registered custom properties now:
https://jsbin.com/jawekan/edit?html,css,output

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.

3 participants