@thi.ng/webgl-shadertoy 0.4.39 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # Change Log
2
2
 
3
- - **Last updated**: 2022-11-30T22:27:38Z
3
+ - **Last updated**: 2022-12-16T12:52:26Z
4
4
  - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
5
5
 
6
6
  All notable changes to this project will be documented in this file.
package/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  <!-- This file is generated - DO NOT EDIT! -->
2
2
 
3
- # ![webgl-shadertoy](https://media.thi.ng/umbrella/banners-20220914/thing-webgl-shadertoy.svg?414a67b4)
3
+ # ![@thi.ng/webgl-shadertoy](https://media.thi.ng/umbrella/banners-20220914/thing-webgl-shadertoy.svg?414a67b4)
4
4
 
5
5
  [![npm version](https://img.shields.io/npm/v/@thi.ng/webgl-shadertoy.svg)](https://www.npmjs.com/package/@thi.ng/webgl-shadertoy)
6
6
  ![npm downloads](https://img.shields.io/npm/dm/@thi.ng/webgl-shadertoy.svg)
7
- [![Twitter Follow](https://img.shields.io/twitter/follow/thing_umbrella.svg?style=flat-square&label=twitter)](https://twitter.com/thing_umbrella)
7
+ [![Mastodon Follow](https://img.shields.io/mastodon/follow/109331703950160316?domain=https%3A%2F%2Fmastodon.thi.ng&style=social)](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 [@thi.ng/shader-ast](https://github.com/thi-ng/umbrella/tree/develop/packages/shader-ast). This is a support package for [@thi.ng/webgl](https://github.com/thi-ng/umbrella/tree/develop/packages/webgl).
24
+ Basic WebGL scaffolding for running interactive fragment shaders via @thi.ng/shader-ast
25
25
 
26
26
  ## Status
27
27
 
@@ -51,11 +51,8 @@ ES module import:
51
51
 
52
52
  For Node.js REPL:
53
53
 
54
- ```text
55
- # with flag only for < v16
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
58
  Package sizes (brotli'd, pre-treeshake): ESM: 666 bytes
@@ -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
- &copy; 2019 - 2022 Karsten Schmidt // Apache Software License 2.0
165
+ &copy; 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 declare type MainImageFn<U extends ShaderToyUniforms> = Fn2<GLSLTarget, U, ScopeBody>;
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.39",
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 <k+npm@thi.ng>",
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.5.1",
38
- "@thi.ng/shader-ast": "^0.12.32",
39
- "@thi.ng/shader-ast-glsl": "^0.4.32",
40
- "@thi.ng/webgl": "^6.2.16"
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.5",
44
- "@thi.ng/testament": "^0.3.6",
45
- "@types/node": "^18.11.9",
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.20",
49
- "typescript": "^4.8.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": "1fe40da507070653f420156d91e6b27cf682004f\n"
93
+ "gitHead": "f445a9cc8022bcdebbf6ff91fd66ced016d72f01\n"
94
94
  }