shaders 2.3.51 → 2.3.53

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.
Files changed (193) hide show
  1. package/dist/core/Aurora-BDnL1XdK.js +233 -0
  2. package/dist/core/CursorRipples-Dn_rE8nA.js +177 -0
  3. package/dist/core/registry.js +144 -140
  4. package/dist/core/shaderRegistry.d.ts.map +1 -1
  5. package/dist/core/shaders/Aurora/index.d.ts +99 -0
  6. package/dist/core/shaders/Aurora/index.d.ts.map +1 -0
  7. package/dist/core/shaders/Aurora/index.js +5 -0
  8. package/dist/core/shaders/Beam/index.js +1 -1
  9. package/dist/core/shaders/Blob/index.js +1 -1
  10. package/dist/core/shaders/Blur/index.js +1 -1
  11. package/dist/core/shaders/BrightnessContrast/index.js +1 -1
  12. package/dist/core/shaders/Bulge/index.js +1 -1
  13. package/dist/core/shaders/CRTScreen/index.js +1 -1
  14. package/dist/core/shaders/ChannelBlur/index.js +1 -1
  15. package/dist/core/shaders/Checkerboard/index.js +1 -1
  16. package/dist/core/shaders/ChromaFlow/index.js +1 -1
  17. package/dist/core/shaders/ChromaticAberration/index.js +1 -1
  18. package/dist/core/shaders/Circle/index.js +1 -1
  19. package/dist/core/shaders/ConcentricSpin/index.js +1 -1
  20. package/dist/core/shaders/ContourLines/index.js +1 -1
  21. package/dist/core/shaders/CursorRipples/index.d.ts +42 -0
  22. package/dist/core/shaders/CursorRipples/index.d.ts.map +1 -0
  23. package/dist/core/shaders/CursorRipples/index.js +4 -0
  24. package/dist/core/shaders/CursorTrail/index.js +1 -1
  25. package/dist/core/shaders/DiffuseBlur/index.js +1 -1
  26. package/dist/core/shaders/Dither/index.js +1 -1
  27. package/dist/core/shaders/DotGrid/index.js +1 -1
  28. package/dist/core/shaders/Duotone/index.js +1 -1
  29. package/dist/core/shaders/FilmGrain/index.js +1 -1
  30. package/dist/core/shaders/FloatingParticles/index.js +1 -1
  31. package/dist/core/shaders/FlowField/index.js +1 -1
  32. package/dist/core/shaders/GlassTiles/index.js +1 -1
  33. package/dist/core/shaders/Glitch/index.js +1 -1
  34. package/dist/core/shaders/Glow/index.js +1 -1
  35. package/dist/core/shaders/Godrays/index.js +1 -1
  36. package/dist/core/shaders/Grayscale/index.js +1 -1
  37. package/dist/core/shaders/Grid/index.js +1 -1
  38. package/dist/core/shaders/GridDistortion/index.js +1 -1
  39. package/dist/core/shaders/Group/index.js +1 -1
  40. package/dist/core/shaders/Halftone/index.js +1 -1
  41. package/dist/core/shaders/HueShift/index.js +1 -1
  42. package/dist/core/shaders/ImageTexture/index.js +1 -1
  43. package/dist/core/shaders/Invert/index.js +1 -1
  44. package/dist/core/shaders/Kaleidoscope/index.js +1 -1
  45. package/dist/core/shaders/LensFlare/index.js +1 -1
  46. package/dist/core/shaders/LinearBlur/index.js +1 -1
  47. package/dist/core/shaders/LinearGradient/index.js +1 -1
  48. package/dist/core/shaders/Liquify/index.js +1 -1
  49. package/dist/core/shaders/Mirror/index.js +1 -1
  50. package/dist/core/shaders/Perspective/index.js +1 -1
  51. package/dist/core/shaders/Pixelate/index.js +1 -1
  52. package/dist/core/shaders/Plasma/index.js +1 -1
  53. package/dist/core/shaders/PolarCoordinates/index.js +1 -1
  54. package/dist/core/shaders/Posterize/index.js +1 -1
  55. package/dist/core/shaders/ProgressiveBlur/index.js +1 -1
  56. package/dist/core/shaders/RadialGradient/index.js +1 -1
  57. package/dist/core/shaders/RectangularCoordinates/index.js +1 -1
  58. package/dist/core/shaders/Ripples/index.js +1 -1
  59. package/dist/core/shaders/Saturation/index.js +1 -1
  60. package/dist/core/shaders/Sharpness/index.js +1 -1
  61. package/dist/core/shaders/Shatter/index.js +1 -1
  62. package/dist/core/shaders/SimplexNoise/index.js +1 -1
  63. package/dist/core/shaders/SineWave/index.js +1 -1
  64. package/dist/core/shaders/SolidColor/index.js +1 -1
  65. package/dist/core/shaders/Spherize/index.js +1 -1
  66. package/dist/core/shaders/Spiral/index.js +1 -1
  67. package/dist/core/shaders/Strands/index.js +1 -1
  68. package/dist/core/shaders/Stretch/index.js +1 -1
  69. package/dist/core/shaders/Stripes/index.js +1 -1
  70. package/dist/core/shaders/StudioBackground/index.js +1 -1
  71. package/dist/core/shaders/Swirl/index.js +1 -1
  72. package/dist/core/shaders/TiltShift/index.js +1 -1
  73. package/dist/core/shaders/Tint/index.js +1 -1
  74. package/dist/core/shaders/Tritone/index.js +1 -1
  75. package/dist/core/shaders/Twirl/index.js +1 -1
  76. package/dist/core/shaders/Vibrance/index.js +1 -1
  77. package/dist/core/shaders/VideoTexture/index.js +1 -1
  78. package/dist/core/shaders/WaveDistortion/index.js +1 -1
  79. package/dist/core/shaders/WebcamTexture/index.js +1 -1
  80. package/dist/core/shaders/ZoomBlur/index.js +1 -1
  81. package/dist/react/Aurora.js +164 -0
  82. package/dist/react/CursorRipples.js +164 -0
  83. package/dist/react/components/Aurora.d.ts +31 -0
  84. package/dist/react/components/Aurora.d.ts.map +1 -0
  85. package/dist/react/components/CursorRipples.d.ts +31 -0
  86. package/dist/react/components/CursorRipples.d.ts.map +1 -0
  87. package/dist/react/index.d.ts +2 -0
  88. package/dist/react/index.d.ts.map +1 -1
  89. package/dist/react/index.js +3 -1
  90. package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
  91. package/dist/react/utils/generatePresetCode.js +31 -0
  92. package/dist/registry.js +499 -0
  93. package/dist/solid/components/Aurora.d.ts +28 -0
  94. package/dist/solid/components/Aurora.d.ts.map +1 -0
  95. package/dist/solid/components/Aurora.js +168 -0
  96. package/dist/solid/components/CursorRipples.d.ts +28 -0
  97. package/dist/solid/components/CursorRipples.d.ts.map +1 -0
  98. package/dist/solid/components/CursorRipples.js +168 -0
  99. package/dist/solid/index.d.ts +2 -0
  100. package/dist/solid/index.d.ts.map +1 -1
  101. package/dist/solid/index.js +146 -142
  102. package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
  103. package/dist/solid/utils/generatePresetCode.js +31 -0
  104. package/dist/svelte/components/Aurora.svelte.d.ts +19 -0
  105. package/dist/svelte/components/CursorRipples.svelte.d.ts +19 -0
  106. package/dist/svelte/{generatePresetCode-TDa1I3YR.js → generatePresetCode-DN-iUvZN.js} +31 -0
  107. package/dist/svelte/index.d.ts +2 -0
  108. package/dist/svelte/index.js +545 -285
  109. package/dist/svelte/utils/generatePresetCode.js +1 -1
  110. package/dist/vue/Aurora.js +3 -0
  111. package/dist/vue/Aurora.vue_vue_type_script_setup_true_lang.js +156 -0
  112. package/dist/vue/CursorRipples.js +3 -0
  113. package/dist/vue/CursorRipples.vue_vue_type_script_setup_true_lang.js +148 -0
  114. package/dist/vue/components/Aurora.vue.d.ts +54 -0
  115. package/dist/vue/components/Aurora.vue.d.ts.map +1 -0
  116. package/dist/vue/components/CursorRipples.vue.d.ts +54 -0
  117. package/dist/vue/components/CursorRipples.vue.d.ts.map +1 -0
  118. package/dist/vue/index.d.ts +2 -0
  119. package/dist/vue/index.d.ts.map +1 -1
  120. package/dist/vue/index.js +3 -1
  121. package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
  122. package/dist/vue/utils/generatePresetCode.js +31 -0
  123. package/package.json +17 -1
  124. /package/dist/core/{Beam-BBbjVQDP.js → Beam-CyRoRQEj.js} +0 -0
  125. /package/dist/core/{Blob-DeD9KRj-.js → Blob-BgN4aVOR.js} +0 -0
  126. /package/dist/core/{Blur-Brqgsz7y.js → Blur-NNElJwzj.js} +0 -0
  127. /package/dist/core/{BrightnessContrast-DSePKfxC.js → BrightnessContrast-FdkKMaQQ.js} +0 -0
  128. /package/dist/core/{Bulge-D2OwcL23.js → Bulge-Ca9hW7y4.js} +0 -0
  129. /package/dist/core/{CRTScreen-D6qh6DnD.js → CRTScreen-BHKDJ9_0.js} +0 -0
  130. /package/dist/core/{ChannelBlur-BKo9uGaB.js → ChannelBlur-A0r5Gx_y.js} +0 -0
  131. /package/dist/core/{Checkerboard-ChbG4nPC.js → Checkerboard-XJh_tV6B.js} +0 -0
  132. /package/dist/core/{ChromaFlow-DyqU1igx.js → ChromaFlow-Cc647Knw.js} +0 -0
  133. /package/dist/core/{ChromaticAberration-9nlFN2h0.js → ChromaticAberration-CYvju_kr.js} +0 -0
  134. /package/dist/core/{Circle-DSQ_9vPx.js → Circle-C9DYXDnD.js} +0 -0
  135. /package/dist/core/{ConcentricSpin-CLTGx_sN.js → ConcentricSpin-CnuAW_6I.js} +0 -0
  136. /package/dist/core/{ContourLines-Dc5J7iw5.js → ContourLines-DJ0R9q6Y.js} +0 -0
  137. /package/dist/core/{CursorTrail-COnyRZH9.js → CursorTrail-DD4YxAqo.js} +0 -0
  138. /package/dist/core/{DiffuseBlur-DcV8M7hN.js → DiffuseBlur-GlibDd8O.js} +0 -0
  139. /package/dist/core/{Dither-C-w0ugGX.js → Dither-BOWyA2dp.js} +0 -0
  140. /package/dist/core/{DotGrid-wXnfcjrM.js → DotGrid-Cm-wz6WU.js} +0 -0
  141. /package/dist/core/{Duotone-B8dYgrFR.js → Duotone-C8mRw_1e.js} +0 -0
  142. /package/dist/core/{FilmGrain-D_6m7GJ4.js → FilmGrain-BzD2zoUK.js} +0 -0
  143. /package/dist/core/{FloatingParticles-YuuXeICf.js → FloatingParticles-GkVY1twT.js} +0 -0
  144. /package/dist/core/{FlowField-Dx2eqOcU.js → FlowField-S_LXjhaN.js} +0 -0
  145. /package/dist/core/{GlassTiles-hnt2pUQN.js → GlassTiles--hbefQlc.js} +0 -0
  146. /package/dist/core/{Glitch-DfPXeSlL.js → Glitch-lbgQYebN.js} +0 -0
  147. /package/dist/core/{Glow-CQv_dRPj.js → Glow-DM9zbhbr.js} +0 -0
  148. /package/dist/core/{Godrays-B_-HliEA.js → Godrays-DVo1ikUR.js} +0 -0
  149. /package/dist/core/{Grayscale-DRFXhxr4.js → Grayscale-CRYK8foe.js} +0 -0
  150. /package/dist/core/{Grid-DKSUwEIe.js → Grid-BmYSb6Ur.js} +0 -0
  151. /package/dist/core/{GridDistortion-DahXljLX.js → GridDistortion-PNU8pi2I.js} +0 -0
  152. /package/dist/core/{Group-r9gMBd5y.js → Group-D-QMn-Co.js} +0 -0
  153. /package/dist/core/{Halftone-ZVjwkjaQ.js → Halftone-BlY2LuT8.js} +0 -0
  154. /package/dist/core/{HueShift-gZlNBwNE.js → HueShift-p4t6HfqE.js} +0 -0
  155. /package/dist/core/{ImageTexture-DuXMku_O.js → ImageTexture-BAOtuVAy.js} +0 -0
  156. /package/dist/core/{Invert-gUjZNHF3.js → Invert-oYct5uwC.js} +0 -0
  157. /package/dist/core/{Kaleidoscope-COKZ0BDb.js → Kaleidoscope-BXKsOJl2.js} +0 -0
  158. /package/dist/core/{LensFlare-D6jy4M7G.js → LensFlare-BWl8PWjv.js} +0 -0
  159. /package/dist/core/{LinearBlur-CArDQIhs.js → LinearBlur-gV1sIMuQ.js} +0 -0
  160. /package/dist/core/{LinearGradient-BkB_3gVV.js → LinearGradient-C5kz9RSs.js} +0 -0
  161. /package/dist/core/{Liquify-BrIB9ajS.js → Liquify-CtUvuV0S.js} +0 -0
  162. /package/dist/core/{Mirror-BRPYfVAr.js → Mirror-C3Bn9m7T.js} +0 -0
  163. /package/dist/core/{Perspective-CglPLWTZ.js → Perspective-NsMXVWAS.js} +0 -0
  164. /package/dist/core/{Pixelate-CwnuDc5L.js → Pixelate-C-LbtIjf.js} +0 -0
  165. /package/dist/core/{Plasma-CuW-GOI_.js → Plasma-Dr516u2H.js} +0 -0
  166. /package/dist/core/{PolarCoordinates-9AFXKnSC.js → PolarCoordinates-HVxz9oX-.js} +0 -0
  167. /package/dist/core/{Posterize-DU2yrydV.js → Posterize-DbPe3f5d.js} +0 -0
  168. /package/dist/core/{ProgressiveBlur-BXv2mob_.js → ProgressiveBlur-Cf2pKf8U.js} +0 -0
  169. /package/dist/core/{RadialGradient-Dd21Be-_.js → RadialGradient-Bel2cjwV.js} +0 -0
  170. /package/dist/core/{RectangularCoordinates-DAOGnX2p.js → RectangularCoordinates-BfeH7Mp6.js} +0 -0
  171. /package/dist/core/{Ripples-Nk5is8WX.js → Ripples-DBqbjqb_.js} +0 -0
  172. /package/dist/core/{Saturation-KoiVB92Y.js → Saturation-4L5KnzYg.js} +0 -0
  173. /package/dist/core/{Sharpness-CK-zaDVc.js → Sharpness-C5h9h3NY.js} +0 -0
  174. /package/dist/core/{Shatter-EEzkIXGb.js → Shatter-BDTHZrbz.js} +0 -0
  175. /package/dist/core/{SimplexNoise-DKov4Yho.js → SimplexNoise-DU-QPbwp.js} +0 -0
  176. /package/dist/core/{SineWave-Cy0wWKUU.js → SineWave-CsoVJf9C.js} +0 -0
  177. /package/dist/core/{SolidColor-P4OKglCC.js → SolidColor-BOK2t0JT.js} +0 -0
  178. /package/dist/core/{Spherize-BLEvqakM.js → Spherize-BxUTtFAg.js} +0 -0
  179. /package/dist/core/{Spiral-DXuKs26n.js → Spiral-DVURsiiQ.js} +0 -0
  180. /package/dist/core/{Strands-DsdASoV4.js → Strands-C2l4JaUt.js} +0 -0
  181. /package/dist/core/{Stretch-By8f2wmJ.js → Stretch-uSJDtqi2.js} +0 -0
  182. /package/dist/core/{Stripes-D8HSlP1H.js → Stripes-IFl3of9w.js} +0 -0
  183. /package/dist/core/{StudioBackground-CFjfBnWp.js → StudioBackground-DbBGv5fk.js} +0 -0
  184. /package/dist/core/{Swirl-BIFGxHL0.js → Swirl-C16tmwEg.js} +0 -0
  185. /package/dist/core/{TiltShift-CLMFkzBs.js → TiltShift-C5t3YMVT.js} +0 -0
  186. /package/dist/core/{Tint-NQjiXLGu.js → Tint-VTnDmiKF.js} +0 -0
  187. /package/dist/core/{Tritone-67eoddBF.js → Tritone-v6z_O967.js} +0 -0
  188. /package/dist/core/{Twirl-ZaYAMqmq.js → Twirl-BWpsT8iI.js} +0 -0
  189. /package/dist/core/{Vibrance-DbSUuK_4.js → Vibrance-C_DSuzwf.js} +0 -0
  190. /package/dist/core/{VideoTexture-lHzoN3G9.js → VideoTexture-OrpXuUNQ.js} +0 -0
  191. /package/dist/core/{WaveDistortion-CB6xTndT.js → WaveDistortion-BAxVvc8B.js} +0 -0
  192. /package/dist/core/{WebcamTexture-BJUvpMmV.js → WebcamTexture-D2CHXtkO.js} +0 -0
  193. /package/dist/core/{ZoomBlur-BCClC8fw.js → ZoomBlur-D--sEenn.js} +0 -0
