Skip to content

Commit 2c048ea

Browse files
committed
Updated broken codepens
1 parent 6d8c299 commit 2c048ea

File tree

10 files changed

+17
-22
lines changed

10 files changed

+17
-22
lines changed

docs/api/easing/approximate.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Approximate
22

3-
- [CodePen Example](https://codepen.io/sol0mka/pen/LZWRMm?editors=0010)
3+
- [CodePen Example](https://codepen.io/sandstedt/pen/yLJjMWP)
44

55
The `approximate` function samples any given function with slow running time and returns new easing function with very fast one. The result still slower than `base easing functions` and may contain a tiny approximation error (by default less than `0.0001`).
66

@@ -26,4 +26,4 @@ You can have the presampled data by calling `getSamples` function:
2626
var samples = fastEasing.getSamples();
2727
```
2828

29-
- [CodePen Example](https://codepen.io/sol0mka/pen/LZWRMm?editors=0010)
29+
- [CodePen Example](https://codepen.io/sandstedt/pen/yLJjMWP)

docs/api/easing/base-functions.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Base Easing Functions
22

3-
- [CodePen Example](https://codepen.io/sol0mka/pen/qNraVV?editors=0010)
3+
- [CodePen Example](https://codepen.io/sandstedt/pen/BazxWag)
44

55
The base easing functions could be expressed with strings that contain `easing name` and `direction` delimited by `.` or could be accessed directly on `mojs.easing` object:
66

@@ -64,4 +64,4 @@ The full list of base functions:
6464

6565
```
6666

67-
- [CodePen Example](https://codepen.io/sol0mka/pen/qNraVV?editors=0010)
67+
- [CodePen Example](https://codepen.io/sandstedt/pen/BazxWag)

docs/api/easing/bezier-curves.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Bezier Curves
22

3-
- [CodePen Example](https://codepen.io/sol0mka/pen/BzWLre?editors=0010)
3+
- [CodePen Example](https://codepen.io/sandstedt/pen/QWErpLw)
44

55
The bezier curves functions can be expressed with string containing `bezier()` function or with `mojs.easing.bezier` constructor that returns a function:
66

@@ -12,4 +12,4 @@ The bezier curves functions can be expressed with string containing `bezier()` f
1212
// ...
1313
```
1414

15-
- [CodePen Example](https://codepen.io/sol0mka/pen/BzWLre?editors=0010)
15+
- [CodePen Example](https://codepen.io/sandstedt/pen/QWErpLw)

docs/api/easing/path-easing.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Path Easing
22

3-
- [CodePen Example](https://codepen.io/sol0mka/pen/KMWgQp?editors=0010)
3+
- [CodePen Example](https://codepen.io/sandstedt/pen/oNLdBrq)
44

55
The path easing functions can be expressed with string containing `svg` path cordinates or with `easing.path` constructor that returns a function:
66

@@ -12,4 +12,4 @@ The path easing functions can be expressed with string containing `svg` path cor
1212
// ...
1313
```
1414

15-
- [CodePen Example](https://codepen.io/sol0mka/pen/KMWgQp?editors=0010)
15+
- [CodePen Example](https://codepen.io/sandstedt/pen/oNLdBrq)

docs/api/syntax/rand.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Rand Strings Syntax
22

3-
- [CodePen Example](https://codepen.io/sol0mka/pen/QEpKwP?editors=0010)
3+
- [CodePen Example](https://codepen.io/sandstedt/pen/dyXevEE?editors=0010)
44

55
`Rand` string was designed to express random numeric values. Can be unit based (percents, pixels, rems etc.).
66

@@ -14,4 +14,4 @@ Full API reference:
1414

1515
```
1616

17-
- [CodePen Example](https://codepen.io/sol0mka/pen/QEpKwP?editors=0010)
17+
- [CodePen Example](https://codepen.io/sandstedt/pen/dyXevEE?editors=0010)

docs/api/syntax/stagger.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Stagger Strings Syntax
22

3-
- [CodePen Example](https://codepen.io/sol0mka/pen/wWJWVY?editors=0010)
3+
- [CodePen Example](https://codepen.io/sandstedt/pen/pobVeBW)
44

55
Stagger string was designed to express continious numeric values. Often used with `Burst` and `Stagger` modules to generate a value on children with some `step`.
66

@@ -18,4 +18,4 @@ Full API reference:
1818

1919
```
2020

21-
- [CodePen Example](https://codepen.io/sol0mka/pen/wWJWVY?editors=0010)
21+
- [CodePen Example](https://codepen.io/sandstedt/pen/pobVeBW)

docs/api/syntax/units.md

-5
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
# Available Units
22

3-
- [CodePen Example](https://codepen.io/sol0mka/pen/JKWRYW?editors=0010)
4-
5-
63
The list of available units: `px|%|rem|em|ex|cm|ch|mm|in|pt|pc|vh|vw|vmin`.
74

85
If `start` and `end` units of `delta` are different - `mojs` will fallback to `end` units.
@@ -16,5 +13,3 @@ Usage with properties:
1613
// ...
1714

1815
```
19-
20-
- [CodePen Example](https://codepen.io/sol0mka/pen/JKWRYW?editors=0010)

docs/api/tweens/timeline.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Timeline
22

3-
- [CodePen Example](https://codepen.io/sol0mka/pen/LZWZON?editors=0011)
3+
- [CodePen Example](https://codepen.io/sandstedt/pen/bGeMqzw?editors=0011)
44
- [Tween API](tween.md)
55

66
`Timeline` inherits all properties, callbacks and public methods from `Tween`, the only difference between `Tween` and `Timeline` is that the later doesn't have the `duration` property - it gets calculated from durations/delays of children. Also `Timeline` add two public methods that can recieve children. Please check the Tween API for reference.
@@ -38,5 +38,5 @@ const timeline = new mojs.Timeline({
3838

3939
```
4040

41-
- [CodePen Example](https://codepen.io/sol0mka/pen/LZWZON?editors=0011)
41+
- [CodePen Example](https://codepen.io/sandstedt/pen/bGeMqzw?editors=0011)
4242
- [Tween API](tween.md)

docs/api/tweens/tween.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Tween
22

3-
- [CodePen Example](https://codepen.io/sol0mka/pen/MepeEx?editors=0011)
3+
- [CodePen Example](https://codepen.io/sandstedt/pen/ZEOoePr?editors=0011)
44
- [Timeline](timeline.md)
55

66
Full API reference:
@@ -135,5 +135,5 @@ const tween = new mojs.Tween({
135135

136136
```
137137

138-
- [CodePen Example](https://codepen.io/sol0mka/pen/MepeEx?editors=0011)
138+
- [CodePen Example](https://codepen.io/sandstedt/pen/ZEOoePr?editors=0011)
139139
- [Timeline](timeline.md)

docs/tools/timeline-editor/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## [Timeline Editor](https://github.com/mojs/mojs-timeline-editor)
1+
# [Timeline Editor](https://github.com/mojs/mojs-timeline-editor)
22
[![npm](https://img.shields.io/npm/v/@mojs/timeline-editor.svg)](https://www.npmjs.com/package/@mojs/timeline-editor)
33

44
MojsTimelineEditor is a GUI plugin for interactive `html`/`custom points`/`timeline` editing while crafting your animations.

0 commit comments

Comments
 (0)