@thi.ng/webgl-shadertoy 0.4.38 → 0.4.40
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 +8 -11
- package/api.d.ts +1 -1
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
2
|
|
|
3
|
-
# 
|
|
3
|
+
# 
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@thi.ng/webgl-shadertoy)
|
|
6
6
|

|
|
7
|
-
[](https://mastodon.thi.ng/@toxi)
|
|
8
8
|
|
|
9
9
|
This project is part of the
|
|
10
10
|
[@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo.
|
|
@@ -21,7 +21,7 @@ This project is part of the
|
|
|
21
21
|
|
|
22
22
|
## About
|
|
23
23
|
|
|
24
|
-
Basic WebGL scaffolding for running interactive fragment shaders via
|
|
24
|
+
Basic WebGL scaffolding for running interactive fragment shaders via @thi.ng/shader-ast
|
|
25
25
|
|
|
26
26
|
## Status
|
|
27
27
|
|
|
@@ -51,14 +51,11 @@ ES module import:
|
|
|
51
51
|
|
|
52
52
|
For Node.js REPL:
|
|
53
53
|
|
|
54
|
-
```
|
|
55
|
-
|
|
56
|
-
node --experimental-repl-await
|
|
57
|
-
|
|
58
|
-
> const webglShadertoy = await import("@thi.ng/webgl-shadertoy");
|
|
54
|
+
```js
|
|
55
|
+
const webglShadertoy = await import("@thi.ng/webgl-shadertoy");
|
|
59
56
|
```
|
|
60
57
|
|
|
61
|
-
Package sizes (
|
|
58
|
+
Package sizes (brotli'd, pre-treeshake): ESM: 666 bytes
|
|
62
59
|
|
|
63
60
|
## Dependencies
|
|
64
61
|
|
|
@@ -150,7 +147,7 @@ toy.start();
|
|
|
150
147
|
|
|
151
148
|
## Authors
|
|
152
149
|
|
|
153
|
-
Karsten Schmidt
|
|
150
|
+
- [Karsten Schmidt](https://thi.ng)
|
|
154
151
|
|
|
155
152
|
If this project contributes to an academic publication, please cite it as:
|
|
156
153
|
|
|
@@ -165,4 +162,4 @@ If this project contributes to an academic publication, please cite it as:
|
|
|
165
162
|
|
|
166
163
|
## License
|
|
167
164
|
|
|
168
|
-
© 2019 - 2022 Karsten Schmidt // Apache
|
|
165
|
+
© 2019 - 2022 Karsten Schmidt // Apache License 2.0
|
package/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { Fn2 } from "@thi.ng/api";
|
|
|
2
2
|
import type { FloatSym, IntSym, ScopeBody, Vec2Sym } from "@thi.ng/shader-ast";
|
|
3
3
|
import type { GLSLTarget } from "@thi.ng/shader-ast-glsl";
|
|
4
4
|
import type { DefShaderOpts, ITexture, ModelSpec, UniformDecl } from "@thi.ng/webgl";
|
|
5
|
-
export
|
|
5
|
+
export type MainImageFn<U extends ShaderToyUniforms> = Fn2<GLSLTarget, U, ScopeBody>;
|
|
6
6
|
export interface ShaderToyUniforms {
|
|
7
7
|
resolution: Vec2Sym;
|
|
8
8
|
mouse: Vec2Sym;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/webgl-shadertoy",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.40",
|
|
4
4
|
"description": "Basic WebGL scaffolding for running interactive fragment shaders via @thi.ng/shader-ast",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"url": "https://patreon.com/thing_umbrella"
|
|
22
22
|
}
|
|
23
23
|
],
|
|
24
|
-
"author": "Karsten Schmidt
|
|
24
|
+
"author": "Karsten Schmidt (https://thi.ng)",
|
|
25
25
|
"license": "Apache-2.0",
|
|
26
26
|
"scripts": {
|
|
27
27
|
"build": "yarn clean && tsc --declaration",
|
|
@@ -34,19 +34,19 @@
|
|
|
34
34
|
"test": "testament test"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@thi.ng/api": "^8.
|
|
38
|
-
"@thi.ng/shader-ast": "^0.12.
|
|
39
|
-
"@thi.ng/shader-ast-glsl": "^0.4.
|
|
40
|
-
"@thi.ng/webgl": "^6.2.
|
|
37
|
+
"@thi.ng/api": "^8.6.0",
|
|
38
|
+
"@thi.ng/shader-ast": "^0.12.33",
|
|
39
|
+
"@thi.ng/shader-ast-glsl": "^0.4.33",
|
|
40
|
+
"@thi.ng/webgl": "^6.2.17"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@microsoft/api-extractor": "^7.33.
|
|
44
|
-
"@thi.ng/testament": "^0.3.
|
|
45
|
-
"@types/node": "^18.11.
|
|
43
|
+
"@microsoft/api-extractor": "^7.33.7",
|
|
44
|
+
"@thi.ng/testament": "^0.3.7",
|
|
45
|
+
"@types/node": "^18.11.13",
|
|
46
46
|
"rimraf": "^3.0.2",
|
|
47
47
|
"tools": "^0.0.1",
|
|
48
|
-
"typedoc": "^0.23.
|
|
49
|
-
"typescript": "^4.
|
|
48
|
+
"typedoc": "^0.23.22",
|
|
49
|
+
"typescript": "^4.9.4"
|
|
50
50
|
},
|
|
51
51
|
"keywords": [
|
|
52
52
|
"animation",
|
|
@@ -90,5 +90,5 @@
|
|
|
90
90
|
"status": "alpha",
|
|
91
91
|
"year": 2019
|
|
92
92
|
},
|
|
93
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
|
|
94
94
|
}
|