package/dist/registry.js CHANGED
@@ -392,6 +392,337 @@ export const shaderRegistry = [
392
392
  }
393
393
  }
394
394
  },
395
+ {
396
+ "name": "Aurora",
397
+ "category": "Textures",
398
+ "description": "Mesmerizing aurora borealis with layered curtains, vertical rays, and flowing light.",
399
+ "fileName": "Aurora",
400
+ "definition": {
401
+ "name": "Aurora",
402
+ "category": "Textures",
403
+ "description": "Mesmerizing aurora borealis with layered curtains, vertical rays, and flowing light.",
404
+ "props": {
405
+ "colorA": {
406
+ "default": "#a533f8",
407
+ "description": "Edge color at the curtain base",
408
+ "ui": {
409
+ "type": "color",
410
+ "label": "Color A",
411
+ "group": "Colors"
412
+ }
413
+ },
414
+ "colorB": {
415
+ "default": "#22ee88",
416
+ "description": "Core color in the bright center",
417
+ "ui": {
418
+ "type": "color",
419
+ "label": "Color B",
420
+ "group": "Colors"
421
+ }
422
+ },
423
+ "colorC": {
424
+ "default": "#1694e8",
425
+ "description": "Tip color at the ray ends",
426
+ "ui": {
427
+ "type": "color",
428
+ "label": "Color C",
429
+ "group": "Colors"
430
+ }
431
+ },
432
+ "colorSpace": {
433
+ "default": "linear",
434
+ "description": "Color space for color interpolation",
435
+ "ui": {
436
+ "type": "select",
437
+ "options": [
438
+ {
439
+ "label": "Linear RGB",
440
+ "value": "linear"
441
+ },
442
+ {
443
+ "label": "OKLCh",
444
+ "value": "oklch"
445
+ },
446
+ {
447
+ "label": "OKLAB",
448
+ "value": "oklab"
449
+ }
450
+ ],
451
+ "label": "Color Space",
452
+ "group": "Colors"
453
+ }
454
+ },
455
+ "balance": {
456
+ "default": 50,
457
+ "description": "Shifts color distribution across the curtain height",
458
+ "ui": {
459
+ "type": "range",
460
+ "min": 0,
461
+ "max": 100,
462
+ "step": 1,
463
+ "label": "Balance",
464
+ "group": "Colors"
465
+ }
466
+ },
467
+ "intensity": {
468
+ "default": 80,
469
+ "description": "Overall aurora brightness",
470
+ "ui": {
471
+ "type": "range",
472
+ "min": 0,
473
+ "max": 100,
474
+ "step": 1,
475
+ "label": "Intensity",
476
+ "group": "Aurora"
477
+ }
478
+ },
479
+ "curtainCount": {
480
+ "default": 4,
481
+ "description": "Number of aurora curtain layers",
482
+ "ui": {
483
+ "type": "range",
484
+ "min": 1,
485
+ "max": 4,
486
+ "step": 1,
487
+ "label": "Curtains",
488
+ "group": "Aurora"
489
+ }
490
+ },
491
+ "speed": {
492
+ "default": 5,
493
+ "description": "Animation speed",
494
+ "ui": {
495
+ "type": "range",
496
+ "min": -10,
497
+ "max": 10,
498
+ "step": 0.1,
499
+ "label": "Speed",
500
+ "group": "Aurora"
501
+ }
502
+ },
503
+ "waviness": {
504
+ "default": 50,
505
+ "description": "How much the curtains undulate",
506
+ "ui": {
507
+ "type": "range",
508
+ "min": 0,
509
+ "max": 200,
510
+ "step": 1,
511
+ "label": "Waviness",
512
+ "group": "Aurora"
513
+ }
514
+ },
515
+ "rayDensity": {
516
+ "default": 20,
517
+ "description": "Density of vertical ray structures",
518
+ "ui": {
519
+ "type": "range",
520
+ "min": 0,
521
+ "max": 100,
522
+ "step": 1,
523
+ "label": "Ray Detail",
524
+ "group": "Aurora"
525
+ }
526
+ },
527
+ "height": {
528
+ "default": 120,
529
+ "description": "How tall the aurora extends",
530
+ "ui": {
531
+ "type": "range",
532
+ "min": 10,
533
+ "max": 200,
534
+ "step": 1,
535
+ "label": "Height",
536
+ "group": "Scene"
537
+ }
538
+ },
539
+ "center": {
540
+ "default": {
541
+ "x": 0.5,
542
+ "y": 0.5
543
+ },
544
+ "description": "Center position of the aurora",
545
+ "ui": {
546
+ "type": "position",
547
+ "label": "Center",
548
+ "group": "Scene"
549
+ }
550
+ },
551
+ "seed": {
552
+ "default": 0,
553
+ "description": "Random seed for variation",
554
+ "ui": {
555
+ "type": "range",
556
+ "min": 0,
557
+ "max": 100,
558
+ "step": 1,
559
+ "label": "Seed",
560
+ "group": "Aurora"
561
+ }
562
+ }
563
+ }
564
+ },
565
+ "propsMetadata": {
566
+ "colorA": {
567
+ "ui": {
568
+ "type": "color",
569
+ "label": "Color A",
570
+ "group": "Colors"
571
+ },
572
+ "default": "#a533f8",
573
+ "description": "Edge color at the curtain base"
574
+ },
575
+ "colorB": {
576
+ "ui": {
577
+ "type": "color",
578
+ "label": "Color B",
579
+ "group": "Colors"
580
+ },
581
+ "default": "#22ee88",
582
+ "description": "Core color in the bright center"
583
+ },
584
+ "colorC": {
585
+ "ui": {
586
+ "type": "color",
587
+ "label": "Color C",
588
+ "group": "Colors"
589
+ },
590
+ "default": "#1694e8",
591
+ "description": "Tip color at the ray ends"
592
+ },
593
+ "colorSpace": {
594
+ "ui": {
595
+ "type": "select",
596
+ "options": [
597
+ {
598
+ "label": "Linear RGB",
599
+ "value": "linear"
600
+ },
601
+ {
602
+ "label": "OKLCh",
603
+ "value": "oklch"
604
+ },
605
+ {
606
+ "label": "OKLAB",
607
+ "value": "oklab"
608
+ }
609
+ ],
610
+ "label": "Color Space",
611
+ "group": "Colors"
612
+ },
613
+ "default": "linear",
614
+ "description": "Color space for color interpolation"
615
+ },
616
+ "balance": {
617
+ "ui": {
618
+ "type": "range",
619
+ "min": 0,
620
+ "max": 100,
621
+ "step": 1,
622
+ "label": "Balance",
623
+ "group": "Colors"
624
+ },
625
+ "default": 50,
626
+ "description": "Shifts color distribution across the curtain height"
627
+ },
628
+ "intensity": {
629
+ "ui": {
630
+ "type": "range",
631
+ "min": 0,
632
+ "max": 100,
633
+ "step": 1,
634
+ "label": "Intensity",
635
+ "group": "Aurora"
636
+ },
637
+ "default": 80,
638
+ "description": "Overall aurora brightness"
639
+ },
640
+ "curtainCount": {
641
+ "ui": {
642
+ "type": "range",
643
+ "min": 1,
644
+ "max": 4,
645
+ "step": 1,
646
+ "label": "Curtains",
647
+ "group": "Aurora"
648
+ },
649
+ "default": 4,
650
+ "description": "Number of aurora curtain layers"
651
+ },
652
+ "speed": {
653
+ "ui": {
654
+ "type": "range",
655
+ "min": -10,
656
+ "max": 10,
657
+ "step": 0.1,
658
+ "label": "Speed",
659
+ "group": "Aurora"
660
+ },
661
+ "default": 5,
662
+ "description": "Animation speed"
663
+ },
664
+ "waviness": {
665
+ "ui": {
666
+ "type": "range",
667
+ "min": 0,
668
+ "max": 200,
669
+ "step": 1,
670
+ "label": "Waviness",
671
+ "group": "Aurora"
672
+ },
673
+ "default": 50,
674
+ "description": "How much the curtains undulate"
675
+ },
676
+ "rayDensity": {
677
+ "ui": {
678
+ "type": "range",
679
+ "min": 0,
680
+ "max": 100,
681
+ "step": 1,
682
+ "label": "Ray Detail",
683
+ "group": "Aurora"
684
+ },
685
+ "default": 20,
686
+ "description": "Density of vertical ray structures"
687
+ },
688
+ "height": {
689
+ "ui": {
690
+ "type": "range",
691
+ "min": 10,
692
+ "max": 200,
693
+ "step": 1,
694
+ "label": "Height",
695
+ "group": "Scene"
696
+ },
697
+ "default": 120,
698
+ "description": "How tall the aurora extends"
699
+ },
700
+ "center": {
701
+ "ui": {
702
+ "type": "position",
703
+ "label": "Center",
704
+ "group": "Scene"
705
+ },
706
+ "default": {
707
+ "x": 0.5,
708
+ "y": 0.5
709
+ },
710
+ "description": "Center position of the aurora"
711
+ },
712
+ "seed": {
713
+ "ui": {
714
+ "type": "range",
715
+ "min": 0,
716
+ "max": 100,
717
+ "step": 1,
718
+ "label": "Seed",
719
+ "group": "Aurora"
720
+ },
721
+ "default": 0,
722
+ "description": "Random seed for variation"
723
+ }
724
+ }
725
+ },
395
726
  {
396
727
  "name": "Beam",
397
728
  "category": "Textures",
@@ -2623,6 +2954,174 @@ export const shaderRegistry = [
2623
2954
  }
2624
2955
  }
