The MDN animation documentation refers to animation type being discrete. What does this mean?
相关问题
- Adding a timeout to a render function in ReactJS
-
Why does the box-shadow property not apply to a
- Add animation to jQuery function Interval
- jQuery hover to slide?
- Issue with star rating css
Discrete animations proceed from one keyframe to the next without any interpolation.
Think of it the way you normally would think of an animation - one image to the next. Interpolation is inbetweening - filling in space between the main images (in the case of computer graphics these are found from formulas).
In traditional hand-drawn animation, the main artist would produce the keyframes, and an assistant would draw the inbetweens.
So discrete animation is like hand-drawn animation done without the inbetweens of an assistant.