@toriistudio/shader-ui 0.0.6 → 0.0.8

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/dist/index.d.mts CHANGED
@@ -234,4 +234,78 @@ type RippleWaveProps = {
234
234
  };
235
235
  declare function RippleWave({ width, height, intensity, zoom, speed, hexColors, }: RippleWaveProps): react_jsx_runtime.JSX.Element;
236
236
 
237
- export { AnimatedDrawingSVG, EFECTO_ASCII_COMPONENT_DEFAULTS, EFECTO_ASCII_POST_PROCESSING_DEFAULTS, Efecto, type EfectoAsciiColorPalette, type EfectoAsciiStyle, type PublicPostProcessingSettings as EfectoPublicAsciiPostProcessingSettings, FractalFlower, MenuGlitch, type MenuGlitchUniforms, OranoParticles, type OranoParticlesUniforms, RippleWave, ShaderArt, type ShaderArtUniforms, Snow, WANDY_HAND_DEFAULTS, WandyHand };
237
+ type BorderBeamPassUniforms = {
238
+ /** Border thickness in UV space (Unicorn-ish: 0.02 for inner, 0.08 for outer) */
239
+ thickness: number;
240
+ /** Multiplier on the glow */
241
+ intensity: number;
242
+ /** RGB beam color */
243
+ color: [number, number, number];
244
+ /** Add tiny dithering noise */
245
+ dither: boolean;
246
+ /** Dither strength (default: 1/128) */
247
+ ditherStrength: number;
248
+ /** Apply tanh tonemap (matches Unicorn) */
249
+ tonemap: boolean;
250
+ /** Alpha multiplier (lets you control contribution later) */
251
+ alpha: number;
252
+ };
253
+
254
+ type BlurPassUniforms = {
255
+ trackMouse: boolean;
256
+ blurRadius: number;
257
+ };
258
+
259
+ type DiffusePassUniforms = {
260
+ trackMouse: boolean;
261
+ diffuseRadius: number;
262
+ };
263
+
264
+ type ExpandingRingPassUniforms = {
265
+ /** RGB ring color */
266
+ color: [number, number, number];
267
+ /** Center position in UV space */
268
+ position: [number, number];
269
+ /** Ring cycles per second */
270
+ speed: number;
271
+ /** Alpha multiplier */
272
+ alpha: number;
273
+ };
274
+
275
+ type NoiseWarpPassUniforms = {
276
+ trackMouse: boolean;
277
+ strength: number;
278
+ radius: number;
279
+ };
280
+
281
+ type CombineMode = "add" | "screen" | "multiply" | "overlay" | "max" | "min" | "difference" | "alphaOver" | "premultipliedOver" | "lerp" | "mask";
282
+
283
+ type DitherPulseRingProps = {
284
+ spriteTextureSrc?: string;
285
+ glyphDitherEnabled?: boolean;
286
+ diffuseEnabled?: boolean;
287
+ blurEnabled?: boolean;
288
+ noiseWarpEnabled?: boolean;
289
+ combineMode?: CombineMode;
290
+ noiseWarpRadius?: NoiseWarpPassUniforms["radius"];
291
+ noiseWarpStrength?: NoiseWarpPassUniforms["strength"];
292
+ diffuseRadius?: DiffusePassUniforms["diffuseRadius"];
293
+ blurRadius?: BlurPassUniforms["blurRadius"];
294
+ borderThickness?: number;
295
+ borderIntensity?: number;
296
+ borderColor?: BorderBeamPassUniforms["color"] | string;
297
+ borderDitherStrength?: number;
298
+ borderTonemap?: boolean;
299
+ borderAlpha?: number;
300
+ ringColor?: ExpandingRingPassUniforms["color"] | string;
301
+ ringSpeed?: number;
302
+ ringPosition?: ExpandingRingPassUniforms["position"];
303
+ ringAlpha?: ExpandingRingPassUniforms["alpha"];
304
+ width?: string | number;
305
+ height?: string | number;
306
+ className?: string;
307
+ style?: React.CSSProperties;
308
+ };
309
+ declare function DitherPulseRing({ spriteTextureSrc, glyphDitherEnabled, diffuseEnabled, blurEnabled, noiseWarpEnabled, combineMode, noiseWarpRadius, noiseWarpStrength, diffuseRadius, blurRadius, borderThickness, borderIntensity, borderColor, borderDitherStrength, borderTonemap, borderAlpha, ringColor, ringSpeed, ringPosition, ringAlpha, width, height, className, style, }: DitherPulseRingProps): react_jsx_runtime.JSX.Element;
310
+
311
+ export { AnimatedDrawingSVG, type CombineMode as CombineShaderMode, DitherPulseRing, EFECTO_ASCII_COMPONENT_DEFAULTS, EFECTO_ASCII_POST_PROCESSING_DEFAULTS, Efecto, type EfectoAsciiColorPalette, type EfectoAsciiStyle, type PublicPostProcessingSettings as EfectoPublicAsciiPostProcessingSettings, FractalFlower, MenuGlitch, type MenuGlitchUniforms, OranoParticles, type OranoParticlesUniforms, RippleWave, ShaderArt, type ShaderArtUniforms, Snow, WANDY_HAND_DEFAULTS, WandyHand };
package/dist/index.d.ts CHANGED
@@ -234,4 +234,78 @@ type RippleWaveProps = {
234
234
  };
235
235
  declare function RippleWave({ width, height, intensity, zoom, speed, hexColors, }: RippleWaveProps): react_jsx_runtime.JSX.Element;
236
236
 
237
- export { AnimatedDrawingSVG, EFECTO_ASCII_COMPONENT_DEFAULTS, EFECTO_ASCII_POST_PROCESSING_DEFAULTS, Efecto, type EfectoAsciiColorPalette, type EfectoAsciiStyle, type PublicPostProcessingSettings as EfectoPublicAsciiPostProcessingSettings, FractalFlower, MenuGlitch, type MenuGlitchUniforms, OranoParticles, type OranoParticlesUniforms, RippleWave, ShaderArt, type ShaderArtUniforms, Snow, WANDY_HAND_DEFAULTS, WandyHand };
237
+ type BorderBeamPassUniforms = {
238
+ /** Border thickness in UV space (Unicorn-ish: 0.02 for inner, 0.08 for outer) */
239
+ thickness: number;
240
+ /** Multiplier on the glow */
241
+ intensity: number;
242
+ /** RGB beam color */
243
+ color: [number, number, number];
244
+ /** Add tiny dithering noise */
245
+ dither: boolean;
246
+ /** Dither strength (default: 1/128) */
247
+ ditherStrength: number;
248
+ /** Apply tanh tonemap (matches Unicorn) */
249
+ tonemap: boolean;
250
+ /** Alpha multiplier (lets you control contribution later) */
251
+ alpha: number;
252
+ };
253
+
254
+ type BlurPassUniforms = {
255
+ trackMouse: boolean;
256
+ blurRadius: number;
257
+ };
258
+
259
+ type DiffusePassUniforms = {
260
+ trackMouse: boolean;
261
+ diffuseRadius: number;
262
+ };
263
+
264
+ type ExpandingRingPassUniforms = {
265
+ /** RGB ring color */
266
+ color: [number, number, number];
267
+ /** Center position in UV space */
268
+ position: [number, number];
269
+ /** Ring cycles per second */
270
+ speed: number;
271
+ /** Alpha multiplier */
272
+ alpha: number;
273
+ };
274
+
275
+ type NoiseWarpPassUniforms = {
276
+ trackMouse: boolean;
277
+ strength: number;
278
+ radius: number;
279
+ };
280
+
281
+ type CombineMode = "add" | "screen" | "multiply" | "overlay" | "max" | "min" | "difference" | "alphaOver" | "premultipliedOver" | "lerp" | "mask";
282
+
283
+ type DitherPulseRingProps = {
284
+ spriteTextureSrc?: string;
285
+ glyphDitherEnabled?: boolean;
286
+ diffuseEnabled?: boolean;
287
+ blurEnabled?: boolean;
288
+ noiseWarpEnabled?: boolean;
289
+ combineMode?: CombineMode;
290
+ noiseWarpRadius?: NoiseWarpPassUniforms["radius"];
291
+ noiseWarpStrength?: NoiseWarpPassUniforms["strength"];
292
+ diffuseRadius?: DiffusePassUniforms["diffuseRadius"];
293
+ blurRadius?: BlurPassUniforms["blurRadius"];
294
+ borderThickness?: number;
295
+ borderIntensity?: number;
296
+ borderColor?: BorderBeamPassUniforms["color"] | string;
297
+ borderDitherStrength?: number;
298
+ borderTonemap?: boolean;
299
+ borderAlpha?: number;
300
+ ringColor?: ExpandingRingPassUniforms["color"] | string;
301
+ ringSpeed?: number;
302
+ ringPosition?: ExpandingRingPassUniforms["position"];
303
+ ringAlpha?: ExpandingRingPassUniforms["alpha"];
304
+ width?: string | number;
305
+ height?: string | number;
306
+ className?: string;
307
+ style?: React.CSSProperties;
308
+ };
309
+ declare function DitherPulseRing({ spriteTextureSrc, glyphDitherEnabled, diffuseEnabled, blurEnabled, noiseWarpEnabled, combineMode, noiseWarpRadius, noiseWarpStrength, diffuseRadius, blurRadius, borderThickness, borderIntensity, borderColor, borderDitherStrength, borderTonemap, borderAlpha, ringColor, ringSpeed, ringPosition, ringAlpha, width, height, className, style, }: DitherPulseRingProps): react_jsx_runtime.JSX.Element;
310
+
311
+ export { AnimatedDrawingSVG, type CombineMode as CombineShaderMode, DitherPulseRing, EFECTO_ASCII_COMPONENT_DEFAULTS, EFECTO_ASCII_POST_PROCESSING_DEFAULTS, Efecto, type EfectoAsciiColorPalette, type EfectoAsciiStyle, type PublicPostProcessingSettings as EfectoPublicAsciiPostProcessingSettings, FractalFlower, MenuGlitch, type MenuGlitchUniforms, OranoParticles, type OranoParticlesUniforms, RippleWave, ShaderArt, type ShaderArtUniforms, Snow, WANDY_HAND_DEFAULTS, WandyHand };