shaders 2.5.128 → 2.5.130

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 (248) hide show
  1. package/dist/core/{Blur-5_t3tR_g.js → Blur-1GcG1L1y.js} +1 -1
  2. package/dist/core/{ChannelBlur-DWgS3nhn.js → ChannelBlur-CxlVaYGM.js} +1 -1
  3. package/dist/core/Exposure-CFn2J_t3.js +29 -0
  4. package/dist/core/{Glass-CXT1jdLw.js → Glass-D8DayF1P.js} +1 -1
  5. package/dist/core/{Glow-5PP4-rM9.js → Glow-chsUpCyj.js} +25 -8
  6. package/dist/core/{ProgressiveBlur-BJwJ5mE0.js → ProgressiveBlur-By_PgPtK.js} +1 -1
  7. package/dist/core/{ReflectivePlane-UIT4xlmn.js → ReflectivePlane-VjZ1E5B0.js} +1 -1
  8. package/dist/core/ThinFilm-CUsi8eSg.js +305 -0
  9. package/dist/core/{TiltShift-DtQ3dRL-.js → TiltShift-vG90NlLr.js} +1 -1
  10. package/dist/core/{VideoTexture-ClutlOqj.js → VideoTexture-FmV1l91c.js} +1 -1
  11. package/dist/core/{WebcamTexture-D4e06ajM.js → WebcamTexture-DlS4MCDm.js} +1 -1
  12. package/dist/core/blendModes/linearDodge.d.ts.map +1 -1
  13. package/dist/core/{computeBlur-CprKe0xa.js → computeBlur-oxyhoztH.js} +14 -7
  14. package/dist/core/effects/thinFilm.d.ts +81 -0
  15. package/dist/core/effects/thinFilm.d.ts.map +1 -0
  16. package/dist/core/index.js +90 -88
  17. package/dist/core/registry.js +89 -87
  18. package/dist/core/shaderRegistry-BVFBmRN3.js +276 -0
  19. package/dist/core/shaderRegistry.d.ts.map +1 -1
  20. package/dist/core/shaders/Blur/index.js +2 -2
  21. package/dist/core/shaders/ChannelBlur/index.js +2 -2
  22. package/dist/core/shaders/Exposure/index.d.ts +13 -0
  23. package/dist/core/shaders/Exposure/index.d.ts.map +1 -0
  24. package/dist/core/shaders/Exposure/index.js +2 -0
  25. package/dist/core/shaders/FallingLines/index.js +1 -1
  26. package/dist/core/shaders/FilmGrain/index.js +1 -1
  27. package/dist/core/shaders/FloatingParticles/index.js +1 -1
  28. package/dist/core/shaders/FlowField/index.js +1 -1
  29. package/dist/core/shaders/Flower/index.js +1 -1
  30. package/dist/core/shaders/FlowingGradient/index.js +1 -1
  31. package/dist/core/shaders/FlutedGlass/index.js +1 -1
  32. package/dist/core/shaders/Fog/index.js +1 -1
  33. package/dist/core/shaders/Form3D/index.js +1 -1
  34. package/dist/core/shaders/FractalNoise/index.js +1 -1
  35. package/dist/core/shaders/Glass/index.js +2 -2
  36. package/dist/core/shaders/GlassTiles/index.js +1 -1
  37. package/dist/core/shaders/Glitch/index.js +1 -1
  38. package/dist/core/shaders/Glow/index.d.ts.map +1 -1
  39. package/dist/core/shaders/Glow/index.js +2 -2
  40. package/dist/core/shaders/Godrays/index.js +1 -1
  41. package/dist/core/shaders/Grayscale/index.js +1 -1
  42. package/dist/core/shaders/Grid/index.js +1 -1
  43. package/dist/core/shaders/GridDistortion/index.js +1 -1
  44. package/dist/core/shaders/Group/index.js +1 -1
  45. package/dist/core/shaders/Halftone/index.js +1 -1
  46. package/dist/core/shaders/HexGrid/index.js +1 -1
  47. package/dist/core/shaders/HueShift/index.js +1 -1
  48. package/dist/core/shaders/ImageTexture/index.js +1 -1
  49. package/dist/core/shaders/Invert/index.js +1 -1
  50. package/dist/core/shaders/Kaleidoscope/index.js +1 -1
  51. package/dist/core/shaders/LensFlare/index.js +1 -1
  52. package/dist/core/shaders/LinearBlur/index.js +1 -1
  53. package/dist/core/shaders/LinearGradient/index.js +1 -1
  54. package/dist/core/shaders/Liquify/index.js +1 -1
  55. package/dist/core/shaders/Marble/index.js +1 -1
  56. package/dist/core/shaders/Mirror/index.js +1 -1
  57. package/dist/core/shaders/MultiPointGradient/index.js +1 -1
  58. package/dist/core/shaders/Neon/index.js +1 -1
  59. package/dist/core/shaders/Paper/index.js +1 -1
  60. package/dist/core/shaders/Perspective/index.js +1 -1
  61. package/dist/core/shaders/Pixelate/index.js +1 -1
  62. package/dist/core/shaders/Plasma/index.js +1 -1
  63. package/dist/core/shaders/PolarCoordinates/index.js +1 -1
  64. package/dist/core/shaders/Polygon/index.js +1 -1
  65. package/dist/core/shaders/Posterize/index.js +1 -1
  66. package/dist/core/shaders/ProgressiveBlur/index.js +2 -2
  67. package/dist/core/shaders/RadialGradient/index.js +1 -1
  68. package/dist/core/shaders/RectangularCoordinates/index.js +1 -1
  69. package/dist/core/shaders/ReflectivePlane/index.js +2 -2
  70. package/dist/core/shaders/Ring/index.js +1 -1
  71. package/dist/core/shaders/Ripples/index.js +1 -1
  72. package/dist/core/shaders/RoundedRect/index.js +1 -1
  73. package/dist/core/shaders/Saturation/index.js +1 -1
  74. package/dist/core/shaders/Sharpness/index.js +1 -1
  75. package/dist/core/shaders/Shatter/index.js +1 -1
  76. package/dist/core/shaders/SimplexNoise/index.js +1 -1
  77. package/dist/core/shaders/SineWave/index.js +1 -1
  78. package/dist/core/shaders/Smoke/index.js +1 -1
  79. package/dist/core/shaders/SmokeFill/index.js +1 -1
  80. package/dist/core/shaders/Solarize/index.js +1 -1
  81. package/dist/core/shaders/SolidColor/index.js +1 -1
  82. package/dist/core/shaders/Spherize/index.js +1 -1
  83. package/dist/core/shaders/Spiral/index.js +1 -1
  84. package/dist/core/shaders/Star/index.js +1 -1
  85. package/dist/core/shaders/Strands/index.js +1 -1
  86. package/dist/core/shaders/Stretch/index.js +1 -1
  87. package/dist/core/shaders/Stripes/index.js +1 -1
  88. package/dist/core/shaders/StudioBackground/index.js +1 -1
  89. package/dist/core/shaders/SunBurst/index.js +1 -1
  90. package/dist/core/shaders/Swirl/index.js +1 -1
  91. package/dist/core/shaders/ThinFilm/index.d.ts +130 -0
  92. package/dist/core/shaders/ThinFilm/index.d.ts.map +1 -0
  93. package/dist/core/shaders/ThinFilm/index.js +6 -0
  94. package/dist/core/shaders/TiltShift/index.js +2 -2
  95. package/dist/core/shaders/Tint/index.js +1 -1
  96. package/dist/core/shaders/Trapezoid/index.js +1 -1
  97. package/dist/core/shaders/Tritone/index.js +1 -1
  98. package/dist/core/shaders/Truchet/index.js +1 -1
  99. package/dist/core/shaders/Twirl/index.js +1 -1
  100. package/dist/core/shaders/VHS/index.js +1 -1
  101. package/dist/core/shaders/Vesica/index.js +1 -1
  102. package/dist/core/shaders/Vibrance/index.js +1 -1
  103. package/dist/core/shaders/VideoTexture/index.js +2 -2
  104. package/dist/core/shaders/Vignette/index.js +1 -1
  105. package/dist/core/shaders/Voronoi/index.js +1 -1
  106. package/dist/core/shaders/WaveDistortion/index.js +1 -1
  107. package/dist/core/shaders/Weave/index.js +1 -1
  108. package/dist/core/shaders/WebcamTexture/index.js +2 -2
  109. package/dist/core/shaders/WorleyNoise/index.js +1 -1
  110. package/dist/core/shaders/ZoomBlur/index.js +1 -1
  111. package/dist/core/utilities/computeBlur.d.ts +3 -1
  112. package/dist/core/utilities/computeBlur.d.ts.map +1 -1
  113. package/dist/js/bundle.js +199 -199
  114. package/dist/js/createShader.js +1 -1
  115. package/dist/js/utils/generatePresetCode.d.ts.map +1 -1
  116. package/dist/js/utils/generatePresetCode.js +31 -0
  117. package/dist/react/Exposure.js +217 -0
  118. package/dist/react/Preview.js +2 -0
  119. package/dist/react/Shader.js +1 -1
  120. package/dist/react/ThinFilm.js +217 -0
  121. package/dist/react/bundle.js +214 -214
  122. package/dist/react/components/Exposure.d.ts +33 -0
  123. package/dist/react/components/Exposure.d.ts.map +1 -0
  124. package/dist/react/components/ThinFilm.d.ts +41 -0
  125. package/dist/react/components/ThinFilm.d.ts.map +1 -0
  126. package/dist/react/engine/Preview.d.ts.map +1 -1
  127. package/dist/react/index.d.ts +2 -0
  128. package/dist/react/index.d.ts.map +1 -1
  129. package/dist/react/index.js +3 -1
  130. package/dist/react/utils/generatePresetCode.d.ts.map +1 -1
  131. package/dist/react/utils/generatePresetCode.js +31 -0
  132. package/dist/registry.js +590 -0
  133. package/dist/solid/components/Exposure.d.ts +30 -0
  134. package/dist/solid/components/Exposure.d.ts.map +1 -0
  135. package/dist/solid/components/Exposure.js +228 -0
  136. package/dist/solid/components/ThinFilm.d.ts +38 -0
  137. package/dist/solid/components/ThinFilm.d.ts.map +1 -0
  138. package/dist/solid/components/ThinFilm.js +228 -0
  139. package/dist/solid/engine/Preview.d.ts.map +1 -1
  140. package/dist/solid/engine/Preview.js +204 -200
  141. package/dist/solid/engine/Shader.js +1 -1
  142. package/dist/solid/index.d.ts +2 -0
  143. package/dist/solid/index.d.ts.map +1 -1
  144. package/dist/solid/index.js +172 -168
  145. package/dist/solid/utils/generatePresetCode.d.ts.map +1 -1
  146. package/dist/solid/utils/generatePresetCode.js +31 -0
  147. package/dist/svelte/components/Exposure.svelte.d.ts +20 -0
  148. package/dist/svelte/components/ThinFilm.svelte.d.ts +28 -0
  149. package/dist/svelte/index.d.ts +2 -0
  150. package/dist/svelte/index.js +1033 -633
  151. package/dist/svelte/source/components/Exposure.svelte +326 -0
  152. package/dist/svelte/source/components/ThinFilm.svelte +334 -0
  153. package/dist/svelte/source/engine/Preview.svelte +4 -0
  154. package/dist/svelte/source/index.js +2 -0
  155. package/dist/svelte/utils/generatePresetCode.js +31 -0
  156. package/dist/vue/Exposure.js +3 -0
  157. package/dist/vue/Exposure.vue_vue_type_script_setup_true_lang.js +213 -0
  158. package/dist/vue/Preview.vue_vue_type_script_setup_true_lang.js +4 -0
  159. package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
  160. package/dist/vue/ThinFilm.js +3 -0
  161. package/dist/vue/ThinFilm.vue_vue_type_script_setup_true_lang.js +231 -0
  162. package/dist/vue/components/Exposure.vue.d.ts +55 -0
  163. package/dist/vue/components/Exposure.vue.d.ts.map +1 -0
  164. package/dist/vue/components/ThinFilm.vue.d.ts +63 -0
  165. package/dist/vue/components/ThinFilm.vue.d.ts.map +1 -0
  166. package/dist/vue/index.d.ts +2 -0
  167. package/dist/vue/index.d.ts.map +1 -1
  168. package/dist/vue/index.js +3 -1
  169. package/dist/vue/utils/generatePresetCode.d.ts.map +1 -1
  170. package/dist/vue/utils/generatePresetCode.js +31 -0
  171. package/package.json +17 -1
  172. package/dist/core/shaderRegistry-Brvv9sO8.js +0 -272
  173. /package/dist/core/{FallingLines-DqIZ8wTH.js → FallingLines-9elMmSlj.js} +0 -0
  174. /package/dist/core/{FilmGrain-DdV7_b8g.js → FilmGrain-DIydVgOW.js} +0 -0
  175. /package/dist/core/{FloatingParticles-LMsFTJKp.js → FloatingParticles-B068TLIi.js} +0 -0
  176. /package/dist/core/{FlowField-D3CAHBBG.js → FlowField-CeZjhyEo.js} +0 -0
  177. /package/dist/core/{Flower-BbRNrXIa.js → Flower-DSr0JWa2.js} +0 -0
  178. /package/dist/core/{FlowingGradient-BRQ_K-k3.js → FlowingGradient-Bd8KBK5P.js} +0 -0
  179. /package/dist/core/{FlutedGlass-CyFWN_SM.js → FlutedGlass-BJtMfV2c.js} +0 -0
  180. /package/dist/core/{Fog-CLGVVVeo.js → Fog-BQuVDReH.js} +0 -0
  181. /package/dist/core/{Form3D-8tPyUgh4.js → Form3D-DOek31CJ.js} +0 -0
  182. /package/dist/core/{FractalNoise-Ccufnbw6.js → FractalNoise-Dyhbvx9a.js} +0 -0
  183. /package/dist/core/{GlassTiles-CXJHjEBe.js → GlassTiles-Bb3cuOkr.js} +0 -0
  184. /package/dist/core/{Glitch-Bg9W-KNm.js → Glitch-zqdbCc2E.js} +0 -0
  185. /package/dist/core/{Godrays-DHXKsw5B.js → Godrays-DdSLZtBs.js} +0 -0
  186. /package/dist/core/{Grayscale-DgXoUcmg.js → Grayscale-BC40hfXH.js} +0 -0
  187. /package/dist/core/{Grid-DwyhjFAT.js → Grid-Lc4S0Hmp.js} +0 -0
  188. /package/dist/core/{GridDistortion-DJ8S-96Y.js → GridDistortion-DQcPYbXS.js} +0 -0
  189. /package/dist/core/{Group-DmgNNlDd.js → Group-BeZhHbOT.js} +0 -0
  190. /package/dist/core/{Halftone-x9boWkFW.js → Halftone-CsblgxnY.js} +0 -0
  191. /package/dist/core/{HexGrid-BUsgyF8P.js → HexGrid-DWRNPMET.js} +0 -0
  192. /package/dist/core/{HueShift-D3_5D7jx.js → HueShift-C-p9W5sr.js} +0 -0
  193. /package/dist/core/{ImageTexture-6ZzBt79u.js → ImageTexture-bqgQxAt9.js} +0 -0
  194. /package/dist/core/{Invert-kXxY97QJ.js → Invert-D-RVP34v.js} +0 -0
  195. /package/dist/core/{Kaleidoscope-D4jRcZCt.js → Kaleidoscope-HQNQrRP_.js} +0 -0
  196. /package/dist/core/{LensFlare-D7vypE2Q.js → LensFlare-DtES749p.js} +0 -0
  197. /package/dist/core/{LinearBlur-2hspd2YP.js → LinearBlur-6mCJ9fY5.js} +0 -0
  198. /package/dist/core/{LinearGradient-glCc9IaB.js → LinearGradient-DIbCAHc7.js} +0 -0
  199. /package/dist/core/{Liquify-uZjs0wcu.js → Liquify-8dcdv2Sl.js} +0 -0
  200. /package/dist/core/{Marble-DkHLcqFD.js → Marble-DX29RG-p.js} +0 -0
  201. /package/dist/core/{Mirror-Dv5fOEp6.js → Mirror-BM2xf3Nr.js} +0 -0
  202. /package/dist/core/{MultiPointGradient-Dvt1GUiv.js → MultiPointGradient-BzM24vnR.js} +0 -0
  203. /package/dist/core/{Neon-DQDB7hAE.js → Neon-nPiMi3wt.js} +0 -0
  204. /package/dist/core/{Paper-DNP2-hPM.js → Paper-Ddpe8-EI.js} +0 -0
  205. /package/dist/core/{Perspective-CAIchX9p.js → Perspective-BIKpqd4H.js} +0 -0
  206. /package/dist/core/{Pixelate-BbT3Rrf2.js → Pixelate-Cp0-lwkG.js} +0 -0
  207. /package/dist/core/{Plasma-D9rhkH2y.js → Plasma-M--gLd1Q.js} +0 -0
  208. /package/dist/core/{PolarCoordinates-2RBCk-fo.js → PolarCoordinates-C42rlD2q.js} +0 -0
  209. /package/dist/core/{Polygon-C6_siOs0.js → Polygon-CKqH0ApY.js} +0 -0
  210. /package/dist/core/{Posterize-DNxTRgvF.js → Posterize-B6ZhRkH2.js} +0 -0
  211. /package/dist/core/{RadialGradient-CQIctl__.js → RadialGradient-SHxJ9ZNF.js} +0 -0
  212. /package/dist/core/{RectangularCoordinates-F2VzXmal.js → RectangularCoordinates-Dw6Xr9uV.js} +0 -0
  213. /package/dist/core/{Ring-UT__kmzY.js → Ring-V4sEHwwm.js} +0 -0
  214. /package/dist/core/{Ripples-CWVLSUP0.js → Ripples-DC1y3YuP.js} +0 -0
  215. /package/dist/core/{RoundedRect-BPWHTT1j.js → RoundedRect-JY2z6YEH.js} +0 -0
  216. /package/dist/core/{Saturation-DFOp2yD9.js → Saturation-ChJ9IWnl.js} +0 -0
  217. /package/dist/core/{Sharpness-PIWR4gYc.js → Sharpness-C1ufX8S-.js} +0 -0
  218. /package/dist/core/{Shatter-CUYQp-qy.js → Shatter-Du5THcwZ.js} +0 -0
  219. /package/dist/core/{SimplexNoise-LAxWw8fJ.js → SimplexNoise--vwIZVu0.js} +0 -0
  220. /package/dist/core/{SineWave-CEQWxC9Q.js → SineWave-BIVPG3oc.js} +0 -0
  221. /package/dist/core/{Smoke-DO4yylWk.js → Smoke-DSBQreo0.js} +0 -0
  222. /package/dist/core/{SmokeFill-Dm0sZS5F.js → SmokeFill-Dy-0kjsX.js} +0 -0
  223. /package/dist/core/{Solarize-mE7LU1li.js → Solarize-BymZlSu0.js} +0 -0
  224. /package/dist/core/{SolidColor-BljkSdvg.js → SolidColor-D8XC4aoJ.js} +0 -0
  225. /package/dist/core/{Spherize-DARagREe.js → Spherize-tRTB4WdO.js} +0 -0
  226. /package/dist/core/{Spiral-CumsIpkp.js → Spiral-CiDp2Tg2.js} +0 -0
  227. /package/dist/core/{Star-8fAlzR9L.js → Star-Cp4dt6Fl.js} +0 -0
  228. /package/dist/core/{Strands-BB4RIsFz.js → Strands-V3q8N-y1.js} +0 -0
  229. /package/dist/core/{Stretch-3S2atBkJ.js → Stretch-CTgtc3nG.js} +0 -0
  230. /package/dist/core/{Stripes-BGFVSZIt.js → Stripes-CZV6oGMy.js} +0 -0
  231. /package/dist/core/{StudioBackground-BtJ6b1Ki.js → StudioBackground-CWSHq6vE.js} +0 -0
  232. /package/dist/core/{SunBurst-BJRFFYhs.js → SunBurst-CskZwXc3.js} +0 -0
  233. /package/dist/core/{Swirl-fkUEZ2TQ.js → Swirl-CyGfVZ8n.js} +0 -0
  234. /package/dist/core/{Tint-W_EvzN1-.js → Tint-R7y5CJ4U.js} +0 -0
  235. /package/dist/core/{Trapezoid-cQzS6-bh.js → Trapezoid-BXzH--z9.js} +0 -0
  236. /package/dist/core/{Tritone-B3hI2nAi.js → Tritone-CF4Oj1sl.js} +0 -0
  237. /package/dist/core/{Truchet-s9PmowCP.js → Truchet-BL4jzZDX.js} +0 -0
  238. /package/dist/core/{Twirl-UDDXGkFl.js → Twirl-BVLPHKJD.js} +0 -0
  239. /package/dist/core/{VHS-DW1H7Wuy.js → VHS-B2IBdQgX.js} +0 -0
  240. /package/dist/core/{Vesica-ChQBYWuw.js → Vesica-DzIEa3aJ.js} +0 -0
  241. /package/dist/core/{Vibrance-DUj7hwzE.js → Vibrance-jrvT49Du.js} +0 -0
  242. /package/dist/core/{Vignette-F9yxi-UM.js → Vignette-ng_5gjXc.js} +0 -0
  243. /package/dist/core/{Voronoi-D8HHP_WR.js → Voronoi-C8iIU7AT.js} +0 -0
  244. /package/dist/core/{WaveDistortion-MbB-Kgjz.js → WaveDistortion-Crt9JSXN.js} +0 -0
  245. /package/dist/core/{Weave-ou5shgl3.js → Weave-CFmLkEaq.js} +0 -0
  246. /package/dist/core/{WorleyNoise-Uf6IPm7A.js → WorleyNoise-CEZiaVAN.js} +0 -0
  247. /package/dist/core/{ZoomBlur-DJ-RNKHM.js → ZoomBlur-DTVSwIvc.js} +0 -0
  248. /package/dist/core/{browser-NUM-x2tw.js → browser-CDogs09U.js} +0 -0
package/dist/registry.js CHANGED
@@ -7989,6 +7989,53 @@ export const shaderRegistry = [
7989
7989
  }
7990
7990
  }
7991
7991
  },
7992
+ {
7993
+ "name": "Exposure",
7994
+ "category": "Adjustments",
7995
+ "description": "Multiplicative exposure (gain) on the child. Unlike additive brightness, it scales values around black — blacks stay black while highlights can be pushed past 1.0 to feed HDR bloom and tone-mapping roll-off. Pointwise, so no extra render pass is needed.",
7996
+ "fileName": "Exposure",
7997
+ "requiresChild": true,
7998
+ "definition": {
7999
+ "name": "Exposure",
8000
+ "category": "Adjustments",
8001
+ "description": "Multiplicative exposure (gain) on the child. Unlike additive brightness, it scales values around black — blacks stay black while highlights can be pushed past 1.0 to feed HDR bloom and tone-mapping roll-off. Pointwise, so no extra render pass is needed.",
8002
+ "requiresChild": true,
8003
+ "props": {
8004
+ "exposure": {
8005
+ "default": 1,
8006
+ "description": "Brightness multiplier (gain). 1 = unchanged, >1 pushes highlights past white for HDR bloom, <1 darkens.",
8007
+ "ui": {
8008
+ "type": [
8009
+ "range",
8010
+ "map"
8011
+ ],
8012
+ "min": 0,
8013
+ "max": 8,
8014
+ "step": 0.1,
8015
+ "label": "Exposure",
8016
+ "group": "Appearance"
8017
+ }
8018
+ }
8019
+ }
8020
+ },
8021
+ "propsMetadata": {
8022
+ "exposure": {
8023
+ "ui": {
8024
+ "type": [
8025
+ "range",
8026
+ "map"
8027
+ ],
8028
+ "min": 0,
8029
+ "max": 8,
8030
+ "step": 0.1,
8031
+ "label": "Exposure",
8032
+ "group": "Appearance"
8033
+ },
8034
+ "default": 1,
8035
+ "description": "Brightness multiplier (gain). 1 = unchanged, >1 pushes highlights past white for HDR bloom, <1 darkens."
8036
+ }
8037
+ }
8038
+ },
7992
8039
  {
7993
8040
  "name": "FallingLines",
7994
8041
  "category": "Textures",
@@ -22661,6 +22708,549 @@ export const shaderRegistry = [
22661
22708
  }
22662
22709
  }
22663
22710
  },
22711
+ {
22712
+ "name": "ThinFilm",
22713
+ "category": "Shape Effects",
22714
+ "description": "Iridescent thin-film edge",
22715
+ "fileName": "ThinFilm",
22716
+ "definition": {
22717
+ "name": "ThinFilm",
22718
+ "category": "Shape Effects",
22719
+ "description": "Iridescent thin-film edge",
22720
+ "props": {
22721
+ "center": {
22722
+ "default": {
22723
+ "x": 0.5,
22724
+ "y": 0.5
22725
+ },
22726
+ "description": "Center position of the shape",
22727
+ "ui": {
22728
+ "type": "position",
22729
+ "label": "Center",
22730
+ "group": "Position"
22731
+ }
22732
+ },
22733
+ "scale": {
22734
+ "default": 1,
22735
+ "description": "Scale of the shape (1 = default size)",
22736
+ "ui": {
22737
+ "type": [
22738
+ "range",
22739
+ "map"
22740
+ ],
22741
+ "min": 0.1,
22742
+ "max": 3,
22743
+ "step": 0.05,
22744
+ "label": "Scale",
22745
+ "group": "Position"
22746
+ }
22747
+ },
22748
+ "intensity": {
22749
+ "default": 1,
22750
+ "description": "Rim brightness — values above 1 push the edge past white for HDR bloom",
22751
+ "ui": {
22752
+ "type": [
22753
+ "range",
22754
+ "map"
22755
+ ],
22756
+ "min": 0,
22757
+ "max": 4,
22758
+ "step": 0.05,
22759
+ "label": "Intensity",
22760
+ "group": "Film"
22761
+ }
22762
+ },
22763
+ "rimWidth": {
22764
+ "default": 1,
22765
+ "description": "How far inward from the edge the iridescence reaches",
22766
+ "ui": {
22767
+ "type": [
22768
+ "range",
22769
+ "map"
22770
+ ],
22771
+ "min": 0,
22772
+ "max": 3,
22773
+ "step": 0.01,
22774
+ "label": "Rim Width",
22775
+ "group": "Film"
22776
+ }
22777
+ },
22778
+ "edgeSoftness": {
22779
+ "default": 0.3,
22780
+ "description": "Softness of the shape boundary",
22781
+ "ui": {
22782
+ "type": [
22783
+ "range",
22784
+ "map"
22785
+ ],
22786
+ "min": 0,
22787
+ "max": 1,
22788
+ "step": 0.05,
22789
+ "label": "Edge Softness",
22790
+ "group": "Film"
22791
+ }
22792
+ },
22793
+ "thickness": {
22794
+ "default": 0.5,
22795
+ "description": "Film thickness — higher values pack more spectral bands across the rim",
22796
+ "ui": {
22797
+ "type": [
22798
+ "range",
22799
+ "map"
22800
+ ],
22801
+ "min": 0,
22802
+ "max": 1,
22803
+ "step": 0.01,
22804
+ "label": "Thickness",
22805
+ "group": "Film"
22806
+ }
22807
+ },
22808
+ "dispersion": {
22809
+ "default": 0.5,
22810
+ "description": "How strongly colour separates around the perimeter (warm vs cool sides)",
22811
+ "ui": {
22812
+ "type": [
22813
+ "range",
22814
+ "map"
22815
+ ],
22816
+ "min": 0,
22817
+ "max": 1,
22818
+ "step": 0.01,
22819
+ "label": "Dispersion",
22820
+ "group": "Film"
22821
+ }
22822
+ },
22823
+ "saturation": {
22824
+ "default": 1,
22825
+ "description": "Spectral saturation — 0 = white rim, 1 = full iridescence",
22826
+ "ui": {
22827
+ "type": [
22828
+ "range",
22829
+ "map"
22830
+ ],
22831
+ "min": 0,
22832
+ "max": 1,
22833
+ "step": 0.01,
22834
+ "label": "Saturation",
22835
+ "group": "Film"
22836
+ }
22837
+ },
22838
+ "hueShift": {
22839
+ "default": 0,
22840
+ "description": "Rotate the spectrum to reposition the colours",
22841
+ "ui": {
22842
+ "type": [
22843
+ "range",
22844
+ "map"
22845
+ ],
22846
+ "min": 0,
22847
+ "max": 1,
22848
+ "step": 0.01,
22849
+ "label": "Hue Shift",
22850
+ "group": "Film"
22851
+ }
22852
+ },
22853
+ "lightAngle": {
22854
+ "default": 300,
22855
+ "description": "Light angle in degrees — sets which side of the rim runs warm vs cool",
22856
+ "ui": {
22857
+ "type": "range",
22858
+ "min": 0,
22859
+ "max": 360,
22860
+ "step": 1,
22861
+ "label": "Light Angle",
22862
+ "group": "Film"
22863
+ }
22864
+ },
22865
+ "mode": {
22866
+ "default": "rainbow",
22867
+ "compileTime": true,
22868
+ "description": "Rainbow uses the full iridescent spectrum; Custom cycles through your three chosen colours",
22869
+ "ui": {
22870
+ "type": "select",
22871
+ "options": [
22872
+ {
22873
+ "label": "Rainbow",
22874
+ "value": "rainbow"
22875
+ },
22876
+ {
22877
+ "label": "Custom",
22878
+ "value": "custom"
22879
+ }
22880
+ ],
22881
+ "label": "Mode",
22882
+ "group": "Colors"
22883
+ }
22884
+ },
22885
+ "colorA": {
22886
+ "default": "#2b6fff",
22887
+ "description": "First colour in the rim cycle",
22888
+ "ui": {
22889
+ "type": "color",
22890
+ "label": "Color 1",
22891
+ "group": "Colors",
22892
+ "condition": {
22893
+ "mode": "custom"
22894
+ }
22895
+ }
22896
+ },
22897
+ "colorB": {
22898
+ "default": "#ffffff",
22899
+ "description": "Second colour in the rim cycle",
22900
+ "ui": {
22901
+ "type": "color",
22902
+ "label": "Color 2",
22903
+ "group": "Colors",
22904
+ "condition": {
22905
+ "mode": "custom"
22906
+ }
22907
+ }
22908
+ },
22909
+ "colorC": {
22910
+ "default": "#ff7a21",
22911
+ "description": "Third colour in the rim cycle",
22912
+ "ui": {
22913
+ "type": "color",
22914
+ "label": "Color 3",
22915
+ "group": "Colors",
22916
+ "condition": {
22917
+ "mode": "custom"
22918
+ }
22919
+ }
22920
+ },
22921
+ "colorSpace": {
22922
+ "default": "oklch",
22923
+ "compileTime": true,
22924
+ "description": "Colour space used to blend between custom colours",
22925
+ "ui": {
22926
+ "type": "select",
22927
+ "options": [
22928
+ {
22929
+ "label": "Linear RGB",
22930
+ "value": "linear"
22931
+ },
22932
+ {
22933
+ "label": "OKLCh",
22934
+ "value": "oklch"
22935
+ },
22936
+ {
22937
+ "label": "OKLAB",
22938
+ "value": "oklab"
22939
+ },
22940
+ {
22941
+ "label": "HSL",
22942
+ "value": "hsl"
22943
+ },
22944
+ {
22945
+ "label": "HSV",
22946
+ "value": "hsv"
22947
+ },
22948
+ {
22949
+ "label": "LCH",
22950
+ "value": "lch"
22951
+ }
22952
+ ],
22953
+ "label": "Color Space",
22954
+ "group": "Colors",
22955
+ "condition": {
22956
+ "mode": "custom"
22957
+ }
22958
+ }
22959
+ },
22960
+ "speed": {
22961
+ "default": 0.1,
22962
+ "description": "Speed at which the colours rotate around the rim (0 = static)",
22963
+ "ui": {
22964
+ "type": "range",
22965
+ "min": -1,
22966
+ "max": 1,
22967
+ "step": 0.01,
22968
+ "label": "Speed",
22969
+ "group": "Animation"
22970
+ }
22971
+ },
22972
+ "shape": {
22973
+ "default": "{\"type\":\"circleSDF\",\"radius\":0.35}",
22974
+ "description": "Serialized shape configuration (JSON)",
22975
+ "ui": {
22976
+ "type": "shape",
22977
+ "label": "Shape",
22978
+ "group": "Shape"
22979
+ }
22980
+ },
22981
+ "shapeSdfUrl": {
22982
+ "default": "",
22983
+ "compileTime": true,
22984
+ "description": "URL to a pre-generated SDF .bin file — when non-empty, activates SVG mode and triggers a shader recompile"
22985
+ },
22986
+ "shapeType": {
22987
+ "default": "",
22988
+ "compileTime": true,
22989
+ "description": "Active SDF shape type — triggers recompile when shape is switched. When empty, derived from shape JSON at mount time."
22990
+ }
22991
+ }
22992
+ },
22993
+ "propsMetadata": {
22994
+ "center": {
22995
+ "ui": {
22996
+ "type": "position",
22997
+ "label": "Center",
22998
+ "group": "Position"
22999
+ },
23000
+ "default": {
23001
+ "x": 0.5,
23002
+ "y": 0.5
23003
+ },
23004
+ "description": "Center position of the shape"
23005
+ },
23006
+ "scale": {
23007
+ "ui": {
23008
+ "type": [
23009
+ "range",
23010
+ "map"
23011
+ ],
23012
+ "min": 0.1,
23013
+ "max": 3,
23014
+ "step": 0.05,
23015
+ "label": "Scale",
23016
+ "group": "Position"
23017
+ },
23018
+ "default": 1,
23019
+ "description": "Scale of the shape (1 = default size)"
23020
+ },
23021
+ "intensity": {
23022
+ "ui": {
23023
+ "type": [
23024
+ "range",
23025
+ "map"
23026
+ ],
23027
+ "min": 0,
23028
+ "max": 4,
23029
+ "step": 0.05,
23030
+ "label": "Intensity",
23031
+ "group": "Film"
23032
+ },
23033
+ "default": 1,
23034
+ "description": "Rim brightness — values above 1 push the edge past white for HDR bloom"
23035
+ },
23036
+ "rimWidth": {
23037
+ "ui": {
23038
+ "type": [
23039
+ "range",
23040
+ "map"
23041
+ ],
23042
+ "min": 0,
23043
+ "max": 3,
23044
+ "step": 0.01,
23045
+ "label": "Rim Width",
23046
+ "group": "Film"
23047
+ },
23048
+ "default": 1,
23049
+ "description": "How far inward from the edge the iridescence reaches"
23050
+ },
23051
+ "edgeSoftness": {
23052
+ "ui": {
23053
+ "type": [
23054
+ "range",
23055
+ "map"
23056
+ ],
23057
+ "min": 0,
23058
+ "max": 1,
23059
+ "step": 0.05,
23060
+ "label": "Edge Softness",
23061
+ "group": "Film"
23062
+ },
23063
+ "default": 0.3,
23064
+ "description": "Softness of the shape boundary"
23065
+ },
23066
+ "thickness": {
23067
+ "ui": {
23068
+ "type": [
23069
+ "range",
23070
+ "map"
23071
+ ],
23072
+ "min": 0,
23073
+ "max": 1,
23074
+ "step": 0.01,
23075
+ "label": "Thickness",
23076
+ "group": "Film"
23077
+ },
23078
+ "default": 0.5,
23079
+ "description": "Film thickness — higher values pack more spectral bands across the rim"
23080
+ },
23081
+ "dispersion": {
23082
+ "ui": {
23083
+ "type": [
23084
+ "range",
23085
+ "map"
23086
+ ],
23087
+ "min": 0,
23088
+ "max": 1,
23089
+ "step": 0.01,
23090
+ "label": "Dispersion",
23091
+ "group": "Film"
23092
+ },
23093
+ "default": 0.5,
23094
+ "description": "How strongly colour separates around the perimeter (warm vs cool sides)"
23095
+ },
23096
+ "saturation": {
23097
+ "ui": {
23098
+ "type": [
23099
+ "range",
23100
+ "map"
23101
+ ],
23102
+ "min": 0,
23103
+ "max": 1,
23104
+ "step": 0.01,
23105
+ "label": "Saturation",
23106
+ "group": "Film"
23107
+ },
23108
+ "default": 1,
23109
+ "description": "Spectral saturation — 0 = white rim, 1 = full iridescence"
23110
+ },
23111
+ "hueShift": {
23112
+ "ui": {
23113
+ "type": [
23114
+ "range",
23115
+ "map"
23116
+ ],
23117
+ "min": 0,
23118
+ "max": 1,
23119
+ "step": 0.01,
23120
+ "label": "Hue Shift",
23121
+ "group": "Film"
23122
+ },
23123
+ "default": 0,
23124
+ "description": "Rotate the spectrum to reposition the colours"
23125
+ },
23126
+ "lightAngle": {
23127
+ "ui": {
23128
+ "type": "range",
23129
+ "min": 0,
23130
+ "max": 360,
23131
+ "step": 1,
23132
+ "label": "Light Angle",
23133
+ "group": "Film"
23134
+ },
23135
+ "default": 300,
23136
+ "description": "Light angle in degrees — sets which side of the rim runs warm vs cool"
23137
+ },
23138
+ "mode": {
23139
+ "ui": {
23140
+ "type": "select",
23141
+ "options": [
23142
+ {
23143
+ "label": "Rainbow",
23144
+ "value": "rainbow"
23145
+ },
23146
+ {
23147
+ "label": "Custom",
23148
+ "value": "custom"
23149
+ }
23150
+ ],
23151
+ "label": "Mode",
23152
+ "group": "Colors"
23153
+ },
23154
+ "default": "rainbow",
23155
+ "description": "Rainbow uses the full iridescent spectrum; Custom cycles through your three chosen colours"
23156
+ },
23157
+ "colorA": {
23158
+ "ui": {
23159
+ "type": "color",
23160
+ "label": "Color 1",
23161
+ "group": "Colors",
23162
+ "condition": {
23163
+ "mode": "custom"
23164
+ }
23165
+ },
23166
+ "default": "#2b6fff",
23167
+ "description": "First colour in the rim cycle"
23168
+ },
23169
+ "colorB": {
23170
+ "ui": {
23171
+ "type": "color",
23172
+ "label": "Color 2",
23173
+ "group": "Colors",
23174
+ "condition": {
23175
+ "mode": "custom"
23176
+ }
23177
+ },
23178
+ "default": "#ffffff",
23179
+ "description": "Second colour in the rim cycle"
23180
+ },
23181
+ "colorC": {
23182
+ "ui": {
23183
+ "type": "color",
23184
+ "label": "Color 3",
23185
+ "group": "Colors",
23186
+ "condition": {
23187
+ "mode": "custom"
23188
+ }
23189
+ },
23190
+ "default": "#ff7a21",
23191
+ "description": "Third colour in the rim cycle"
23192
+ },
23193
+ "colorSpace": {
23194
+ "ui": {
23195
+ "type": "select",
23196
+ "options": [
23197
+ {
23198
+ "label": "Linear RGB",
23199
+ "value": "linear"
23200
+ },
23201
+ {
23202
+ "label": "OKLCh",
23203
+ "value": "oklch"
23204
+ },
23205
+ {
23206
+ "label": "OKLAB",
23207
+ "value": "oklab"
23208
+ },
23209
+ {
23210
+ "label": "HSL",
23211
+ "value": "hsl"
23212
+ },
23213
+ {
23214
+ "label": "HSV",
23215
+ "value": "hsv"
23216
+ },
23217
+ {
23218
+ "label": "LCH",
23219
+ "value": "lch"
23220
+ }
23221
+ ],
23222
+ "label": "Color Space",
23223
+ "group": "Colors",
23224
+ "condition": {
23225
+ "mode": "custom"
23226
+ }
23227
+ },
23228
+ "default": "oklch",
23229
+ "description": "Colour space used to blend between custom colours"
23230
+ },
23231
+ "speed": {
23232
+ "ui": {
23233
+ "type": "range",
23234
+ "min": -1,
23235
+ "max": 1,
23236
+ "step": 0.01,
23237
+ "label": "Speed",
23238
+ "group": "Animation"
23239
+ },
23240
+ "default": 0.1,
23241
+ "description": "Speed at which the colours rotate around the rim (0 = static)"
23242
+ },
23243
+ "shape": {
23244
+ "ui": {
23245
+ "type": "shape",
23246
+ "label": "Shape",
23247
+ "group": "Shape"
23248
+ },
23249
+ "default": "{\"type\":\"circleSDF\",\"radius\":0.35}",
23250
+ "description": "Serialized shape configuration (JSON)"
23251
+ }
23252
+ }
23253
+ },
22664
23254
  {
22665
23255
  "name": "TiltShift",
22666
23256
  "category": "Blurs",
@@ -0,0 +1,30 @@
1
+ import { JSX } from 'solid-js';
2
+ import { BlendMode, PropDriver, TransformConfig } from '../../core';
3
+ import { ComponentProps } from '../../core/shaders/Exposure';
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<Omit<ComponentProps, 'exposure'>> & {
24
+ exposure?: ComponentProps['exposure'] | PropDriver;
25
+ };
26
+ /**
27
+ * The main Solid wrapper component for Shader shader nodes
28
+ */
29
+ export default function ShaderComponent(props: ShaderComponentProps): JSX.Element;
30
+ //# sourceMappingURL=Exposure.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Exposure.d.ts","sourceRoot":"","sources":["../../src/components/Exposure.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0F,KAAK,GAAG,EAAE,MAAM,UAAU,CAAC;AAE5H,OAAO,EAGH,KAAK,SAAS,EAId,KAAK,UAAU,EACf,KAAK,eAAe,EACvB,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAuB,KAAK,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAGjF,YAAY,EAAE,cAAc,EAAE,CAAC;AAY/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;AAOD;;;GAGG;AACH,KAAK,oBAAoB,GAAG,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,cAAc,EAAE,UAAU,CAAC,CAAC,GAAG;IACxF,QAAQ,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,GAAG,UAAU,CAAC;CACpD,CAAC;AAmCF;;GAEG;AACH,MAAM,CAAC,OAAO,UAAU,eAAe,CAAC,KAAK,EAAE,oBAAoB,eA8NlE"}