Skip to content

Conversation

@fantasai
Copy link
Collaborator

@fantasai fantasai commented Jun 19, 2023

Continuing from #8965 ... This refactors the Animation Effects section of the Web Animations model.

Have not yet worked through the progress calculation section (other than teasing out things which should go ahead of it), so haven't dealt with #8965 (comment), but it's almost 2am so submitting everything I've got for above it since it's a pretty coherent set of changes as-is. :)

@fantasai
Copy link
Collaborator Author

I guess a somewhat relevant question here is whether we want to rename “timing function” to “easing function” while we're at it.

@w3c w3c deleted a comment Jun 24, 2023
@fantasai fantasai changed the title Restructure and Improve DFNs in Animation Effects section [web-animations-1] Restructure and Improve DFNs in Animation Effects section Aug 16, 2023
Copy link
Contributor

@birtles birtles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks really great. It makes a lot of sense to me.

I've left some comments about some of the earlier sections that you may not agree with so I'd like to hear your thoughts on those. Apart from that, it's great. Thank you!

@fantasai fantasai force-pushed the editorial-wa1-effects branch from 9089166 to 3f89c42 Compare August 18, 2023 16:25
fantasai added a commit to fantasai/csswg-drafts that referenced this pull request Aug 18, 2023
This makes it easier to understand what this object is
and to contextualize all the definitions that follow.
This improves the flow of the story we're telling
about what an animation effect is and how it works.

(See next commit for tweaks on the text; this only moves it.)
* give local time a proper DFN
* tweak Time Spaces to fit as an overview for more than just the iteration section
* use proper dfn markup for the various terms defined in the Time Spaces overview
…vs Progress Calculations

This restructuring sorts various subsections into:
* properties of an animation effect
   -> filed as direct subsections of Animation Effect
* transformation of the input time into output progress
   -> filed as direct subsections of Calculating Progress

This way the first section builds up the model of what an Animation Effect *is*,
and the second section defines the flow of time through various transformations into an output progress value.

(See next commit for integration edits; this only moves text.)
…timing function

* Integrate normative and non-normative text of “direction control”
  and give each playback direction value a proper definition.
* DFN a term for the effect-wide easing function, and clarify its effect.
* DFN “keyframe-specific timing function” for parallelism and easier referencing.
@fantasai fantasai force-pushed the editorial-wa1-effects branch from b33d125 to 7b3a173 Compare August 21, 2023 17:24
@fantasai fantasai merged commit 61da22e into w3c:main Aug 22, 2023
@fantasai fantasai deleted the editorial-wa1-effects branch August 22, 2023 16:16
fantasai added a commit to fantasai/csswg-drafts that referenced this pull request Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants