images to svg
This commit is contained in:
parent
a31e881856
commit
3ba28aa104
734 changed files with 11682 additions and 245 deletions
|
@ -160,7 +160,7 @@ Function `animate` accepts 3 parameters that essentially describes the animation
|
|||
```
|
||||
|
||||
It's graph:
|
||||

|
||||

|
||||
|
||||
That's just like `transition-timing-function: linear`. There are more interesting variants shown below.
|
||||
|
||||
|
@ -221,7 +221,7 @@ function quad(timeFraction) {
|
|||
|
||||
The graph:
|
||||
|
||||

|
||||

|
||||
|
||||
See in action (click to activate):
|
||||
|
||||
|
@ -231,7 +231,7 @@ See in action (click to activate):
|
|||
|
||||
Here's the graph for `progress` in the power `5`:
|
||||
|
||||

|
||||

|
||||
|
||||
In action:
|
||||
|
||||
|
@ -249,7 +249,7 @@ function circ(timeFraction) {
|
|||
|
||||
The graph:
|
||||
|
||||

|
||||

|
||||
|
||||
[iframe height=40 src="circ" link]
|
||||
|
||||
|
@ -269,7 +269,7 @@ function back(x, timeFraction) {
|
|||
|
||||
**The graph for `x = 1.5`:**
|
||||
|
||||

|
||||

|
||||
|
||||
For animation we use it with a specific value of `x`. Example for `x = 1.5`:
|
||||
|
||||
|
@ -306,7 +306,7 @@ function elastic(x, timeFraction) {
|
|||
```
|
||||
|
||||
**The graph for `x=1.5`:**
|
||||

|
||||

|
||||
|
||||
In action for `x=1.5`:
|
||||
|
||||
|
@ -349,7 +349,7 @@ Then the bounce will be not in the beginning, but at the end of the animation. L
|
|||
|
||||
Here we can see how the transform changes the behavior of the function:
|
||||
|
||||

|
||||

|
||||
|
||||
If there's an animation effect in the beginning, like bouncing -- it will be shown at the end.
|
||||
|
||||
|
@ -395,7 +395,7 @@ The "easeInOut" transform joins two graphs into one: `easeIn` (regular) for the
|
|||
|
||||
The effect is clearly seen if we compare the graphs of `easeIn`, `easeOut` and `easeInOut` of the `circ` timing function:
|
||||
|
||||

|
||||

|
||||
|
||||
- <span style="color:#EE6B47">Red</span> is the regular variantof `circ` (`easeIn`).
|
||||
- <span style="color:#8DB173">Green</span> -- `easeOut`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue