glass-pulse-fx 0.1.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.
@@ -0,0 +1,326 @@
1
+ 'use strict';
2
+
3
+ // src/presets/bloom.ts
4
+ var bloom = {
5
+ name: "Bloom",
6
+ version: 1,
7
+ effectParams: {
8
+ colors: ["#00e1ff", "#47ff6c", "#ff7161", "#dc83e2"],
9
+ speed: 0.85,
10
+ scale: 1.5,
11
+ bright: 0.75,
12
+ colorSpread: 0.4,
13
+ colorSkew: 0.3,
14
+ colorDrift: -0.34,
15
+ velocity: 2,
16
+ rampIn: 0.49,
17
+ rampOut: 0.49,
18
+ motion: 1
19
+ },
20
+ settings: {
21
+ frost: 0.78,
22
+ frostInset: 1,
23
+ coreBlur: 23,
24
+ saturate: 1.45,
25
+ innerBloom: { size: 3, level: 0.75 },
26
+ outerBloom: { level: 0.4 }
27
+ }
28
+ };
29
+
30
+ // src/presets/halo.ts
31
+ var halo = {
32
+ name: "Halo",
33
+ version: 1,
34
+ effectParams: {
35
+ speed: -0.84,
36
+ scale: 1.55,
37
+ velocity: 0,
38
+ rampIn: 0.51,
39
+ rampOut: 0.51,
40
+ motion: 3
41
+ },
42
+ settings: {
43
+ frostInset: 2
44
+ }
45
+ };
46
+
47
+ // src/presets/rush.ts
48
+ var rush = {
49
+ name: "Rush",
50
+ version: 1,
51
+ effectParams: {
52
+ colors: ["#ff7ad9", "#7afcff", "#c9a7ff", "#aaffa3"],
53
+ speed: 0.95,
54
+ scale: 1.2,
55
+ bright: 1.1,
56
+ colorSpread: 0.3,
57
+ velocity: 2,
58
+ rampIn: 0.63,
59
+ rampOut: 0.61,
60
+ interval: 0.54
61
+ },
62
+ settings: {
63
+ bgBlur: 0,
64
+ frost: 0.84,
65
+ frostInset: 1.5,
66
+ coreBlur: 16,
67
+ innerBloom: { level: 0.55 },
68
+ outerBloom: { size: 24, level: 0.2 }
69
+ }
70
+ };
71
+
72
+ // src/presets/comet.ts
73
+ var comet = {
74
+ name: "Comet",
75
+ version: 1,
76
+ effectParams: {
77
+ speed: 1.67,
78
+ scale: 1.4,
79
+ bright: 2,
80
+ colorSpread: 1.7,
81
+ colorSkew: 0.8,
82
+ colorDrift: 0.28,
83
+ velocity: 0,
84
+ rampIn: 0.99,
85
+ rampOut: 0.5,
86
+ interval: 0.86,
87
+ motion: 3
88
+ },
89
+ settings: {
90
+ bgBlur: 20,
91
+ frostInset: 2,
92
+ coreOpacity: 0.92,
93
+ saturate: 2,
94
+ innerBloom: { size: 4 },
95
+ outerBloom: { size: 24 }
96
+ }
97
+ };
98
+
99
+ // src/presets/cinder.ts
100
+ var cinder = {
101
+ name: "Cinder",
102
+ version: 1,
103
+ effectParams: {
104
+ colors: ["#ff3d00", "#ff8a00", "#ffc400"],
105
+ speed: 1.19,
106
+ scale: 1.4,
107
+ bright: 0.95,
108
+ colorSpread: 1,
109
+ colorSkew: 0.1,
110
+ rampIn: 0.5,
111
+ rampOut: 0.85,
112
+ interval: 0.64,
113
+ angle: 90
114
+ },
115
+ settings: {
116
+ frostInset: 2,
117
+ saturate: 1.4,
118
+ innerBloom: { size: 4 },
119
+ outerBloom: { size: 24, level: 0.4 }
120
+ }
121
+ };
122
+
123
+ // src/presets/plasma.ts
124
+ var plasma = {
125
+ name: "Plasma",
126
+ version: 1,
127
+ effectParams: {
128
+ colors: ["#808eff", "#ff3d3d"],
129
+ speed: 0.41,
130
+ scale: 1.85,
131
+ bright: 1.1,
132
+ colorSpread: 1.1,
133
+ colorDrift: -0.36,
134
+ velocity: 2,
135
+ rampIn: 0.5,
136
+ rampOut: 0.85,
137
+ interval: 0,
138
+ angle: 79,
139
+ motion: 1
140
+ },
141
+ settings: {
142
+ bgBlur: 20,
143
+ frost: 0.3,
144
+ frostInset: 1.5,
145
+ coreInset: 0,
146
+ coreBlur: 12,
147
+ saturate: 1.4,
148
+ innerBloom: { size: 4, level: 0.75 },
149
+ outerBloom: { size: 22, level: 0.4 }
150
+ }
151
+ };
152
+
153
+ // src/presets/kaleido.ts
154
+ var kaleido = {
155
+ name: "Kaleido",
156
+ version: 1,
157
+ effectParams: {
158
+ colors: ["#70ff94", "#8044ca", "#57aeff", "#ff6666", "#aeaf55"],
159
+ speed: -0.42,
160
+ scale: 2.1,
161
+ bright: 1.1,
162
+ colorSpread: 0.7,
163
+ colorSkew: 0.4,
164
+ colorDrift: 0.22,
165
+ velocity: 0,
166
+ rampIn: 0.59,
167
+ rampOut: 0.55,
168
+ interval: 0,
169
+ motion: 3
170
+ },
171
+ settings: {
172
+ bgBlur: 16,
173
+ frost: 0.6,
174
+ frostInset: 1,
175
+ coreInset: 4,
176
+ saturate: 1.4,
177
+ innerBloom: { level: 0.7 },
178
+ outerBloom: { size: 24, level: 0.3 }
179
+ }
180
+ };
181
+
182
+ // src/presets/nimbus.ts
183
+ var nimbus = {
184
+ name: "Nimbus",
185
+ version: 1,
186
+ effectParams: {
187
+ colors: ["#000000", "#ffffff"],
188
+ speed: 0.1,
189
+ scale: 4,
190
+ colorSpread: 3.7,
191
+ colorSkew: 2.4,
192
+ colorDrift: 0.57,
193
+ velocity: 0,
194
+ rampIn: 0.9,
195
+ rampOut: 0.9,
196
+ interval: 0,
197
+ motion: 3
198
+ },
199
+ settings: {
200
+ bgBlur: 12,
201
+ frost: 0.5,
202
+ frostInset: 2,
203
+ coreBlur: 16,
204
+ innerBloom: { size: 4 },
205
+ outerBloom: { size: 8, level: 0.5 }
206
+ }
207
+ };
208
+
209
+ // src/presets/emerald.ts
210
+ var emerald = {
211
+ name: "Emerald",
212
+ version: 1,
213
+ effectParams: {
214
+ colors: ["#1f7a2e", "#36ce4f", "#85ff99"],
215
+ speed: 0.5,
216
+ scale: 0.75,
217
+ colorSpread: 3.5,
218
+ colorSkew: 3,
219
+ colorDrift: -0.23,
220
+ velocity: 0,
221
+ rampIn: 0.47,
222
+ rampOut: 0.47,
223
+ interval: 0,
224
+ motion: 1
225
+ },
226
+ settings: {
227
+ bgBlur: 12,
228
+ frost: 0.84,
229
+ frostInset: 2.5,
230
+ shaderInset: 1,
231
+ coreInset: 24,
232
+ coreBlur: 16,
233
+ innerBloom: { size: 4, level: 0 },
234
+ outerBloom: { level: 0.5 }
235
+ }
236
+ };
237
+
238
+ // src/presets/glow.ts
239
+ var glow = {
240
+ name: "Glow",
241
+ version: 1,
242
+ effectParams: {
243
+ colors: ["#ff2d9b", "#e1ff00", "#00bbff"],
244
+ speed: 0.16,
245
+ scale: 0.1,
246
+ colorSpread: 1.2,
247
+ colorSkew: 0.3,
248
+ colorDrift: 0.47,
249
+ rampIn: 0.77,
250
+ rampOut: 0.39,
251
+ interval: 0,
252
+ motion: 3
253
+ },
254
+ settings: {
255
+ bgBlur: 12,
256
+ frost: 0.56,
257
+ frostInset: 1,
258
+ coreInset: 0,
259
+ coreBlur: 16,
260
+ coreOpacity: 0.8,
261
+ saturate: 1,
262
+ innerBloom: { size: 3, level: 0.85 },
263
+ outerBloom: { size: 24, level: 0.3 }
264
+ }
265
+ };
266
+
267
+ // src/presets/tide.ts
268
+ var tide = {
269
+ name: "Tide",
270
+ version: 1,
271
+ effectParams: {
272
+ colors: ["#fda163", "#7eddd2", "#dbfd5d"],
273
+ speed: -0.84,
274
+ scale: 1.7,
275
+ bright: 0.85,
276
+ colorSpread: 0.5,
277
+ colorSkew: 0.2,
278
+ colorDrift: -0.13,
279
+ velocity: 3,
280
+ rampIn: 0.21,
281
+ rampOut: 0.45,
282
+ motion: 1
283
+ },
284
+ settings: {
285
+ bgBlur: 20,
286
+ frost: 0.9,
287
+ frostInset: 3,
288
+ shaderInset: 2,
289
+ coreInset: 0,
290
+ coreBlur: 0,
291
+ coreOpacity: 0.5,
292
+ saturate: 2,
293
+ innerBloom: { level: 0.8 },
294
+ outerBloom: { size: 12, level: 0.3 }
295
+ }
296
+ };
297
+
298
+ // src/presets/index.ts
299
+ var LIBRARY_PRESETS = [
300
+ bloom,
301
+ halo,
302
+ rush,
303
+ comet,
304
+ cinder,
305
+ plasma,
306
+ kaleido,
307
+ nimbus,
308
+ emerald,
309
+ glow,
310
+ tide
311
+ ];
312
+
313
+ exports.LIBRARY_PRESETS = LIBRARY_PRESETS;
314
+ exports.bloom = bloom;
315
+ exports.cinder = cinder;
316
+ exports.comet = comet;
317
+ exports.emerald = emerald;
318
+ exports.glow = glow;
319
+ exports.halo = halo;
320
+ exports.kaleido = kaleido;
321
+ exports.nimbus = nimbus;
322
+ exports.plasma = plasma;
323
+ exports.rush = rush;
324
+ exports.tide = tide;
325
+ //# sourceMappingURL=presets.cjs.map
326
+ //# sourceMappingURL=presets.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/presets/bloom.ts","../src/presets/halo.ts","../src/presets/rush.ts","../src/presets/comet.ts","../src/presets/cinder.ts","../src/presets/plasma.ts","../src/presets/kaleido.ts","../src/presets/nimbus.ts","../src/presets/emerald.ts","../src/presets/glow.ts","../src/presets/tide.ts","../src/presets/index.ts"],"names":[],"mappings":";;;AAGO,IAAM,KAAA,GAAqB;AAAA,EAChC,IAAA,EAAM,OAAA;AAAA,EACN,OAAA,EAAS,CAAA;AAAA,EACT,YAAA,EAAc;AAAA,IACZ,MAAA,EAAQ,CAAC,SAAA,EAAW,SAAA,EAAW,WAAW,SAAS,CAAA;AAAA,IACnD,KAAA,EAAO,IAAA;AAAA,IACP,KAAA,EAAO,GAAA;AAAA,IACP,MAAA,EAAQ,IAAA;AAAA,IACR,WAAA,EAAa,GAAA;AAAA,IACb,SAAA,EAAW,GAAA;AAAA,IACX,UAAA,EAAY,KAAA;AAAA,IACZ,QAAA,EAAU,CAAA;AAAA,IACV,MAAA,EAAQ,IAAA;AAAA,IACR,OAAA,EAAS,IAAA;AAAA,IACT,MAAA,EAAQ;AAAA,GACV;AAAA,EACA,QAAA,EAAU;AAAA,IACR,KAAA,EAAO,IAAA;AAAA,IACP,UAAA,EAAY,CAAA;AAAA,IACZ,QAAA,EAAU,EAAA;AAAA,IACV,QAAA,EAAU,IAAA;AAAA,IAC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,EAAM,EAAA,EAAI,OAAO,GAAA;AAAI;AAEvC;;;ACQO,IAAM,eAAA,GAAiC;AAAA,EAC5C,KAAA;AAAA,EACA,IAAA;AAAA,EACA,IAAA;AAAA,EACA,KAAA;AAAA,EACA,MAAA;AAAA,EACA,MAAA;AAAA,EACA,OAAA;AAAA,EACA,MAAA;AAAA,EACA,OAAA;AAAA,EACA,IAAA;AAAA,EACA;AACF","file":"presets.cjs","sourcesContent":["import type { GlassPreset } from '../types';\n\n// Cyan, acid green, and coral light blooming outward from the center.\nexport const bloom: GlassPreset = {\n name: 'Bloom',\n version: 1,\n effectParams: {\n colors: ['#00e1ff', '#47ff6c', '#ff7161', '#dc83e2'],\n speed: 0.85,\n scale: 1.5,\n bright: 0.75,\n colorSpread: 0.4,\n colorSkew: 0.3,\n colorDrift: -0.34,\n velocity: 2,\n rampIn: 0.49,\n rampOut: 0.49,\n motion: 1,\n },\n settings: {\n frost: 0.78,\n frostInset: 1,\n coreBlur: 23,\n saturate: 1.45,\n innerBloom: { size: 3, level: 0.75 },\n outerBloom: { level: 0.4 },\n },\n};\n","import type { GlassPreset } from '../types';\n\n// A broad halo rotating in reverse around a crisp exposed rim.\nexport const halo: GlassPreset = {\n name: 'Halo',\n version: 1,\n effectParams: {\n speed: -0.84,\n scale: 1.55,\n velocity: 0,\n rampIn: 0.51,\n rampOut: 0.51,\n motion: 3,\n },\n settings: {\n frostInset: 2,\n },\n};\n","import type { GlassPreset } from '../types';\n\n// Fast pastel ribbons in pink, cyan, lavender, and mint.\nexport const rush: GlassPreset = {\n name: 'Rush',\n version: 1,\n effectParams: {\n colors: ['#ff7ad9', '#7afcff', '#c9a7ff', '#aaffa3'],\n speed: 0.95,\n scale: 1.2,\n bright: 1.1,\n colorSpread: 0.3,\n velocity: 2,\n rampIn: 0.63,\n rampOut: 0.61,\n interval: 0.54,\n },\n settings: {\n bgBlur: 0,\n frost: 0.84,\n frostInset: 1.5,\n coreBlur: 16,\n innerBloom: { level: 0.55 },\n outerBloom: { size: 24, level: 0.2 },\n },\n};\n","import type { GlassPreset } from '../types';\n\n// A fast, narrow orbiting glint softened by a deep background blur.\nexport const comet: GlassPreset = {\n name: 'Comet',\n version: 1,\n effectParams: {\n speed: 1.67,\n scale: 1.4,\n bright: 2,\n colorSpread: 1.7,\n colorSkew: 0.8,\n colorDrift: 0.28,\n velocity: 0,\n rampIn: 0.99,\n rampOut: 0.5,\n interval: 0.86,\n motion: 3,\n },\n settings: {\n bgBlur: 20,\n frostInset: 2,\n coreOpacity: 0.92,\n saturate: 2,\n innerBloom: { size: 4 },\n outerBloom: { size: 24 },\n },\n};\n","import type { GlassPreset } from '../types';\n\n// Vertical orange and gold flames with a long, hot trailing glow.\nexport const cinder: GlassPreset = {\n name: 'Cinder',\n version: 1,\n effectParams: {\n colors: ['#ff3d00', '#ff8a00', '#ffc400'],\n speed: 1.19,\n scale: 1.4,\n bright: 0.95,\n colorSpread: 1,\n colorSkew: 0.1,\n rampIn: 0.5,\n rampOut: 0.85,\n interval: 0.64,\n angle: 90,\n },\n settings: {\n frostInset: 2,\n saturate: 1.4,\n innerBloom: { size: 4 },\n outerBloom: { size: 24, level: 0.4 },\n },\n};\n","import type { GlassPreset } from '../types';\n\n// Periwinkle and red waves splitting outward through translucent glass.\nexport const plasma: GlassPreset = {\n name: 'Plasma',\n version: 1,\n effectParams: {\n colors: ['#808eff', '#ff3d3d'],\n speed: 0.41,\n scale: 1.85,\n bright: 1.1,\n colorSpread: 1.1,\n colorDrift: -0.36,\n velocity: 2,\n rampIn: 0.5,\n rampOut: 0.85,\n interval: 0,\n angle: 79,\n motion: 1,\n },\n settings: {\n bgBlur: 20,\n frost: 0.3,\n frostInset: 1.5,\n coreInset: 0,\n coreBlur: 12,\n saturate: 1.4,\n innerBloom: { size: 4, level: 0.75 },\n outerBloom: { size: 22, level: 0.4 },\n },\n};\n","import type { GlassPreset } from '../types';\n\n// A rotating five-color field with continuously shifting spokes.\nexport const kaleido: GlassPreset = {\n name: 'Kaleido',\n version: 1,\n effectParams: {\n colors: ['#70ff94', '#8044ca', '#57aeff', '#ff6666', '#aeaf55'],\n speed: -0.42,\n scale: 2.1,\n bright: 1.1,\n colorSpread: 0.7,\n colorSkew: 0.4,\n colorDrift: 0.22,\n velocity: 0,\n rampIn: 0.59,\n rampOut: 0.55,\n interval: 0,\n motion: 3,\n },\n settings: {\n bgBlur: 16,\n frost: 0.6,\n frostInset: 1,\n coreInset: 4,\n saturate: 1.4,\n innerBloom: { level: 0.7 },\n outerBloom: { size: 24, level: 0.3 },\n },\n};\n","import type { GlassPreset } from '../types';\n\n// High-contrast black and white spokes folding into a liquid moire.\nexport const nimbus: GlassPreset = {\n name: 'Nimbus',\n version: 1,\n effectParams: {\n colors: ['#000000', '#ffffff'],\n speed: 0.1,\n scale: 4,\n colorSpread: 3.7,\n colorSkew: 2.4,\n colorDrift: 0.57,\n velocity: 0,\n rampIn: 0.9,\n rampOut: 0.9,\n interval: 0,\n motion: 3,\n },\n settings: {\n bgBlur: 12,\n frost: 0.5,\n frostInset: 2,\n coreBlur: 16,\n innerBloom: { size: 4 },\n outerBloom: { size: 8, level: 0.5 },\n },\n};\n","import type { GlassPreset } from '../types';\n\n// Layered emerald light breathing from the center beneath a deep frosted core.\nexport const emerald: GlassPreset = {\n name: 'Emerald',\n version: 1,\n effectParams: {\n colors: ['#1f7a2e', '#36ce4f', '#85ff99'],\n speed: 0.5,\n scale: 0.75,\n colorSpread: 3.5,\n colorSkew: 3,\n colorDrift: -0.23,\n velocity: 0,\n rampIn: 0.47,\n rampOut: 0.47,\n interval: 0,\n motion: 1,\n },\n settings: {\n bgBlur: 12,\n frost: 0.84,\n frostInset: 2.5,\n shaderInset: 1,\n coreInset: 24,\n coreBlur: 16,\n innerBloom: { size: 4, level: 0 },\n outerBloom: { level: 0.5 },\n },\n};\n","import type { GlassPreset } from '../types';\n\n// Slow neon spokes drifting beneath a dark, translucent glass surface.\nexport const glow: GlassPreset = {\n name: 'Glow',\n version: 1,\n effectParams: {\n colors: ['#ff2d9b', '#e1ff00', '#00bbff'],\n speed: 0.16,\n scale: 0.1,\n colorSpread: 1.2,\n colorSkew: 0.3,\n colorDrift: 0.47,\n rampIn: 0.77,\n rampOut: 0.39,\n interval: 0,\n motion: 3,\n },\n settings: {\n bgBlur: 12,\n frost: 0.56,\n frostInset: 1,\n coreInset: 0,\n coreBlur: 16,\n coreOpacity: 0.8,\n saturate: 1,\n innerBloom: { size: 3, level: 0.85 },\n outerBloom: { size: 24, level: 0.3 },\n },\n};\n","import type { GlassPreset } from '../types';\n\n// Peach, aqua, and acid-lime light flowing inward beneath a saturated veil.\nexport const tide: GlassPreset = {\n name: 'Tide',\n version: 1,\n effectParams: {\n colors: ['#fda163', '#7eddd2', '#dbfd5d'],\n speed: -0.84,\n scale: 1.7,\n bright: 0.85,\n colorSpread: 0.5,\n colorSkew: 0.2,\n colorDrift: -0.13,\n velocity: 3,\n rampIn: 0.21,\n rampOut: 0.45,\n motion: 1,\n },\n settings: {\n bgBlur: 20,\n frost: 0.9,\n frostInset: 3,\n shaderInset: 2,\n coreInset: 0,\n coreBlur: 0,\n coreOpacity: 0.5,\n saturate: 2,\n innerBloom: { level: 0.8 },\n outerBloom: { size: 12, level: 0.3 },\n },\n};\n","// Library presets: shareable looks (shader + params + glass material). One preset = one\n// look — it applies identically in dark and light mode; anything it doesn't pin adapts\n// to the theme defaults. A preset never carries component styling (fill / border).\n//\n// import { GlassFx } from 'glass-pulse-fx';\n// import { bloom } from 'glass-pulse-fx/presets';\n// <GlassFx preset={bloom}>…</GlassFx>\n//\n// Vanilla: createGlass(el, { preset: bloom })\n\nimport type { GlassPreset } from '../types';\nimport { bloom } from './bloom';\nimport { halo } from './halo';\nimport { rush } from './rush';\nimport { comet } from './comet';\nimport { cinder } from './cinder';\nimport { plasma } from './plasma';\nimport { kaleido } from './kaleido';\nimport { nimbus } from './nimbus';\nimport { emerald } from './emerald';\nimport { glow } from './glow';\nimport { tide } from './tide';\n\nexport {\n bloom,\n halo,\n rush,\n comet,\n cinder,\n plasma,\n kaleido,\n nimbus,\n emerald,\n glow,\n tide,\n};\nexport type { GlassPreset };\n\n/** Every library preset, in display order — for galleries and the preset lab. */\nexport const LIBRARY_PRESETS: GlassPreset[] = [\n bloom,\n halo,\n rush,\n comet,\n cinder,\n plasma,\n kaleido,\n nimbus,\n emerald,\n glow,\n tide,\n];\n"]}
@@ -0,0 +1,28 @@
1
+ import { G as GlassPreset } from './types-qQT95c-N.cjs';
2
+
3
+ declare const bloom: GlassPreset;
4
+
5
+ declare const halo: GlassPreset;
6
+
7
+ declare const rush: GlassPreset;
8
+
9
+ declare const comet: GlassPreset;
10
+
11
+ declare const cinder: GlassPreset;
12
+
13
+ declare const plasma: GlassPreset;
14
+
15
+ declare const kaleido: GlassPreset;
16
+
17
+ declare const nimbus: GlassPreset;
18
+
19
+ declare const emerald: GlassPreset;
20
+
21
+ declare const glow: GlassPreset;
22
+
23
+ declare const tide: GlassPreset;
24
+
25
+ /** Every library preset, in display order — for galleries and the preset lab. */
26
+ declare const LIBRARY_PRESETS: GlassPreset[];
27
+
28
+ export { GlassPreset, LIBRARY_PRESETS, bloom, cinder, comet, emerald, glow, halo, kaleido, nimbus, plasma, rush, tide };
@@ -0,0 +1,28 @@
1
+ import { G as GlassPreset } from './types-qQT95c-N.js';
2
+
3
+ declare const bloom: GlassPreset;
4
+
5
+ declare const halo: GlassPreset;
6
+
7
+ declare const rush: GlassPreset;
8
+
9
+ declare const comet: GlassPreset;
10
+
11
+ declare const cinder: GlassPreset;
12
+
13
+ declare const plasma: GlassPreset;
14
+
15
+ declare const kaleido: GlassPreset;
16
+
17
+ declare const nimbus: GlassPreset;
18
+
19
+ declare const emerald: GlassPreset;
20
+
21
+ declare const glow: GlassPreset;
22
+
23
+ declare const tide: GlassPreset;
24
+
25
+ /** Every library preset, in display order — for galleries and the preset lab. */
26
+ declare const LIBRARY_PRESETS: GlassPreset[];
27
+
28
+ export { GlassPreset, LIBRARY_PRESETS, bloom, cinder, comet, emerald, glow, halo, kaleido, nimbus, plasma, rush, tide };