[web-animations-2] controlling animation frame rate
Nobody has claimed this yet.
- Dominant language
- Bikeshed
- Stars
- 4.9k
- Forks
- 816
- PR merge metrics
- PR metrics pending
Description
Apple has started working on an experimental feature (off by default in Safari Technology Preview) to control the animation frame rate of animations, with an explainer detailing an initial proposal.
To summarize, we would like to allow authors to specify a frame rate for animations such that it would be possible to identify the relative impact of animations, some preferring to run at lower frame rates – and thus allowing to optimize the cadence at which the page is rendered – and some at higher frame rates for maximum visual impact.
Authors would specify a frame rate, either via a keyword (auto, low, high, highest) or using an explicit value.
This proposal would tie in nicely with the notion of a CustomEffect (see https://github.com/w3c/csswg-drafts/issues/6861) such that scripted animations could easily adjust their frame rate without changing their logic.
Cc @smfr
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked animation frame rate explainer and compare its proposal with the related CustomEffect issue. A complete outcome would define how the auto, low, high, highest, and explicit frame-rate options should work for animations, including their interaction with scripted animations.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- frontend, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100