shadertown 0.18.0 → 0.20.0
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 +21 -0
- package/dist/generated/sources.d.ts +6 -1
- package/dist/generated/sources.d.ts.map +1 -1
- package/dist/generated/sources.js +7 -0
- package/dist/generated/sources.js.map +1 -1
- package/dist/graph.d.ts +3 -3
- package/dist/graph.d.ts.map +1 -1
- package/dist/graph.js +3 -0
- package/dist/graph.js.map +1 -1
- package/dist/miniature.d.ts +5 -0
- package/dist/miniature.d.ts.map +1 -0
- package/dist/miniature.js +54 -0
- package/dist/miniature.js.map +1 -0
- package/dist/registry.d.ts +385 -1
- package/dist/registry.d.ts.map +1 -1
- package/dist/registry.js +85 -1
- package/dist/registry.js.map +1 -1
- package/package.json +9 -8
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,27 @@ deploys, not by this file.
|
|
|
6
6
|
This project follows [semantic versioning](https://semver.org). Before 1.0 the
|
|
7
7
|
minor number carries breaking changes, so pin it if that matters to you.
|
|
8
8
|
|
|
9
|
+
## 0.20.0 — 2026-09-10
|
|
10
|
+
|
|
11
|
+
- Add `chromatic-city`, colorful stepped columns with cast shadows, contact
|
|
12
|
+
shading, and individual eased height changes.
|
|
13
|
+
- Seed terrain, towers, and square widths, with curated randomization ranges
|
|
14
|
+
and four palettes. Tune the camera, relief, terrace count, and block gaps.
|
|
15
|
+
- Add a two-pass miniature renderer with adjustable top and bottom blur and
|
|
16
|
+
a sharp central focus band. Set size variation or blur to zero to disable it.
|
|
17
|
+
|
|
18
|
+
## 0.19.1 — 2026-09-09
|
|
19
|
+
|
|
20
|
+
- Brighten Strata’s shelf surfaces and edge lighting while retaining dark
|
|
21
|
+
recesses. Preserve palette brightness when blending warm and cool colors.
|
|
22
|
+
|
|
23
|
+
## 0.19.0 — 2026-09-09
|
|
24
|
+
|
|
25
|
+
- Add `strata`, animated contour shelves with recessed depth, rounded edge
|
|
26
|
+
lighting, and three color palettes.
|
|
27
|
+
- Tune the shape seed, depth point, rotation, stretch, and layer count.
|
|
28
|
+
Curated randomization ranges preserve shading and readable layers.
|
|
29
|
+
|
|
9
30
|
## 0.18.0 — 2026-09-09
|
|
10
31
|
|
|
11
32
|
- `ShaderCanvas` draws a shadertown credit in a corner of the canvas, as a
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type GeneratedShaderName = "alloy" | "archipelago" | "ascii" | "aurora" | "basalt" | "beacon" | "billow" | "bloom" | "blossom" | "blueprint" | "bokeh" | "caldera" | "caustics" | "chladni" | "cloth" | "cumulus" | "dither" | "dunes" | "duotone" | "edges" | "eyes" | "ferro" | "filament" | "film-grain" | "flow" | "fluid" | "glass" | "gossamer" | "gravity" | "halftone" | "hills" | "island" | "julia" | "kaleidoscope" | "lagoon" | "lens" | "liquid-light" | "liquid-metal" | "louvres" | "lumen" | "maelstrom" | "magnet" | "meadow" | "melt" | "mesh-gradient" | "mosaic" | "neon-grid" | "neon-sign" | "orb" | "parallax" | "particles" | "pixel-clouds" | "pixel-fire" | "pixel-isle" | "pixel-rain" | "pixel-sea" | "plasma" | "pulsar" | "radiance" | "reveal" | "ripple" | "shafts" | "shatter" | "shockwave" | "shore" | "silk" | "spectra" | "starfield" | "swell" | "swirl" | "tesla" | "torch" | "truchet" | "tunnel" | "voronoi";
|
|
1
|
+
export type GeneratedShaderName = "alloy" | "archipelago" | "ascii" | "aurora" | "basalt" | "beacon" | "billow" | "bloom" | "blossom" | "blueprint" | "bokeh" | "caldera" | "caustics" | "chladni" | "chromatic-city" | "cloth" | "cumulus" | "dither" | "dunes" | "duotone" | "edges" | "eyes" | "ferro" | "filament" | "film-grain" | "flow" | "fluid" | "glass" | "gossamer" | "gravity" | "halftone" | "hills" | "island" | "julia" | "kaleidoscope" | "lagoon" | "lens" | "liquid-light" | "liquid-metal" | "louvres" | "lumen" | "maelstrom" | "magnet" | "meadow" | "melt" | "mesh-gradient" | "mosaic" | "neon-grid" | "neon-sign" | "orb" | "parallax" | "particles" | "pixel-clouds" | "pixel-fire" | "pixel-isle" | "pixel-rain" | "pixel-sea" | "plasma" | "pulsar" | "radiance" | "reveal" | "ripple" | "shafts" | "shatter" | "shockwave" | "shore" | "silk" | "spectra" | "starfield" | "strata" | "swell" | "swirl" | "tesla" | "torch" | "truchet" | "tunnel" | "voronoi";
|
|
2
2
|
export declare const shaderSources: Readonly<Record<GeneratedShaderName, string>>;
|
|
3
3
|
/** Whether a shader invents its picture or reads one from a bound texture. */
|
|
4
4
|
export declare const shaderKinds: {
|
|
@@ -16,6 +16,7 @@ export declare const shaderKinds: {
|
|
|
16
16
|
readonly caldera: "generative";
|
|
17
17
|
readonly caustics: "generative";
|
|
18
18
|
readonly chladni: "graph";
|
|
19
|
+
readonly "chromatic-city": "graph";
|
|
19
20
|
readonly cloth: "compute";
|
|
20
21
|
readonly cumulus: "generative";
|
|
21
22
|
readonly dither: "generative";
|
|
@@ -70,6 +71,7 @@ export declare const shaderKinds: {
|
|
|
70
71
|
readonly silk: "generative";
|
|
71
72
|
readonly spectra: "graph";
|
|
72
73
|
readonly starfield: "generative";
|
|
74
|
+
readonly strata: "generative";
|
|
73
75
|
readonly swell: "generative";
|
|
74
76
|
readonly swirl: "source";
|
|
75
77
|
readonly tesla: "generative";
|
|
@@ -97,6 +99,7 @@ export declare const shaderReadsSource: {
|
|
|
97
99
|
readonly caldera: false;
|
|
98
100
|
readonly caustics: false;
|
|
99
101
|
readonly chladni: false;
|
|
102
|
+
readonly "chromatic-city": false;
|
|
100
103
|
readonly cloth: false;
|
|
101
104
|
readonly cumulus: false;
|
|
102
105
|
readonly dither: false;
|
|
@@ -151,6 +154,7 @@ export declare const shaderReadsSource: {
|
|
|
151
154
|
readonly silk: false;
|
|
152
155
|
readonly spectra: false;
|
|
153
156
|
readonly starfield: false;
|
|
157
|
+
readonly strata: false;
|
|
154
158
|
readonly swell: false;
|
|
155
159
|
readonly swirl: true;
|
|
156
160
|
readonly tesla: false;
|
|
@@ -166,6 +170,7 @@ export declare const shaderGraphs: {
|
|
|
166
170
|
readonly billow: "glow";
|
|
167
171
|
readonly blueprint: "drafting";
|
|
168
172
|
readonly chladni: "particles";
|
|
173
|
+
readonly "chromatic-city": "miniature";
|
|
169
174
|
readonly dunes: "particles";
|
|
170
175
|
readonly ferro: "particles";
|
|
171
176
|
readonly filament: "glow";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sources.d.ts","sourceRoot":"","sources":["../../src/generated/sources.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,mBAAmB,GAC3B,OAAO,GACP,aAAa,GACb,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,SAAS,GACT,WAAW,GACX,OAAO,GACP,SAAS,GACT,UAAU,GACV,SAAS,GACT,OAAO,GACP,SAAS,GACT,QAAQ,GACR,OAAO,GACP,SAAS,GACT,OAAO,GACP,MAAM,GACN,OAAO,GACP,UAAU,GACV,YAAY,GACZ,MAAM,GACN,OAAO,GACP,OAAO,GACP,UAAU,GACV,SAAS,GACT,UAAU,GACV,OAAO,GACP,QAAQ,GACR,OAAO,GACP,cAAc,GACd,QAAQ,GACR,MAAM,GACN,cAAc,GACd,cAAc,GACd,SAAS,GACT,OAAO,GACP,WAAW,GACX,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,eAAe,GACf,QAAQ,GACR,WAAW,GACX,WAAW,GACX,KAAK,GACL,UAAU,GACV,WAAW,GACX,cAAc,GACd,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,WAAW,GACX,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,WAAW,GACX,OAAO,GACP,MAAM,GACN,SAAS,GACT,WAAW,GACX,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,GACP,SAAS,GACT,QAAQ,GACR,SAAS,CAAC;AAId,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,MAAM,CAAC,mBAAmB,EAAE,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"sources.d.ts","sourceRoot":"","sources":["../../src/generated/sources.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,mBAAmB,GAC3B,OAAO,GACP,aAAa,GACb,OAAO,GACP,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,OAAO,GACP,SAAS,GACT,WAAW,GACX,OAAO,GACP,SAAS,GACT,UAAU,GACV,SAAS,GACT,gBAAgB,GAChB,OAAO,GACP,SAAS,GACT,QAAQ,GACR,OAAO,GACP,SAAS,GACT,OAAO,GACP,MAAM,GACN,OAAO,GACP,UAAU,GACV,YAAY,GACZ,MAAM,GACN,OAAO,GACP,OAAO,GACP,UAAU,GACV,SAAS,GACT,UAAU,GACV,OAAO,GACP,QAAQ,GACR,OAAO,GACP,cAAc,GACd,QAAQ,GACR,MAAM,GACN,cAAc,GACd,cAAc,GACd,SAAS,GACT,OAAO,GACP,WAAW,GACX,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,eAAe,GACf,QAAQ,GACR,WAAW,GACX,WAAW,GACX,KAAK,GACL,UAAU,GACV,WAAW,GACX,cAAc,GACd,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,WAAW,GACX,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,SAAS,GACT,WAAW,GACX,OAAO,GACP,MAAM,GACN,SAAS,GACT,WAAW,GACX,QAAQ,GACR,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,GACP,SAAS,GACT,QAAQ,GACR,SAAS,CAAC;AAId,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,MAAM,CAAC,mBAAmB,EAAE,MAAM,CAAC,CA8EvE,CAAC;AAEF,8EAA8E;AAC9E,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8Ed,CAAC;AAEX;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8EpB,CAAC;AAEX,4EAA4E;AAC5E,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;CAiBf,CAAC;AAEX,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,YAAY,CAAC,CAAC,MAAM,OAAO,YAAY,CAAC,CAAC"}
|