2625
2956
  },
2957
+ {
2958
+ "name": "CursorRipples",
2959
+ "category": "Interactive",
2960
+ "description": "Fluid-like ripple distortion",
2961
+ "fileName": "CursorRipples",
2962
+ "requiresChild": true,
2963
+ "definition": {
2964
+ "name": "CursorRipples",
2965
+ "category": "Interactive",
2966
+ "description": "Fluid-like ripple distortion",
2967
+ "requiresRTT": true,
2968
+ "requiresChild": true,
2969
+ "props": {
2970
+ "intensity": {
2971
+ "default": 10,
2972
+ "description": "Strength of the ripple distortion",
2973
+ "ui": {
2974
+ "type": "range",
2975
+ "min": 0,
2976
+ "max": 20,
2977
+ "step": 0.1,
2978
+ "label": "Intensity",
2979
+ "group": "Effect"
2980
+ }
2981
+ },
2982
+ "decay": {
2983
+ "default": 10,
2984
+ "description": "How quickly ripples fade (higher = faster)",
2985
+ "ui": {
2986
+ "type": "range",
2987
+ "min": 0,
2988
+ "max": 20,
2989
+ "step": 0.1,
2990
+ "label": "Decay",
2991
+ "group": "Effect"
2992
+ }
2993
+ },
2994
+ "radius": {
2995
+ "default": 0.5,
2996
+ "description": "Radius of cursor influence",
2997
+ "ui": {
2998
+ "type": "range",
2999
+ "min": 0.1,
3000
+ "max": 1,
3001
+ "step": 0.1,
3002
+ "label": "Radius",
3003
+ "group": "Effect"
3004
+ }
3005
+ },
3006
+ "chromaticSplit": {
3007
+ "default": 1,
3008
+ "description": "RGB channel separation along ripple edges",
3009
+ "ui": {
3010
+ "type": "range",
3011
+ "min": 0,
3012
+ "max": 3,
3013
+ "step": 0.1,
3014
+ "label": "Chromatic Split",
3015
+ "group": "Effect"
3016
+ }
3017
+ },
3018
+ "edges": {
3019
+ "default": "stretch",
3020
+ "description": "How to handle edges when distortion pushes content out of bounds",
3021
+ "ui": {
3022
+ "type": "select",
3023
+ "options": [
3024
+ {
3025
+ "label": "Stretch",
3026
+ "value": "stretch"
3027
+ },
3028
+ {
3029
+ "label": "Transparent",
3030
+ "value": "transparent"
3031
+ },
3032
+ {
3033
+ "label": "Mirror",
3034
+ "value": "mirror"
3035
+ },
3036
+ {
3037
+ "label": "Wrap",
3038
+ "value": "wrap"
3039
+ }
3040
+ ],
3041
+ "label": "Edges",
3042
+ "group": "Effect"
3043
+ }
3044
+ }
3045
+ }
3046
+ },
3047
+ "propsMetadata": {
3048
+ "intensity": {
3049
+ "ui": {
3050
+ "type": "range",
3051
+ "min": 0,
3052
+ "max": 20,
3053
+ "step": 0.1,
3054
+ "label": "Intensity",
3055
+ "group": "Effect"
3056
+ },
3057
+ "default": 10,
3058
+ "description": "Strength of the ripple distortion"
3059
+ },
3060
+ "decay": {
3061
+ "ui": {
3062
+ "type": "range",
3063
+ "min": 0,
3064
+ "max": 20,
3065
+ "step": 0.1,
3066
+ "label": "Decay",
3067
+ "group": "Effect"
3068
+ },
3069
+ "default": 10,
3070
+ "description": "How quickly ripples fade (higher = faster)"
3071
+ },
3072
+ "radius": {
3073
+ "ui": {
3074
+ "type": "range",
3075
+ "min": 0.1,
3076
+ "max": 1,
3077
+ "step": 0.1,
3078
+ "label": "Radius",
3079
+ "group": "Effect"
3080
+ },
3081
+ "default": 0.5,
3082
+ "description": "Radius of cursor influence"
3083
+ },
3084
+ "chromaticSplit": {
3085
+ "ui": {
3086
+ "type": "range",
3087
+ "min": 0,
3088
+ "max": 3,
3089
+ "step": 0.1,
3090
+ "label": "Chromatic Split",
3091
+ "group": "Effect"
3092
+ },
3093
+ "default": 1,
3094
+ "description": "RGB channel separation along ripple edges"
3095
+ },
3096
+ "edges": {
3097
+ "ui": {
3098
+ "type": "select",
3099
+ "options": [
3100
+ {
3101
+ "label": "Stretch",
3102
+ "value": "stretch"
3103
+ },
3104
+ {
3105
+ "label": "Transparent",
3106
+ "value": "transparent"
3107
+ },
3108
+ {
3109
+ "label": "Mirror",
3110
+ "value": "mirror"
3111
+ },
3112
+ {
3113
+ "label": "Wrap",
3114
+ "value": "wrap"
3115
+ }
3116
+ ],
3117
+ "label": "Edges",
3118
+ "group": "Effect"
3119
+ },
3120
+ "default": "stretch",
3121
+ "description": "How to handle edges when distortion pushes content out of bounds"
3122
+ }
3123
+ }
3124
+ },
2626
3125
  {
2627
3126
  "name": "CursorTrail",
2628
3127
  "category": "Interactive",
@@ -0,0 +1,28 @@
1
+ import { JSX } from 'solid-js';
2
+ import { BlendMode, TransformConfig } from '../../core';
3
+ import { ComponentProps } from '../../core/shaders/Aurora';
4
+ export type { ComponentProps };
5
+ /**
6
+ * Base props that all shader components have
7
+ */
8
+ interface BaseShaderProps {
9
+ children?: JSX.Element;
10
+ blendMode?: BlendMode;
11
+ opacity?: number;
12
+ visible?: boolean;
13
+ id?: string;
14
+ maskSource?: string;
15
+ maskType?: string;
16
+ renderOrder?: number;
17
+ transform?: Partial<TransformConfig>;
18
+ }
19
+ /**
20
+ * Component-specific props that merge base props with shader-specific props
21
+ * Note: ComponentProps are made optional since they have defaults from the shader definition
22
+ */
23
+ type ShaderComponentProps = BaseShaderProps & Partial<ComponentProps>;
24
+ /**
25
+ * The main Solid wrapper component for Shader shader nodes
26
+ */
27
+ export default function ShaderComponent(props: ShaderComponentProps): JSX.Element;
28
+ //# sourceMappingURL=Aurora.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Aurora.d.ts","sourceRoot":"","sources":["../../src/components/Aurora.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA4D,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAC9F,OAAO,EAGH,KAAK,SAAS,EAId,KAAK,eAAe,EACvB,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAG/E,YAAY,EAAE,cAAc,EAAE,CAAC;AAI/B;;GAEG;AACH,UAAU,eAAe;IACrB,QAAQ,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC,CAAC;CACxC;AAED;;;GAGG;AACH,KAAK,oBAAoB,GAAG,eAAe,GAAG,OAAO,CAAC,cAAc,CAAC,CAAC;AAmCtE;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,KAAK,EAAE,oBAAoB,eAiLlE"}