@thi.ng/ramp 3.3.79 → 3.3.81
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/README.md +20 -19
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
|
-
<!-- Please see: https://
|
|
3
|
-
# 
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@thi.ng/ramp)
|
|
6
6
|

|
|
@@ -8,11 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
> [!NOTE]
|
|
10
10
|
> This is one of 214 standalone projects, maintained as part
|
|
11
|
-
> of the [@thi.ng/umbrella](https://
|
|
11
|
+
> of the [@thi.ng/umbrella](https://codeberg.org/thi.ng/umbrella/) ecosystem
|
|
12
12
|
> and anti-framework.
|
|
13
13
|
>
|
|
14
|
-
> 🚀 Please help me to work full-time on these projects by [sponsoring
|
|
15
|
-
>
|
|
14
|
+
> 🚀 Please help me to work full-time on these projects by [sponsoring
|
|
15
|
+
> me](https://codeberg.org/thi.ng/umbrella/src/branch/develop/CONTRIBUTING.md#donations).
|
|
16
|
+
> Thank you! ❤️
|
|
16
17
|
|
|
17
18
|
- [About](#about)
|
|
18
19
|
- [Status](#status)
|
|
@@ -31,7 +32,7 @@
|
|
|
31
32
|
|
|
32
33
|
Extensible keyframe interpolation/tweening of arbitrary, nested types.
|
|
33
34
|
|
|
34
|
-

|
|
35
36
|
|
|
36
37
|
This package can perform keyframe interpolation for ramps of numeric values,
|
|
37
38
|
n-dimensional vectors and nested objects of the same. It provides several
|
|
@@ -48,7 +49,7 @@ Built-in interpolation modes:
|
|
|
48
49
|
|
|
49
50
|
**STABLE** - used in production
|
|
50
51
|
|
|
51
|
-
[Search or submit any issues for this package](https://
|
|
52
|
+
[Search or submit any issues for this package](https://codeberg.org/thi.ng/umbrella/issues?q=%5Bramp%5D)
|
|
52
53
|
|
|
53
54
|
## Installation
|
|
54
55
|
|
|
@@ -80,26 +81,26 @@ Package sizes (brotli'd, pre-treeshake): ESM: 2.02 KB
|
|
|
80
81
|
|
|
81
82
|
## Dependencies
|
|
82
83
|
|
|
83
|
-
- [@thi.ng/api](https://
|
|
84
|
-
- [@thi.ng/arrays](https://
|
|
85
|
-
- [@thi.ng/compare](https://
|
|
86
|
-
- [@thi.ng/errors](https://
|
|
87
|
-
- [@thi.ng/math](https://
|
|
88
|
-
- [@thi.ng/transducers](https://
|
|
89
|
-
- [@thi.ng/vectors](https://
|
|
84
|
+
- [@thi.ng/api](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/api)
|
|
85
|
+
- [@thi.ng/arrays](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/arrays)
|
|
86
|
+
- [@thi.ng/compare](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/compare)
|
|
87
|
+
- [@thi.ng/errors](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/errors)
|
|
88
|
+
- [@thi.ng/math](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/math)
|
|
89
|
+
- [@thi.ng/transducers](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/transducers)
|
|
90
|
+
- [@thi.ng/vectors](https://codeberg.org/thi.ng/umbrella/src/branch/develop/packages/vectors)
|
|
90
91
|
|
|
91
92
|
Note: @thi.ng/api is in _most_ cases a type-only import (not used at runtime)
|
|
92
93
|
|
|
93
94
|
## Usage examples
|
|
94
95
|
|
|
95
96
|
Two projects in this repo's
|
|
96
|
-
[/examples](https://
|
|
97
|
+
[/examples](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples)
|
|
97
98
|
directory are using this package:
|
|
98
99
|
|
|
99
|
-
| Screenshot | Description | Live demo | Source
|
|
100
|
-
|
|
101
|
-
| <img src="https://
|
|
102
|
-
| <img src="https://
|
|
100
|
+
| Screenshot | Description | Live demo | Source |
|
|
101
|
+
|:------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------|:-------------------------------------------------------|:--------------------------------------------------------------------------------------------|
|
|
102
|
+
| <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/ramp-scroll-anim.png" width="240"/> | Scroll-based, reactive, multi-param CSS animation basics | [Demo](https://demo.thi.ng/umbrella/ramp-scroll-anim/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/ramp-scroll-anim) |
|
|
103
|
+
| <img src="https://codeberg.org/thi.ng/umbrella/media/branch/develop/assets/examples/ramp-synth.png" width="240"/> | Unison wavetable synth with waveform editor | [Demo](https://demo.thi.ng/umbrella/ramp-synth/) | [Source](https://codeberg.org/thi.ng/umbrella/src/branch/develop/examples/ramp-synth) |
|
|
103
104
|
|
|
104
105
|
## API
|
|
105
106
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/ramp",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.81",
|
|
4
4
|
"description": "Extensible keyframe interpolation/tweening of arbitrary, nested types",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"repository": {
|
|
10
10
|
"type": "git",
|
|
11
|
-
"url": "git+https://
|
|
11
|
+
"url": "git+https://codeberg.org/thi.ng/umbrella.git",
|
|
12
12
|
"directory": "packages/ramp"
|
|
13
13
|
},
|
|
14
14
|
"homepage": "https://thi.ng/ramp",
|
|
@@ -40,13 +40,13 @@
|
|
|
40
40
|
"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@thi.ng/api": "^8.12.
|
|
44
|
-
"@thi.ng/arrays": "^2.14.
|
|
45
|
-
"@thi.ng/compare": "^2.5.
|
|
46
|
-
"@thi.ng/errors": "^2.6.
|
|
47
|
-
"@thi.ng/math": "^5.15.
|
|
48
|
-
"@thi.ng/transducers": "^9.6.
|
|
49
|
-
"@thi.ng/vectors": "^8.6.
|
|
43
|
+
"@thi.ng/api": "^8.12.18",
|
|
44
|
+
"@thi.ng/arrays": "^2.14.14",
|
|
45
|
+
"@thi.ng/compare": "^2.5.6",
|
|
46
|
+
"@thi.ng/errors": "^2.6.7",
|
|
47
|
+
"@thi.ng/math": "^5.15.7",
|
|
48
|
+
"@thi.ng/transducers": "^9.6.31",
|
|
49
|
+
"@thi.ng/vectors": "^8.6.26"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"esbuild": "^0.27.2",
|
|
@@ -123,5 +123,5 @@
|
|
|
123
123
|
"thi.ng": {
|
|
124
124
|
"year": 2019
|
|
125
125
|
},
|
|
126
|
-
"gitHead": "
|
|
126
|
+
"gitHead": "8ddf86ea0a1e658ddbf19cc645b29d0c176e29c4\n"
|
|
127
127
|
}
|