images to svg
This commit is contained in:
parent
a31e881856
commit
3ba28aa104
734 changed files with 11682 additions and 245 deletions
|
@ -154,7 +154,7 @@ The simplest variant is when the animation goes uniformly, with the same linear
|
|||
|
||||
Here's how that curve looks:
|
||||
|
||||

|
||||

|
||||
|
||||
...As we can see, it's just a straight line. As the time (`x`) passes, the completion (`y`) of the animation steadily goes from `0` to `1`.
|
||||
|
||||
|
@ -178,7 +178,7 @@ We can use another Bezier curve: `cubic-bezier(0.0, 0.5, 0.5 ,1.0)`.
|
|||
|
||||
The graph:
|
||||
|
||||

|
||||

|
||||
|
||||
As we can see, the process starts fast: the curve soars up high, and then slower and slower.
|
||||
|
||||
|
@ -204,7 +204,7 @@ Other names are shorthands for the following `cubic-bezier`:
|
|||
| <code>ease</code><sup>*</sup> | <code>ease-in</code> | <code>ease-out</code> | <code>ease-in-out</code> |
|
||||
|-------------------------------|----------------------|-----------------------|--------------------------|
|
||||
| <code>(0.25, 0.1, 0.25, 1.0)</code> | <code>(0.42, 0, 1.0, 1.0)</code> | <code>(0, 0, 0.58, 1.0)</code> | <code>(0.42, 0, 0.58, 1.0)</code> |
|
||||
|  |  |  |  |
|
||||
|  |  |  |  |
|
||||
|
||||
`*` -- by default, if there's no timing function, `ease` is used.
|
||||
|
||||
|
@ -246,7 +246,7 @@ But if you click the train, you'll see that:
|
|||
|
||||
Why it happens -- pretty obvious if we look at the graph of the given Bezier curve:
|
||||
|
||||

|
||||

|
||||
|
||||
We moved the `y` coordinate of the 2nd point below zero, and for the 3rd point we made put it over `1`, so the curve goes out of the "regular" quadrant. The `y` is out of the "standard" range `0..1`.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue