@thi.ng/ramp 3.3.21 → 3.3.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1 -1
- package/README.md +1 -1
- package/easing.d.ts +6 -6
- package/hermite.d.ts +3 -2
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
|
-
> This is one of
|
|
10
|
+
> This is one of 202 standalone projects, maintained as part
|
|
11
11
|
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
package/easing.d.ts
CHANGED
|
@@ -8,8 +8,8 @@ import { Ramp } from "./ramp.js";
|
|
|
8
8
|
* `stops` (aka keyframes, minimum 2 required) and options.
|
|
9
9
|
*
|
|
10
10
|
* @remarks
|
|
11
|
-
* Easing functions remap time values in the [0,1] range. By default uses
|
|
12
|
-
* [`easeInOut5
|
|
11
|
+
* Easing functions remap time values in the `[0,1]` range. By default uses
|
|
12
|
+
* [`easeInOut5`](https://docs.thi.ng/umbrella/math/functions/easeInOut5.html).
|
|
13
13
|
*
|
|
14
14
|
* For vector-valued ramps, use {@link ramp} with {@link EASING_V}.
|
|
15
15
|
*
|
|
@@ -24,8 +24,8 @@ export declare const easing: (stops: Frame<number>[], opts?: Partial<RampOpts &
|
|
|
24
24
|
* function to control keyframe interpolation.
|
|
25
25
|
*
|
|
26
26
|
* @remarks
|
|
27
|
-
* Easing functions remap time values in the [0,1] range. By default uses
|
|
28
|
-
* [`easeInOut5
|
|
27
|
+
* Easing functions remap time values in the `[0,1]` range. By default uses
|
|
28
|
+
* [`easeInOut5`](https://docs.thi.ng/umbrella/math/functions/easeInOut5.html).
|
|
29
29
|
*
|
|
30
30
|
* @param easing
|
|
31
31
|
*/
|
|
@@ -35,8 +35,8 @@ export declare const EASING_N: (easing?: FnN) => RampImpl<number>;
|
|
|
35
35
|
* {@link VEC} (arbitrary size), {@link VEC2}, {@link VEC3} or {@link VEC4}.
|
|
36
36
|
*
|
|
37
37
|
* @remarks
|
|
38
|
-
* Easing functions remap time values in the [0,1] range. By default uses
|
|
39
|
-
* [`easeInOut5
|
|
38
|
+
* Easing functions remap time values in the `[0,1]` range. By default uses
|
|
39
|
+
* [`easeInOut5`](https://docs.thi.ng/umbrella/math/functions/easeInOut5.html).
|
|
40
40
|
*
|
|
41
41
|
* @param vec
|
|
42
42
|
* @param easing
|
package/hermite.d.ts
CHANGED
|
@@ -9,10 +9,11 @@ import { Ramp } from "./ramp.js";
|
|
|
9
9
|
* @remarks
|
|
10
10
|
* For vector-valued hermite ramps, use {@link ramp} with {@link HERMITE_V}.
|
|
11
11
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* Reference:
|
|
13
|
+
* https://en.wikipedia.org/wiki/Cubic_Hermite_spline
|
|
14
14
|
*
|
|
15
15
|
* Also see:
|
|
16
|
+
*
|
|
16
17
|
* - https://docs.thi.ng/umbrella/math/functions/mixCubicHermite.html
|
|
17
18
|
* - https://docs.thi.ng/umbrella/math/functions/tangentCardinal.html
|
|
18
19
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/ramp",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.23",
|
|
4
4
|
"description": "Extensible keyframe interpolation/tweening of arbitrary, nested types",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -39,17 +39,17 @@
|
|
|
39
39
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@thi.ng/api": "^8.11.
|
|
43
|
-
"@thi.ng/arrays": "^2.10.
|
|
44
|
-
"@thi.ng/compare": "^2.4.
|
|
45
|
-
"@thi.ng/errors": "^2.5.
|
|
46
|
-
"@thi.ng/math": "^5.11.
|
|
47
|
-
"@thi.ng/transducers": "^9.2.
|
|
48
|
-
"@thi.ng/vectors": "^7.12.
|
|
42
|
+
"@thi.ng/api": "^8.11.21",
|
|
43
|
+
"@thi.ng/arrays": "^2.10.16",
|
|
44
|
+
"@thi.ng/compare": "^2.4.13",
|
|
45
|
+
"@thi.ng/errors": "^2.5.27",
|
|
46
|
+
"@thi.ng/math": "^5.11.21",
|
|
47
|
+
"@thi.ng/transducers": "^9.2.19",
|
|
48
|
+
"@thi.ng/vectors": "^7.12.21"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"esbuild": "^0.
|
|
52
|
-
"typedoc": "^0.27.
|
|
51
|
+
"esbuild": "^0.25.0",
|
|
52
|
+
"typedoc": "^0.27.7",
|
|
53
53
|
"typescript": "^5.7.3"
|
|
54
54
|
},
|
|
55
55
|
"keywords": [
|
|
@@ -122,5 +122,5 @@
|
|
|
122
122
|
"thi.ng": {
|
|
123
123
|
"year": 2019
|
|
124
124
|
},
|
|
125
|
-
"gitHead": "
|
|
125
|
+
"gitHead": "bee617702ac61d093465b967f8f973dc566faa6b\n"
|
|
126
126
|
}
|