Skip to content

Commit a83b2fa

Browse files
Alex-CSConduitry
authored andcommitted
#3864: Update Penner easing functions link (#3865)
1 parent 0052a91 commit a83b2fa

File tree

1 file changed

+2
-2
lines changed
  • site/content/tutorial/09-motion/01-tweened

1 file changed

+2
-2
lines changed

site/content/tutorial/09-motion/01-tweened/text.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Clicking the buttons causes the progress bar to animate to its new value. It's a
2828
</script>
2929
```
3030

31-
> The `svelte/easing` module contains the [Penner easing equations](http://robertpenner.com/easing/), or you can supply your own `p => t` function where `p` and `t` are both values between 0 and 1.
31+
> The `svelte/easing` module contains the [Penner easing equations](https://web.archive.org/web/20190805215728/http://robertpenner.com/easing/), or you can supply your own `p => t` function where `p` and `t` are both values between 0 and 1.
3232
3333
The full set of options available to `tweened`:
3434

@@ -37,4 +37,4 @@ The full set of options available to `tweened`:
3737
* `easing` — a `p => t` function
3838
* `interpolate` — a custom `(from, to) => t => value` function for interpolating between arbitrary values. By default, Svelte will interpolate between numbers, dates, and identically-shaped arrays and objects (as long as they only contain numbers and dates or other valid arrays and objects). If you want to interpolate (for example) colour strings or transformation matrices, supply a custom interpolator
3939

40-
You can also pass these options to `progress.set` and `progress.update` as a second argument, in which case they will override the defaults. The `set` and `update` methods both return a promise that resolves when the tween completes.
40+
You can also pass these options to `progress.set` and `progress.update` as a second argument, in which case they will override the defaults. The `set` and `update` methods both return a promise that resolves when the tween completes.

0 commit comments

Comments
 (0)