@motionscript/core 0.1.0-alpha.7 → 0.1.0-alpha.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.
Files changed (498) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/NOTICE +15 -14
  3. package/README.md +4 -4
  4. package/dist/assets/manager.d.ts.map +1 -1
  5. package/dist/assets/manager.js +7 -5
  6. package/dist/assets/manager.js.map +1 -1
  7. package/dist/attributes/audio/effects/chain.d.ts +73 -0
  8. package/dist/attributes/audio/effects/chain.d.ts.map +1 -0
  9. package/dist/attributes/audio/effects/chain.js +67 -0
  10. package/dist/attributes/audio/effects/chain.js.map +1 -0
  11. package/dist/attributes/audio/effects/implementations/echo.d.ts +14 -0
  12. package/dist/attributes/audio/effects/implementations/echo.d.ts.map +1 -0
  13. package/dist/attributes/audio/effects/implementations/echo.js +11 -0
  14. package/dist/attributes/audio/effects/implementations/echo.js.map +1 -0
  15. package/dist/attributes/audio/effects/implementations/gain.d.ts +10 -0
  16. package/dist/attributes/audio/effects/implementations/gain.d.ts.map +1 -0
  17. package/dist/attributes/audio/effects/implementations/gain.js +6 -0
  18. package/dist/attributes/audio/effects/implementations/gain.js.map +1 -0
  19. package/dist/attributes/audio/effects/implementations/highpass.d.ts +12 -0
  20. package/dist/attributes/audio/effects/implementations/highpass.d.ts.map +1 -0
  21. package/dist/attributes/audio/effects/implementations/highpass.js +10 -0
  22. package/dist/attributes/audio/effects/implementations/highpass.js.map +1 -0
  23. package/dist/attributes/audio/effects/implementations/lowpass.d.ts +12 -0
  24. package/dist/attributes/audio/effects/implementations/lowpass.d.ts.map +1 -0
  25. package/dist/attributes/audio/effects/implementations/lowpass.js +10 -0
  26. package/dist/attributes/audio/effects/implementations/lowpass.js.map +1 -0
  27. package/dist/attributes/audio/effects/implementations/tremolo.d.ts +12 -0
  28. package/dist/attributes/audio/effects/implementations/tremolo.d.ts.map +1 -0
  29. package/dist/attributes/audio/effects/implementations/tremolo.js +10 -0
  30. package/dist/attributes/audio/effects/implementations/tremolo.js.map +1 -0
  31. package/dist/attributes/audio/effects/index.d.ts +12 -0
  32. package/dist/attributes/audio/effects/index.d.ts.map +1 -0
  33. package/dist/attributes/audio/effects/index.js +4 -0
  34. package/dist/attributes/audio/effects/index.js.map +1 -0
  35. package/dist/attributes/audio/effects/registry.d.ts +36 -0
  36. package/dist/attributes/audio/effects/registry.d.ts.map +1 -0
  37. package/dist/attributes/audio/effects/registry.js +80 -0
  38. package/dist/attributes/audio/effects/registry.js.map +1 -0
  39. package/dist/attributes/audio/effects/union.d.ts +14 -0
  40. package/dist/attributes/audio/effects/union.d.ts.map +1 -0
  41. package/dist/attributes/audio/effects/union.js +24 -0
  42. package/dist/attributes/audio/effects/union.js.map +1 -0
  43. package/dist/attributes/audio/ramp.d.ts +103 -0
  44. package/dist/attributes/audio/ramp.d.ts.map +1 -0
  45. package/dist/attributes/audio/ramp.js +246 -0
  46. package/dist/attributes/audio/ramp.js.map +1 -0
  47. package/dist/attributes/audio/request.d.ts +24 -13
  48. package/dist/attributes/audio/request.d.ts.map +1 -1
  49. package/dist/attributes/audio/request.js +4 -3
  50. package/dist/attributes/audio/request.js.map +1 -1
  51. package/dist/attributes/audio/schedule.d.ts +21 -13
  52. package/dist/attributes/audio/schedule.d.ts.map +1 -1
  53. package/dist/attributes/audio/schedule.js +42 -28
  54. package/dist/attributes/audio/schedule.js.map +1 -1
  55. package/dist/attributes/audio/sound.d.ts +15 -12
  56. package/dist/attributes/audio/sound.d.ts.map +1 -1
  57. package/dist/attributes/audio/sound.js +8 -10
  58. package/dist/attributes/audio/sound.js.map +1 -1
  59. package/dist/attributes/audio/transition.d.ts +33 -0
  60. package/dist/attributes/audio/transition.d.ts.map +1 -0
  61. package/dist/attributes/audio/transition.js +48 -0
  62. package/dist/attributes/audio/transition.js.map +1 -0
  63. package/dist/attributes/index.d.ts +4 -3
  64. package/dist/attributes/index.d.ts.map +1 -1
  65. package/dist/attributes/index.js +4 -7
  66. package/dist/attributes/index.js.map +1 -1
  67. package/dist/attributes/layout/matrix2d.d.ts +2 -2
  68. package/dist/attributes/layout/matrix2d.js.map +1 -1
  69. package/dist/attributes/layout/space3d.js +1 -1
  70. package/dist/attributes/layout/space3d.js.map +1 -1
  71. package/dist/attributes/properties/typed.d.ts +7 -7
  72. package/dist/attributes/properties/typed.d.ts.map +1 -1
  73. package/dist/attributes/properties/typed.js +6 -6
  74. package/dist/attributes/properties/typed.js.map +1 -1
  75. package/dist/attributes/shape/corners/corner-radius.d.ts +1 -2
  76. package/dist/attributes/shape/corners/corner-radius.d.ts.map +1 -1
  77. package/dist/attributes/shape/corners/corner-radius.js +1 -2
  78. package/dist/attributes/shape/corners/corner-radius.js.map +1 -1
  79. package/dist/attributes/shape/effects/chain.d.ts +96 -409
  80. package/dist/attributes/shape/effects/chain.d.ts.map +1 -1
  81. package/dist/attributes/shape/effects/chain.js +93 -283
  82. package/dist/attributes/shape/effects/chain.js.map +1 -1
  83. package/dist/attributes/shape/effects/effect-data.d.ts +1 -1
  84. package/dist/attributes/shape/effects/effect-data.js.map +1 -1
  85. package/dist/attributes/shape/effects/implementations/ascii.d.ts +45 -13
  86. package/dist/attributes/shape/effects/implementations/ascii.d.ts.map +1 -1
  87. package/dist/attributes/shape/effects/implementations/ascii.js +29 -23
  88. package/dist/attributes/shape/effects/implementations/ascii.js.map +1 -1
  89. package/dist/attributes/shape/effects/implementations/bit-crush.d.ts +32 -7
  90. package/dist/attributes/shape/effects/implementations/bit-crush.d.ts.map +1 -1
  91. package/dist/attributes/shape/effects/implementations/bit-crush.js +17 -15
  92. package/dist/attributes/shape/effects/implementations/bit-crush.js.map +1 -1
  93. package/dist/attributes/shape/effects/implementations/block-displace.d.ts +46 -10
  94. package/dist/attributes/shape/effects/implementations/block-displace.d.ts.map +1 -1
  95. package/dist/attributes/shape/effects/implementations/block-displace.js +21 -19
  96. package/dist/attributes/shape/effects/implementations/block-displace.js.map +1 -1
  97. package/dist/attributes/shape/effects/implementations/bloom.d.ts +32 -7
  98. package/dist/attributes/shape/effects/implementations/bloom.d.ts.map +1 -1
  99. package/dist/attributes/shape/effects/implementations/bloom.js +17 -11
  100. package/dist/attributes/shape/effects/implementations/bloom.js.map +1 -1
  101. package/dist/attributes/shape/effects/implementations/blur.d.ts +16 -3
  102. package/dist/attributes/shape/effects/implementations/blur.d.ts.map +1 -1
  103. package/dist/attributes/shape/effects/implementations/blur.js +13 -5
  104. package/dist/attributes/shape/effects/implementations/blur.js.map +1 -1
  105. package/dist/attributes/shape/effects/implementations/bulge.d.ts +28 -9
  106. package/dist/attributes/shape/effects/implementations/bulge.d.ts.map +1 -1
  107. package/dist/attributes/shape/effects/implementations/bulge.js +15 -14
  108. package/dist/attributes/shape/effects/implementations/bulge.js.map +1 -1
  109. package/dist/attributes/shape/effects/implementations/chromatic-aberration.d.ts +21 -5
  110. package/dist/attributes/shape/effects/implementations/chromatic-aberration.d.ts.map +1 -1
  111. package/dist/attributes/shape/effects/implementations/chromatic-aberration.js +15 -10
  112. package/dist/attributes/shape/effects/implementations/chromatic-aberration.js.map +1 -1
  113. package/dist/attributes/shape/effects/implementations/color-adjustment.d.ts +96 -26
  114. package/dist/attributes/shape/effects/implementations/color-adjustment.d.ts.map +1 -1
  115. package/dist/attributes/shape/effects/implementations/color-adjustment.js +29 -26
  116. package/dist/attributes/shape/effects/implementations/color-adjustment.js.map +1 -1
  117. package/dist/attributes/shape/effects/implementations/curves.d.ts +20 -6
  118. package/dist/attributes/shape/effects/implementations/curves.d.ts.map +1 -1
  119. package/dist/attributes/shape/effects/implementations/curves.js +26 -23
  120. package/dist/attributes/shape/effects/implementations/curves.js.map +1 -1
  121. package/dist/attributes/shape/effects/implementations/directional-blur.d.ts +26 -5
  122. package/dist/attributes/shape/effects/implementations/directional-blur.d.ts.map +1 -1
  123. package/dist/attributes/shape/effects/implementations/directional-blur.js +15 -10
  124. package/dist/attributes/shape/effects/implementations/directional-blur.js.map +1 -1
  125. package/dist/attributes/shape/effects/implementations/dither.d.ts +58 -11
  126. package/dist/attributes/shape/effects/implementations/dither.d.ts.map +1 -1
  127. package/dist/attributes/shape/effects/implementations/dither.js +26 -20
  128. package/dist/attributes/shape/effects/implementations/dither.js.map +1 -1
  129. package/dist/attributes/shape/effects/implementations/drop-shadow.d.ts +46 -14
  130. package/dist/attributes/shape/effects/implementations/drop-shadow.d.ts.map +1 -1
  131. package/dist/attributes/shape/effects/implementations/drop-shadow.js +24 -29
  132. package/dist/attributes/shape/effects/implementations/drop-shadow.js.map +1 -1
  133. package/dist/attributes/shape/effects/implementations/duotone.d.ts +26 -7
  134. package/dist/attributes/shape/effects/implementations/duotone.d.ts.map +1 -1
  135. package/dist/attributes/shape/effects/implementations/duotone.js +17 -16
  136. package/dist/attributes/shape/effects/implementations/duotone.js.map +1 -1
  137. package/dist/attributes/shape/effects/implementations/edges.d.ts +29 -7
  138. package/dist/attributes/shape/effects/implementations/edges.d.ts.map +1 -1
  139. package/dist/attributes/shape/effects/implementations/edges.js +17 -14
  140. package/dist/attributes/shape/effects/implementations/edges.js.map +1 -1
  141. package/dist/attributes/shape/effects/implementations/glass.d.ts +76 -19
  142. package/dist/attributes/shape/effects/implementations/glass.d.ts.map +1 -1
  143. package/dist/attributes/shape/effects/implementations/glass.js +28 -22
  144. package/dist/attributes/shape/effects/implementations/glass.js.map +1 -1
  145. package/dist/attributes/shape/effects/implementations/glow.d.ts +149 -42
  146. package/dist/attributes/shape/effects/implementations/glow.d.ts.map +1 -1
  147. package/dist/attributes/shape/effects/implementations/glow.js +74 -72
  148. package/dist/attributes/shape/effects/implementations/glow.js.map +1 -1
  149. package/dist/attributes/shape/effects/implementations/grain.d.ts +43 -11
  150. package/dist/attributes/shape/effects/implementations/grain.d.ts.map +1 -1
  151. package/dist/attributes/shape/effects/implementations/grain.js +21 -18
  152. package/dist/attributes/shape/effects/implementations/grain.js.map +1 -1
  153. package/dist/attributes/shape/effects/implementations/grayscale.d.ts +17 -3
  154. package/dist/attributes/shape/effects/implementations/grayscale.d.ts.map +1 -1
  155. package/dist/attributes/shape/effects/implementations/grayscale.js +13 -5
  156. package/dist/attributes/shape/effects/implementations/grayscale.js.map +1 -1
  157. package/dist/attributes/shape/effects/implementations/halftone.d.ts +40 -9
  158. package/dist/attributes/shape/effects/implementations/halftone.d.ts.map +1 -1
  159. package/dist/attributes/shape/effects/implementations/halftone.js +20 -16
  160. package/dist/attributes/shape/effects/implementations/halftone.js.map +1 -1
  161. package/dist/attributes/shape/effects/implementations/invert.d.ts +23 -5
  162. package/dist/attributes/shape/effects/implementations/invert.d.ts.map +1 -1
  163. package/dist/attributes/shape/effects/implementations/invert.js +15 -10
  164. package/dist/attributes/shape/effects/implementations/invert.js.map +1 -1
  165. package/dist/attributes/shape/effects/implementations/kaleidoscope.d.ts +57 -18
  166. package/dist/attributes/shape/effects/implementations/kaleidoscope.d.ts.map +1 -1
  167. package/dist/attributes/shape/effects/implementations/kaleidoscope.js +25 -22
  168. package/dist/attributes/shape/effects/implementations/kaleidoscope.js.map +1 -1
  169. package/dist/attributes/shape/effects/implementations/lut.d.ts +34 -7
  170. package/dist/attributes/shape/effects/implementations/lut.d.ts.map +1 -1
  171. package/dist/attributes/shape/effects/implementations/lut.js +20 -16
  172. package/dist/attributes/shape/effects/implementations/lut.js.map +1 -1
  173. package/dist/attributes/shape/effects/implementations/magnify.d.ts +27 -9
  174. package/dist/attributes/shape/effects/implementations/magnify.d.ts.map +1 -1
  175. package/dist/attributes/shape/effects/implementations/magnify.js +17 -14
  176. package/dist/attributes/shape/effects/implementations/magnify.js.map +1 -1
  177. package/dist/attributes/shape/effects/implementations/motion-blur.d.ts +54 -19
  178. package/dist/attributes/shape/effects/implementations/motion-blur.d.ts.map +1 -1
  179. package/dist/attributes/shape/effects/implementations/motion-blur.js +42 -20
  180. package/dist/attributes/shape/effects/implementations/motion-blur.js.map +1 -1
  181. package/dist/attributes/shape/effects/implementations/oil-paint.d.ts +17 -3
  182. package/dist/attributes/shape/effects/implementations/oil-paint.d.ts.map +1 -1
  183. package/dist/attributes/shape/effects/implementations/oil-paint.js +13 -9
  184. package/dist/attributes/shape/effects/implementations/oil-paint.js.map +1 -1
  185. package/dist/attributes/shape/effects/implementations/outline.d.ts +28 -8
  186. package/dist/attributes/shape/effects/implementations/outline.d.ts.map +1 -1
  187. package/dist/attributes/shape/effects/implementations/outline.js +18 -17
  188. package/dist/attributes/shape/effects/implementations/outline.js.map +1 -1
  189. package/dist/attributes/shape/effects/implementations/pixelate.d.ts +25 -6
  190. package/dist/attributes/shape/effects/implementations/pixelate.d.ts.map +1 -1
  191. package/dist/attributes/shape/effects/implementations/pixelate.js +16 -14
  192. package/dist/attributes/shape/effects/implementations/pixelate.js.map +1 -1
  193. package/dist/attributes/shape/effects/implementations/posterize.d.ts +14 -3
  194. package/dist/attributes/shape/effects/implementations/posterize.d.ts.map +1 -1
  195. package/dist/attributes/shape/effects/implementations/posterize.js +13 -9
  196. package/dist/attributes/shape/effects/implementations/posterize.js.map +1 -1
  197. package/dist/attributes/shape/effects/implementations/progressive-blur.d.ts +91 -26
  198. package/dist/attributes/shape/effects/implementations/progressive-blur.d.ts.map +1 -1
  199. package/dist/attributes/shape/effects/implementations/progressive-blur.js +27 -28
  200. package/dist/attributes/shape/effects/implementations/progressive-blur.js.map +1 -1
  201. package/dist/attributes/shape/effects/implementations/radial-blur.d.ts +49 -10
  202. package/dist/attributes/shape/effects/implementations/radial-blur.d.ts.map +1 -1
  203. package/dist/attributes/shape/effects/implementations/radial-blur.js +19 -20
  204. package/dist/attributes/shape/effects/implementations/radial-blur.js.map +1 -1
  205. package/dist/attributes/shape/effects/implementations/rgb-shift.d.ts +36 -6
  206. package/dist/attributes/shape/effects/implementations/rgb-shift.d.ts.map +1 -1
  207. package/dist/attributes/shape/effects/implementations/rgb-shift.js +16 -15
  208. package/dist/attributes/shape/effects/implementations/rgb-shift.js.map +1 -1
  209. package/dist/attributes/shape/effects/implementations/scanlines.d.ts +52 -11
  210. package/dist/attributes/shape/effects/implementations/scanlines.d.ts.map +1 -1
  211. package/dist/attributes/shape/effects/implementations/scanlines.js +21 -18
  212. package/dist/attributes/shape/effects/implementations/scanlines.js.map +1 -1
  213. package/dist/attributes/shape/effects/implementations/scatter.d.ts +23 -9
  214. package/dist/attributes/shape/effects/implementations/scatter.d.ts.map +1 -1
  215. package/dist/attributes/shape/effects/implementations/scatter.js +15 -12
  216. package/dist/attributes/shape/effects/implementations/scatter.js.map +1 -1
  217. package/dist/attributes/shape/effects/implementations/shader.d.ts +90 -34
  218. package/dist/attributes/shape/effects/implementations/shader.d.ts.map +1 -1
  219. package/dist/attributes/shape/effects/implementations/shader.js +42 -26
  220. package/dist/attributes/shape/effects/implementations/shader.js.map +1 -1
  221. package/dist/attributes/shape/effects/implementations/sharpen.d.ts +23 -5
  222. package/dist/attributes/shape/effects/implementations/sharpen.d.ts.map +1 -1
  223. package/dist/attributes/shape/effects/implementations/sharpen.js +16 -11
  224. package/dist/attributes/shape/effects/implementations/sharpen.js.map +1 -1
  225. package/dist/attributes/shape/effects/implementations/streak.d.ts +40 -9
  226. package/dist/attributes/shape/effects/implementations/streak.d.ts.map +1 -1
  227. package/dist/attributes/shape/effects/implementations/streak.js +19 -16
  228. package/dist/attributes/shape/effects/implementations/streak.js.map +1 -1
  229. package/dist/attributes/shape/effects/implementations/threshold.d.ts +24 -5
  230. package/dist/attributes/shape/effects/implementations/threshold.d.ts.map +1 -1
  231. package/dist/attributes/shape/effects/implementations/threshold.js +17 -11
  232. package/dist/attributes/shape/effects/implementations/threshold.js.map +1 -1
  233. package/dist/attributes/shape/effects/implementations/twirl.d.ts +35 -8
  234. package/dist/attributes/shape/effects/implementations/twirl.d.ts.map +1 -1
  235. package/dist/attributes/shape/effects/implementations/twirl.js +17 -16
  236. package/dist/attributes/shape/effects/implementations/twirl.js.map +1 -1
  237. package/dist/attributes/shape/effects/implementations/vignette.d.ts +37 -7
  238. package/dist/attributes/shape/effects/implementations/vignette.d.ts.map +1 -1
  239. package/dist/attributes/shape/effects/implementations/vignette.js +19 -18
  240. package/dist/attributes/shape/effects/implementations/vignette.js.map +1 -1
  241. package/dist/attributes/shape/effects/implementations/vintage.d.ts +24 -5
  242. package/dist/attributes/shape/effects/implementations/vintage.d.ts.map +1 -1
  243. package/dist/attributes/shape/effects/implementations/vintage.js +15 -10
  244. package/dist/attributes/shape/effects/implementations/vintage.js.map +1 -1
  245. package/dist/attributes/shape/effects/implementations/wave.d.ts +61 -14
  246. package/dist/attributes/shape/effects/implementations/wave.d.ts.map +1 -1
  247. package/dist/attributes/shape/effects/implementations/wave.js +26 -23
  248. package/dist/attributes/shape/effects/implementations/wave.js.map +1 -1
  249. package/dist/attributes/shape/effects/index.d.ts +4 -2
  250. package/dist/attributes/shape/effects/index.d.ts.map +1 -1
  251. package/dist/attributes/shape/effects/index.js +1 -1
  252. package/dist/attributes/shape/effects/index.js.map +1 -1
  253. package/dist/attributes/shape/effects/registry.d.ts +11 -0
  254. package/dist/attributes/shape/effects/registry.d.ts.map +1 -1
  255. package/dist/attributes/shape/effects/registry.js +113 -102
  256. package/dist/attributes/shape/effects/registry.js.map +1 -1
  257. package/dist/attributes/shape/effects/spec.d.ts +229 -0
  258. package/dist/attributes/shape/effects/spec.d.ts.map +1 -0
  259. package/dist/attributes/shape/effects/spec.js +178 -0
  260. package/dist/attributes/shape/effects/spec.js.map +1 -0
  261. package/dist/attributes/shape/fill/chain.d.ts +7 -9
  262. package/dist/attributes/shape/fill/chain.d.ts.map +1 -1
  263. package/dist/attributes/shape/fill/chain.js +9 -11
  264. package/dist/attributes/shape/fill/chain.js.map +1 -1
  265. package/dist/attributes/shape/fill/implementations/shader.d.ts +27 -26
  266. package/dist/attributes/shape/fill/implementations/shader.d.ts.map +1 -1
  267. package/dist/attributes/shape/fill/implementations/shader.js +20 -14
  268. package/dist/attributes/shape/fill/implementations/shader.js.map +1 -1
  269. package/dist/attributes/shape/fill/index.d.ts +1 -1
  270. package/dist/attributes/shape/fill/index.d.ts.map +1 -1
  271. package/dist/attributes/shape/fill/index.js.map +1 -1
  272. package/dist/attributes/shape/fill/registry.d.ts +1 -2
  273. package/dist/attributes/shape/fill/registry.d.ts.map +1 -1
  274. package/dist/attributes/shape/fill/registry.js +1 -2
  275. package/dist/attributes/shape/fill/registry.js.map +1 -1
  276. package/dist/attributes/shape/filters/chain.d.ts +2 -6
  277. package/dist/attributes/shape/filters/chain.d.ts.map +1 -1
  278. package/dist/attributes/shape/filters/chain.js +1 -5
  279. package/dist/attributes/shape/filters/chain.js.map +1 -1
  280. package/dist/attributes/shape/filters/implementations/color-matrix.d.ts +2 -2
  281. package/dist/attributes/shape/filters/implementations/color-matrix.d.ts.map +1 -1
  282. package/dist/attributes/shape/filters/implementations/color-matrix.js.map +1 -1
  283. package/dist/attributes/shape/filters/registry.d.ts +1 -1
  284. package/dist/attributes/shape/filters/registry.d.ts.map +1 -1
  285. package/dist/attributes/shape/filters/registry.js +3 -3
  286. package/dist/attributes/shape/filters/registry.js.map +1 -1
  287. package/dist/attributes/shape/filters/union.d.ts +2 -3
  288. package/dist/attributes/shape/filters/union.d.ts.map +1 -1
  289. package/dist/attributes/shape/filters/union.js.map +1 -1
  290. package/dist/attributes/shape/shaders/index.d.ts +2 -0
  291. package/dist/attributes/shape/shaders/index.d.ts.map +1 -1
  292. package/dist/attributes/shape/shaders/index.js +2 -0
  293. package/dist/attributes/shape/shaders/index.js.map +1 -1
  294. package/dist/attributes/shape/shaders/language.d.ts +26 -0
  295. package/dist/attributes/shape/shaders/language.d.ts.map +1 -0
  296. package/dist/attributes/shape/shaders/language.js +20 -0
  297. package/dist/attributes/shape/shaders/language.js.map +1 -0
  298. package/dist/attributes/shape/shaders/pack.d.ts +25 -11
  299. package/dist/attributes/shape/shaders/pack.d.ts.map +1 -1
  300. package/dist/attributes/shape/shaders/pack.js +9 -4
  301. package/dist/attributes/shape/shaders/pack.js.map +1 -1
  302. package/dist/attributes/shape/shaders/resolve.d.ts +4 -5
  303. package/dist/attributes/shape/shaders/resolve.d.ts.map +1 -1
  304. package/dist/attributes/shape/shaders/resolve.js +3 -6
  305. package/dist/attributes/shape/shaders/resolve.js.map +1 -1
  306. package/dist/attributes/shape/shaders/uniforms.d.ts +41 -0
  307. package/dist/attributes/shape/shaders/uniforms.d.ts.map +1 -0
  308. package/dist/attributes/shape/shaders/uniforms.js +0 -0
  309. package/dist/attributes/shape/shaders/uniforms.js.map +1 -0
  310. package/dist/browser/chunks/chunk-AOT33LMS.js +13 -0
  311. package/dist/browser/chunks/chunk-AOT33LMS.js.map +7 -0
  312. package/dist/browser/chunks/chunk-GKM6UZJR.js +6 -0
  313. package/dist/browser/chunks/chunk-GKM6UZJR.js.map +7 -0
  314. package/dist/browser/experimental.js +1 -1
  315. package/dist/browser/experimental.js.map +4 -4
  316. package/dist/browser/index.js +1 -1
  317. package/dist/browser/index.js.map +2 -2
  318. package/dist/browser/manifest.json +1 -1
  319. package/dist/browser/sdk.js +1 -1
  320. package/dist/components/builtins/audio/audio.d.ts +14 -5
  321. package/dist/components/builtins/audio/audio.d.ts.map +1 -1
  322. package/dist/components/builtins/audio/audio.js +10 -13
  323. package/dist/components/builtins/audio/audio.js.map +1 -1
  324. package/dist/components/builtins/geometry/composite.d.ts +3 -3
  325. package/dist/components/builtins/media/media.d.ts +7 -7
  326. package/dist/components/builtins/media/media.d.ts.map +1 -1
  327. package/dist/components/builtins/media/media.js +4 -10
  328. package/dist/components/builtins/media/media.js.map +1 -1
  329. package/dist/components/builtins/text/text.d.ts +12 -12
  330. package/dist/components/builtins/text/text.d.ts.map +1 -1
  331. package/dist/components/builtins/text/text.js +3 -0
  332. package/dist/components/builtins/text/text.js.map +1 -1
  333. package/dist/components/factory/api.d.ts +38 -11
  334. package/dist/components/factory/api.d.ts.map +1 -1
  335. package/dist/components/factory/api.js.map +1 -1
  336. package/dist/components/factory/component3d.d.ts.map +1 -1
  337. package/dist/components/factory/component3d.js +11 -3
  338. package/dist/components/factory/component3d.js.map +1 -1
  339. package/dist/components/factory/factory.d.ts +3 -0
  340. package/dist/components/factory/factory.d.ts.map +1 -1
  341. package/dist/components/factory/factory.js +39 -5
  342. package/dist/components/factory/factory.js.map +1 -1
  343. package/dist/components/modules/text-style.d.ts +1 -1
  344. package/dist/components/trees/2d/node-render.d.ts +1 -1
  345. package/dist/components/trees/2d/node-render.js +1 -1
  346. package/dist/components/trees/2d/node-render.js.map +1 -1
  347. package/dist/components/trees/2d/node2d.d.ts +1 -1
  348. package/dist/components/trees/2d/node2d.js +1 -1
  349. package/dist/components/trees/2d/node2d.js.map +1 -1
  350. package/dist/components/trees/audio/node-audio.d.ts +16 -9
  351. package/dist/components/trees/audio/node-audio.d.ts.map +1 -1
  352. package/dist/components/trees/audio/node-audio.js +15 -11
  353. package/dist/components/trees/audio/node-audio.js.map +1 -1
  354. package/dist/document/command-traits.d.ts +12 -2
  355. package/dist/document/command-traits.d.ts.map +1 -1
  356. package/dist/document/command-traits.js +34 -6
  357. package/dist/document/command-traits.js.map +1 -1
  358. package/dist/document/index.d.ts +8 -0
  359. package/dist/document/index.d.ts.map +1 -1
  360. package/dist/document/index.js +4 -0
  361. package/dist/document/index.js.map +1 -1
  362. package/dist/document/migrate.d.ts +70 -0
  363. package/dist/document/migrate.d.ts.map +1 -0
  364. package/dist/document/migrate.js +202 -0
  365. package/dist/document/migrate.js.map +1 -0
  366. package/dist/document/missing-node.d.ts +27 -0
  367. package/dist/document/missing-node.d.ts.map +1 -0
  368. package/dist/document/missing-node.js +48 -0
  369. package/dist/document/missing-node.js.map +1 -0
  370. package/dist/document/node-descriptor.d.ts +4 -0
  371. package/dist/document/node-descriptor.d.ts.map +1 -1
  372. package/dist/document/node-descriptor.js.map +1 -1
  373. package/dist/document/placement.d.ts +2 -1
  374. package/dist/document/placement.d.ts.map +1 -1
  375. package/dist/document/placement.js.map +1 -1
  376. package/dist/document/project.d.ts +2 -0
  377. package/dist/document/project.d.ts.map +1 -1
  378. package/dist/document/project.js +1 -0
  379. package/dist/document/project.js.map +1 -1
  380. package/dist/document/prop-evolution.d.ts +51 -0
  381. package/dist/document/prop-evolution.d.ts.map +1 -0
  382. package/dist/document/prop-evolution.js +83 -0
  383. package/dist/document/prop-evolution.js.map +1 -0
  384. package/dist/document/registry.d.ts +16 -0
  385. package/dist/document/registry.d.ts.map +1 -1
  386. package/dist/document/registry.js +30 -4
  387. package/dist/document/registry.js.map +1 -1
  388. package/dist/document/settled-index.d.ts +2 -0
  389. package/dist/document/settled-index.d.ts.map +1 -1
  390. package/dist/document/settled-index.js +5 -5
  391. package/dist/document/settled-index.js.map +1 -1
  392. package/dist/document/timeline-patch.d.ts +4 -0
  393. package/dist/document/timeline-patch.d.ts.map +1 -1
  394. package/dist/document/timeline-patch.js +28 -3
  395. package/dist/document/timeline-patch.js.map +1 -1
  396. package/dist/document/timeline.d.ts +45 -1
  397. package/dist/document/timeline.d.ts.map +1 -1
  398. package/dist/document/timeline.js +172 -42
  399. package/dist/document/timeline.js.map +1 -1
  400. package/dist/document/types.d.ts +14 -28
  401. package/dist/document/types.d.ts.map +1 -1
  402. package/dist/document/types.js.map +1 -1
  403. package/dist/document/validate.d.ts +17 -5
  404. package/dist/document/validate.d.ts.map +1 -1
  405. package/dist/document/validate.js +158 -21
  406. package/dist/document/validate.js.map +1 -1
  407. package/dist/document/vocabulary.d.ts +28 -0
  408. package/dist/document/vocabulary.d.ts.map +1 -0
  409. package/dist/document/vocabulary.js +42 -0
  410. package/dist/document/vocabulary.js.map +1 -0
  411. package/dist/experimental.d.ts +68 -8
  412. package/dist/experimental.d.ts.map +1 -1
  413. package/dist/experimental.js +22 -8
  414. package/dist/experimental.js.map +1 -1
  415. package/dist/platform/exporter.d.ts +13 -0
  416. package/dist/platform/exporter.d.ts.map +1 -1
  417. package/dist/platform/exporter.js.map +1 -1
  418. package/dist/renamed-scene-names.d.ts +1 -1
  419. package/dist/renamed-scene-names.d.ts.map +1 -1
  420. package/dist/renamed-scene-names.js +1 -1
  421. package/dist/renamed-scene-names.js.map +1 -1
  422. package/dist/render/canvas-render-context2d.d.ts +9 -0
  423. package/dist/render/canvas-render-context2d.d.ts.map +1 -1
  424. package/dist/render/canvas-render-context2d.js +10 -0
  425. package/dist/render/canvas-render-context2d.js.map +1 -1
  426. package/dist/render/clip-contains.js +1 -1
  427. package/dist/render/clip-contains.js.map +1 -1
  428. package/dist/render/descriptors/text.d.ts +2 -2
  429. package/dist/render/descriptors/text.js +2 -2
  430. package/dist/render/descriptors/text.js.map +1 -1
  431. package/dist/render/index.d.ts +2 -0
  432. package/dist/render/index.d.ts.map +1 -1
  433. package/dist/render/index.js +1 -0
  434. package/dist/render/index.js.map +1 -1
  435. package/dist/render/render-context2d.d.ts +1 -1
  436. package/dist/render/render-context2d.js.map +1 -1
  437. package/dist/render/render-issue.d.ts +39 -0
  438. package/dist/render/render-issue.d.ts.map +1 -0
  439. package/dist/render/render-issue.js +29 -0
  440. package/dist/render/render-issue.js.map +1 -0
  441. package/dist/render/surface.d.ts +2 -2
  442. package/dist/render/surface.js.map +1 -1
  443. package/dist/render3d/graphics3d.d.ts.map +1 -1
  444. package/dist/render3d/graphics3d.js +54 -5
  445. package/dist/render3d/graphics3d.js.map +1 -1
  446. package/dist/runtime/asset-refine.js +2 -1
  447. package/dist/runtime/asset-refine.js.map +1 -1
  448. package/dist/runtime/asset-timeline.d.ts +10 -0
  449. package/dist/runtime/asset-timeline.d.ts.map +1 -1
  450. package/dist/runtime/asset-timeline.js.map +1 -1
  451. package/dist/runtime/asset-update.d.ts.map +1 -1
  452. package/dist/runtime/asset-update.js +7 -0
  453. package/dist/runtime/asset-update.js.map +1 -1
  454. package/dist/runtime/clip-instance.d.ts +3 -1
  455. package/dist/runtime/clip-instance.d.ts.map +1 -1
  456. package/dist/runtime/clip-instance.js +4 -0
  457. package/dist/runtime/clip-instance.js.map +1 -1
  458. package/dist/runtime/clip-store.d.ts.map +1 -1
  459. package/dist/runtime/clip-store.js +17 -2
  460. package/dist/runtime/clip-store.js.map +1 -1
  461. package/dist/runtime/engine.d.ts +5 -3
  462. package/dist/runtime/engine.d.ts.map +1 -1
  463. package/dist/runtime/engine.js +2 -1
  464. package/dist/runtime/engine.js.map +1 -1
  465. package/dist/runtime/playback-controller.d.ts.map +1 -1
  466. package/dist/runtime/playback-controller.js +14 -4
  467. package/dist/runtime/playback-controller.js.map +1 -1
  468. package/dist/runtime/session.d.ts +7 -3
  469. package/dist/runtime/session.d.ts.map +1 -1
  470. package/dist/runtime/session.js +11 -4
  471. package/dist/runtime/session.js.map +1 -1
  472. package/dist/runtime/text-geometry.d.ts +1 -1
  473. package/dist/runtime/text-geometry.js.map +1 -1
  474. package/dist/sdk/index.d.ts +8 -6
  475. package/dist/sdk/index.d.ts.map +1 -1
  476. package/dist/sdk/index.js +10 -3
  477. package/dist/sdk/index.js.map +1 -1
  478. package/dist/tween/command-decorator.d.ts +7 -0
  479. package/dist/tween/command-decorator.d.ts.map +1 -1
  480. package/dist/tween/command-decorator.js +1 -0
  481. package/dist/tween/command-decorator.js.map +1 -1
  482. package/dist/tween/ease/describe.d.ts +2 -0
  483. package/dist/tween/ease/describe.d.ts.map +1 -1
  484. package/dist/tween/ease/describe.js +4 -0
  485. package/dist/tween/ease/describe.js.map +1 -1
  486. package/dist/tween/ease/spec.d.ts +31 -0
  487. package/dist/tween/ease/spec.d.ts.map +1 -0
  488. package/dist/tween/ease/spec.js +51 -0
  489. package/dist/tween/ease/spec.js.map +1 -0
  490. package/dist/tween/index.d.ts +1 -0
  491. package/dist/tween/index.d.ts.map +1 -1
  492. package/dist/tween/index.js +1 -0
  493. package/dist/tween/index.js.map +1 -1
  494. package/package.json +2 -2
  495. package/dist/browser/chunks/chunk-D4FSTPML.js +0 -14
  496. package/dist/browser/chunks/chunk-D4FSTPML.js.map +0 -7
  497. package/dist/browser/chunks/chunk-RTNATFWX.js +0 -5
  498. package/dist/browser/chunks/chunk-RTNATFWX.js.map +0 -7
@@ -1,5 +1,5 @@
1
- import type { Color } from "../../../../attributes/shape/fill/color/parser.js";
2
1
  import type { ModedEffect, EffectData } from "../effect-data.js";
2
+ import { type EffectFields } from "../spec.js";
3
3
  /**
4
4
  * Darkened corners — the lens falloff every photo grade reaches for.
5
5
  *
@@ -8,16 +8,46 @@ import type { ModedEffect, EffectData } from "../effect-data.js";
8
8
  * `radius` is untouched; from there to `radius + softness` the tint ramps in
9
9
  * with a smoothstep, reaching `amount` at the corners.
10
10
  */
11
- export interface VignetteEffect extends ModedEffect {
11
+ export interface VignetteEffect extends ModedEffect, EffectFields<typeof vignetteSpec.params> {
12
12
  type: "vignette";
13
+ }
14
+ /** The {@link VignetteEffect} spec: its parameters, defaults and ranges. */
15
+ export declare const vignetteSpec: import("../spec.js").EffectSpec<"vignette", {
13
16
  /** 0–1 tint strength at the very edge. 0 = off. */
14
- amount: number;
17
+ readonly amount: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
18
+ readonly default: 0.5;
19
+ readonly min: 0;
20
+ readonly max: 1;
21
+ readonly control: "slider";
22
+ readonly inline: true;
23
+ }> & {
24
+ kind: "number";
25
+ };
15
26
  /** 0–1 normalised radius where the falloff starts (1 ≈ the box corners). */
16
- radius: number;
27
+ readonly radius: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
28
+ readonly default: 0.75;
29
+ readonly min: 0;
30
+ readonly max: 1;
31
+ readonly control: "slider";
32
+ }> & {
33
+ kind: "number";
34
+ };
17
35
  /** 0–1 width of the ramp; 0 is a hard ring, 1 a long gradient. */
18
- softness: number;
36
+ readonly softness: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
37
+ readonly default: 0.5;
38
+ readonly min: 0;
39
+ readonly max: 1;
40
+ readonly control: "slider";
41
+ }> & {
42
+ kind: "number";
43
+ };
19
44
  /** Tint colour — black darkens (the classic look), white blows the edges out. */
20
- color: Color;
21
- }
45
+ readonly color: import("../spec.js").EffectParamDef<import("../../fill/index.js").Color, import("../../fill/index.js").Color> & NoInfer<{
46
+ readonly default: "black";
47
+ readonly label: "tint";
48
+ }> & {
49
+ kind: "color";
50
+ };
51
+ }>;
22
52
  export declare const vignetteEffect: EffectData<VignetteEffect>;
23
53
  //# sourceMappingURL=vignette.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vignette.d.ts","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/vignette.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,sCAAsC,CAAC;AAClE,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAG9D;;;;;;;GAOG;AACH,MAAM,WAAW,cAAe,SAAQ,WAAW;IAC/C,IAAI,EAAE,UAAU,CAAC;IACjB,mDAAmD;IACnD,MAAM,EAAE,MAAM,CAAC;IACf,4EAA4E;IAC5E,MAAM,EAAE,MAAM,CAAC;IACf,kEAAkE;IAClE,QAAQ,EAAE,MAAM,CAAC;IACjB,iFAAiF;IACjF,KAAK,EAAE,KAAK,CAAC;CAChB;AAED,eAAO,MAAM,cAAc,EAAE,UAAU,CAAC,cAAc,CAiBrD,CAAC"}
1
+ {"version":3,"file":"vignette.d.ts","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/vignette.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAqC,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAE/E;;;;;;;GAOG;AACH,MAAM,WAAW,cAAe,SAAQ,WAAW,EAAE,YAAY,CAAC,OAAO,YAAY,CAAC,MAAM,CAAC;IACzF,IAAI,EAAE,UAAU,CAAC;CACpB;AAED,4EAA4E;AAC5E,eAAO,MAAM,YAAY;IAQjB,mDAAmD;;;;;;;;;;IAEnD,4EAA4E;;;;;;;;;IAE5E,kEAAkE;;;;;;;;;IAElE,iFAAiF;;;;;;;EAGvF,CAAC;AAEH,eAAO,MAAM,cAAc,EAAE,UAAU,CAAC,cAAc,CAA8B,CAAC"}
@@ -1,21 +1,22 @@
1
- import { lerpNumber } from "../../../../tween/lerp.js";
2
- import { lerpColor } from "../../../../attributes/shape/fill/lerp.js";
3
- import { resolveEffectColor, sameEffectColor } from "../effect-data.js";
4
- export const vignetteEffect = {
5
- lerp: (from, to, t) => ({
6
- type: "vignette",
7
- amount: lerpNumber(from.amount, to.amount, t),
8
- radius: lerpNumber(from.radius, to.radius, t),
9
- softness: lerpNumber(from.softness, to.softness, t),
10
- color: lerpColor(resolveEffectColor(from.color), resolveEffectColor(to.color), t),
11
- mode: t < 0.5 ? from.mode : to.mode,
12
- }),
13
- equals: (a, b) => a.amount === b.amount &&
14
- a.radius === b.radius &&
15
- a.softness === b.softness &&
16
- sameEffectColor(a.color, b.color) &&
17
- a.mode === b.mode,
1
+ import { defineEffect, effectDataOf, param } from "../spec.js";
2
+ /** The {@link VignetteEffect} spec: its parameters, defaults and ranges. */
3
+ export const vignetteSpec = defineEffect({
4
+ type: "vignette",
5
+ group: "light",
18
6
  // Needs each pixel's position within the node box to compute its falloff.
19
7
  surface: "shader",
20
- };
8
+ scalar: "amount",
9
+ neutral: { amount: 0 },
10
+ params: {
11
+ /** 0–1 tint strength at the very edge. 0 = off. */
12
+ amount: param.number({ default: 0.5, min: 0, max: 1, control: "slider", inline: true }),
13
+ /** 0–1 normalised radius where the falloff starts (1 ≈ the box corners). */
14
+ radius: param.number({ default: 0.75, min: 0, max: 1, control: "slider" }),
15
+ /** 0–1 width of the ramp; 0 is a hard ring, 1 a long gradient. */
16
+ softness: param.number({ default: 0.5, min: 0, max: 1, control: "slider" }),
17
+ /** Tint colour — black darkens (the classic look), white blows the edges out. */
18
+ color: param.color({ default: "black", label: "tint" }),
19
+ },
20
+ });
21
+ export const vignetteEffect = effectDataOf(vignetteSpec);
21
22
  //# sourceMappingURL=vignette.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"vignette.js","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/vignette.ts"],"names":[],"mappings":"AAAA,OAAO,E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{ lerpColor } from \"@/attributes/shape/fill/lerp\";\r\nimport type { Color } from \"@/attributes/shape/fill/color/parser\";\r\nimport type { ModedEffect, EffectData } from \"../effect-data\";\r\nimport { resolveEffectColor, sameEffectColor } from \"../effect-data\";\r\n\r\n/**\r\n * Darkened corners — the lens falloff every photo grade reaches for.\r\n *\r\n * The node box is normalised to a unit ellipse, so the falloff follows the\r\n * node's aspect ratio rather than an off-centre circle. Everything inside\r\n * `radius` is untouched; from there to `radius + softness` the tint ramps in\r\n * with a smoothstep, reaching `amount` at the corners.\r\n */\r\nexport interface VignetteEffect extends ModedEffect {\r\n type: \"vignette\";\r\n /** 0–1 tint strength at the very edge. 0 = off. */\r\n amount: number;\r\n /** 0–1 normalised radius where the falloff starts (1 ≈ the box corners). */\r\n radius: number;\r\n /** 0–1 width of the ramp; 0 is a hard ring, 1 a long gradient. */\r\n softness: number;\r\n /** Tint colour — black darkens (the classic look), white blows the edges out. */\r\n color: Color;\r\n}\r\n\r\nexport const vignetteEffect: EffectData<VignetteEffect> = {\r\n lerp: (from, to, t) => ({\r\n type: \"vignette\",\r\n amount: lerpNumber(from.amount, to.amount, t),\r\n radius: lerpNumber(from.radius, to.radius, t),\r\n softness: lerpNumber(from.softness, to.softness, t),\r\n color: lerpColor(resolveEffectColor(from.color), resolveEffectColor(to.color), t),\r\n mode: t < 0.5 ? from.mode : to.mode,\r\n }),\r\n equals: (a, b) =>\r\n a.amount === b.amount &&\r\n a.radius === b.radius &&\r\n a.softness === b.softness &&\r\n sameEffectColor(a.color, b.color) &&\r\n a.mode === b.mode,\r\n // Needs each pixel's position within the node box to compute its falloff.\r\n surface: \"shader\",\r\n};\r\n"]}
1
+ {"version":3,"file":"vignette.js","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/vignette.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,KAAK,EAAqB,MAAM,SAAS,CAAC;AAc/E,4EAA4E;AAC5E,MAAM,CAAC,MAAM,YAAY,GAAG,YAAY,CAAC;IACrC,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,OAAO;IACd,0EAA0E;IAC1E,OAAO,EAAE,QAAQ;IACjB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE;IACtB,MAAM,EAAE;QACJ,mDAAmD;QACnD,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;QACvF,4EAA4E;QAC5E,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC;QAC1E,kEAAkE;QAClE,QAAQ,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC;QAC3E,iFAAiF;QACjF,KAAK,EAAE,KAAK,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,CAAC;KAC1D;CACJ,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,cAAc,GAA+B,YAAY,CAAC,YAAY,CAAC,CAAC","sourcesContent":["import type { ModedEffect, EffectData } from \"../effect-data\";\r\nimport { defineEffect, effectDataOf, param, type EffectFields } from \"../spec\";\r\n\r\n/**\r\n * Darkened corners — the lens falloff every photo grade reaches for.\r\n *\r\n * The node box is normalised to a unit ellipse, so the falloff follows the\r\n * node's aspect ratio rather than an off-centre circle. Everything inside\r\n * `radius` is untouched; from there to `radius + softness` the tint ramps in\r\n * with a smoothstep, reaching `amount` at the corners.\r\n */\r\nexport interface VignetteEffect extends ModedEffect, EffectFields<typeof vignetteSpec.params> {\r\n type: \"vignette\";\r\n}\r\n\r\n/** The {@link VignetteEffect} spec: its parameters, defaults and ranges. */\r\nexport const vignetteSpec = defineEffect({\r\n type: \"vignette\",\r\n group: \"light\",\r\n // Needs each pixel's position within the node box to compute its falloff.\r\n surface: \"shader\",\r\n scalar: \"amount\",\r\n neutral: { amount: 0 },\r\n params: {\r\n /** 0–1 tint strength at the very edge. 0 = off. */\r\n amount: param.number({ default: 0.5, min: 0, max: 1, control: \"slider\", inline: true }),\r\n /** 0–1 normalised radius where the falloff starts (1 ≈ the box corners). */\r\n radius: param.number({ default: 0.75, min: 0, max: 1, control: \"slider\" }),\r\n /** 0–1 width of the ramp; 0 is a hard ring, 1 a long gradient. */\r\n softness: param.number({ default: 0.5, min: 0, max: 1, control: \"slider\" }),\r\n /** Tint colour — black darkens (the classic look), white blows the edges out. */\r\n color: param.color({ default: \"black\", label: \"tint\" }),\r\n },\r\n});\r\n\r\nexport const vignetteEffect: EffectData<VignetteEffect> = effectDataOf(vignetteSpec);\r\n"]}
@@ -1,10 +1,29 @@
1
1
  import type { ModedEffect, EffectData } from "../effect-data.js";
2
- export interface VintageEffect extends ModedEffect {
2
+ import { type EffectFields } from "../spec.js";
3
+ export interface VintageEffect extends ModedEffect, EffectFields<typeof vintageSpec.params> {
3
4
  type: "vintage";
4
- /** 0–1: blend from original (0) to full sepia/desaturate (1). */
5
- amount: number;
6
- /** -1…1: negative = cool/cyan tint, positive = warm/orange tint. */
7
- warmth: number;
8
5
  }
6
+ /** The {@link VintageEffect} spec: its parameters, defaults and ranges. */
7
+ export declare const vintageSpec: import("../spec.js").EffectSpec<"vintage", {
8
+ /** 0–1: 0 = original, 1 = full sepia + desaturate. */
9
+ readonly amount: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
10
+ readonly default: 1;
11
+ readonly min: 0;
12
+ readonly max: 1;
13
+ readonly control: "slider";
14
+ readonly inline: true;
15
+ }> & {
16
+ kind: "number";
17
+ };
18
+ /** −1…1: negative = cool/cyan tint, positive = warm/amber. */
19
+ readonly warmth: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
20
+ readonly default: 0.2;
21
+ readonly min: -1;
22
+ readonly max: 1;
23
+ readonly control: "slider";
24
+ }> & {
25
+ kind: "number";
26
+ };
27
+ }>;
9
28
  export declare const vintageEffect: EffectData<VintageEffect>;
10
29
  //# sourceMappingURL=vintage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"vintage.d.ts","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/vintage.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE9D,MAAM,WAAW,aAAc,SAAQ,WAAW;IAC9C,IAAI,EAAE,SAAS,CAAC;IAChB,iEAAiE;IACjE,MAAM,EAAE,MAAM,CAAC;IACf,oEAAoE;IACpE,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,aAAa,EAAE,UAAU,CAAC,aAAa,CAQnD,CAAC"}
1
+ {"version":3,"file":"vintage.d.ts","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/vintage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAAqC,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAE/E,MAAM,WAAW,aAAc,SAAQ,WAAW,EAAE,YAAY,CAAC,OAAO,WAAW,CAAC,MAAM,CAAC;IACvF,IAAI,EAAE,SAAS,CAAC;CACnB;AAED,2EAA2E;AAC3E,eAAO,MAAM,WAAW;IAMhB,sDAAsD;;;;;;;;;;IAEtD,8DAA8D;;;;;;;;;EAGpE,CAAC;AAEH,eAAO,MAAM,aAAa,EAAE,UAAU,CAAC,aAAa,CAA6B,CAAC"}
@@ -1,11 +1,16 @@
1
- import { lerpNumber } from "../../../../tween/lerp.js";
2
- export const vintageEffect = {
3
- lerp: (from, to, t) => ({
4
- type: "vintage",
5
- amount: lerpNumber(from.amount, to.amount, t),
6
- warmth: lerpNumber(from.warmth, to.warmth, t),
7
- mode: t < 0.5 ? from.mode : to.mode,
8
- }),
9
- equals: (a, b) => a.amount === b.amount && a.warmth === b.warmth && a.mode === b.mode,
10
- };
1
+ import { defineEffect, effectDataOf, param } from "../spec.js";
2
+ /** The {@link VintageEffect} spec: its parameters, defaults and ranges. */
3
+ export const vintageSpec = defineEffect({
4
+ type: "vintage",
5
+ group: "color",
6
+ scalar: "amount",
7
+ neutral: { amount: 0, warmth: 0 },
8
+ params: {
9
+ /** 0–1: 0 = original, 1 = full sepia + desaturate. */
10
+ amount: param.number({ default: 1, min: 0, max: 1, control: "slider", inline: true }),
11
+ /** −1…1: negative = cool/cyan tint, positive = warm/amber. */
12
+ warmth: param.number({ default: 0.2, min: -1, max: 1, control: "slider" }),
13
+ },
14
+ });
15
+ export const vintageEffect = effectDataOf(vintageSpec);
11
16
  //# sourceMappingURL=vintage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"vintage.js","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/vintage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAW1C,MAAM,CAAC,MAAM,aAAa,GAA8B;IACpD,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;QACpB,IAAI,EAAE,SAAS;QACf,MAAM,EAAE,UAAU,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,EAAE,CAAC,CAAC;QAC7C,MAAM,EAAE,UAAU,CAAC,IAAI,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,EAAE,CAAC,CAAC;QAC7C,IAAI,EAAE,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,IAAI;KACtC,CAAC;IACF,MAAM,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,MAAM,KAAK,CAAC,CAAC,MAAM,IAAI,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI;CACxF,CAAC","sourcesContent":["import { lerpNumber } from \"@/tween/lerp\";\r\nimport type { ModedEffect, EffectData } from \"../effect-data\";\r\n\r\nexport interface VintageEffect extends ModedEffect {\r\n type: \"vintage\";\r\n /** 0–1: blend from original (0) to full sepia/desaturate (1). */\r\n amount: number;\r\n /** -1…1: negative = cool/cyan tint, positive = warm/orange tint. */\r\n warmth: number;\r\n}\r\n\r\nexport const vintageEffect: EffectData<VintageEffect> = {\r\n lerp: (from, to, t) => ({\r\n type: \"vintage\",\r\n amount: lerpNumber(from.amount, to.amount, t),\r\n warmth: lerpNumber(from.warmth, to.warmth, t),\r\n mode: t < 0.5 ? from.mode : to.mode,\r\n }),\r\n equals: (a, b) => a.amount === b.amount && a.warmth === b.warmth && a.mode === b.mode,\r\n};\r\n"]}
1
+ {"version":3,"file":"vintage.js","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/vintage.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,YAAY,EAAE,YAAY,EAAE,KAAK,EAAqB,MAAM,SAAS,CAAC;AAM/E,2EAA2E;AAC3E,MAAM,CAAC,MAAM,WAAW,GAAG,YAAY,CAAC;IACpC,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE;IACjC,MAAM,EAAE;QACJ,sDAAsD;QACtD,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;QACrF,8DAA8D;QAC9D,MAAM,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,CAAC;KAC7E;CACJ,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,aAAa,GAA8B,YAAY,CAAC,WAAW,CAAC,CAAC","sourcesContent":["import type { ModedEffect, EffectData } from \"../effect-data\";\r\nimport { defineEffect, effectDataOf, param, type EffectFields } from \"../spec\";\r\n\r\nexport interface VintageEffect extends ModedEffect, EffectFields<typeof vintageSpec.params> {\r\n type: \"vintage\";\r\n}\r\n\r\n/** The {@link VintageEffect} spec: its parameters, defaults and ranges. */\r\nexport const vintageSpec = defineEffect({\r\n type: \"vintage\",\r\n group: \"color\",\r\n scalar: \"amount\",\r\n neutral: { amount: 0, warmth: 0 },\r\n params: {\r\n /** 0–1: 0 = original, 1 = full sepia + desaturate. */\r\n amount: param.number({ default: 1, min: 0, max: 1, control: \"slider\", inline: true }),\r\n /** −1…1: negative = cool/cyan tint, positive = warm/amber. */\r\n warmth: param.number({ default: 0.2, min: -1, max: 1, control: \"slider\" }),\r\n },\r\n});\r\n\r\nexport const vintageEffect: EffectData<VintageEffect> = effectDataOf(vintageSpec);\r\n"]}
@@ -1,5 +1,5 @@
1
- import { type Vector2 } from "../../../../attributes/layout/vector2.js";
2
1
  import type { ModedEffect, EffectData } from "../effect-data.js";
2
+ import { type EffectFields } from "../spec.js";
3
3
  /**
4
4
  * How the wave's crests are laid out.
5
5
  *
@@ -20,20 +20,67 @@ export type WaveShape = "linear" | "radial";
20
20
  * 360 loops seamlessly** — that is how you make the wave travel. Animating it is
21
21
  * the whole point; a static wave reads as a distortion rather than as motion.
22
22
  */
23
- export interface WaveEffect extends ModedEffect {
23
+ export interface WaveEffect extends ModedEffect, EffectFields<typeof waveSpec.params> {
24
24
  type: "wave";
25
- /** Peak displacement in px per axis. `{ x: 0, y: 20 }` ripples vertically only. */
26
- amplitude: Vector2;
27
- /** Distance between crests in px. */
28
- wavelength: number;
29
- /** Phase offset in degrees. Tween it over 360 for one seamless loop. */
30
- phase: number;
31
- /** Crest layout — parallel bands or concentric rings. */
32
- shape: WaveShape;
33
- /** Direction the crests advance along, in degrees. `"linear"` only. */
34
- angle: number;
35
- /** Ring origin in 0–1 layer coords. `"radial"` only. */
36
- center: Vector2;
37
25
  }
26
+ /** The {@link WaveEffect} spec: its parameters, defaults and ranges. */
27
+ export declare const waveSpec: import("../spec.js").EffectSpec<"wave", {
28
+ /**
29
+ * Peak displacement in px per axis. A bare number means the Y axis only:
30
+ * a wave that displaces along its own direction of travel just smears.
31
+ */
32
+ readonly amplitude: import("../spec.js").EffectParamDef<import("../../../index.js").Vector2, number | import("../../../index.js").Vector2> & NoInfer<{
33
+ readonly default: 20;
34
+ readonly fromNumber: "y";
35
+ readonly unit: "px";
36
+ }> & {
37
+ kind: "vec2";
38
+ };
39
+ /** Distance between crests in px. */
40
+ readonly wavelength: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
41
+ readonly default: 120;
42
+ readonly min: 1;
43
+ readonly unit: "px";
44
+ readonly inline: true;
45
+ }> & {
46
+ kind: "number";
47
+ };
48
+ /** Phase in degrees; tween over 360 for one seamless loop. */
49
+ readonly phase: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
50
+ readonly default: 0;
51
+ readonly step: 1;
52
+ readonly unit: "deg";
53
+ }> & {
54
+ kind: "number";
55
+ };
56
+ /** Parallel bands or concentric rings. */
57
+ readonly shape: import("../spec.js").EffectParamDef<"linear" | "radial", "linear" | "radial"> & NoInfer<{
58
+ readonly default: "linear";
59
+ readonly label: "crestShape";
60
+ readonly optionsLabel: "waveShape";
61
+ }> & {
62
+ kind: "enum";
63
+ options: readonly ("linear" | "radial")[];
64
+ };
65
+ /** Direction the crests advance along, in degrees. `'linear'` only. */
66
+ readonly angle: import("../spec.js").EffectParamDef<number, number> & NoInfer<{
67
+ readonly default: 0;
68
+ readonly unit: "deg";
69
+ readonly control: "angle";
70
+ }> & {
71
+ kind: "number";
72
+ };
73
+ /** Ring origin in 0–1 layer coords. `'radial'` only. */
74
+ readonly center: import("../spec.js").EffectParamDef<import("../../../index.js").Vector2, import("../../../index.js").Vector2> & NoInfer<{
75
+ readonly default: import("../../../index.js").Vector2;
76
+ readonly min: 0;
77
+ readonly max: 1;
78
+ readonly step: 0.01;
79
+ readonly unit: "normalized";
80
+ readonly label: "ringCenter";
81
+ }> & {
82
+ kind: "vec2";
83
+ };
84
+ }>;
38
85
  export declare const waveEffect: EffectData<WaveEffect>;
39
86
  //# sourceMappingURL=wave.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wave.d.ts","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/wave.ts"],"names":[],"mappings":"AACA,OAAO,EAAe,KAAK,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAE9D;;;;;;;GAOG;AACH,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE5C;;;;;;;;;;GAUG;AACH,MAAM,WAAW,UAAW,SAAQ,WAAW;IAC3C,IAAI,EAAE,MAAM,CAAC;IACb,mFAAmF;IACnF,SAAS,EAAE,OAAO,CAAC;IACnB,qCAAqC;IACrC,UAAU,EAAE,MAAM,CAAC;IACnB,wEAAwE;IACxE,KAAK,EAAE,MAAM,CAAC;IACd,yDAAyD;IACzD,KAAK,EAAE,SAAS,CAAC;IACjB,uEAAuE;IACvE,KAAK,EAAE,MAAM,CAAC;IACd,wDAAwD;IACxD,MAAM,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,UAAU,EAAE,UAAU,CAAC,UAAU,CAuB7C,CAAC"}
1
+ {"version":3,"file":"wave.d.ts","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/wave.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC9D,OAAO,EAA6C,KAAK,YAAY,EAAE,MAAM,SAAS,CAAC;AAEvF;;;;;;;GAOG;AACH,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE5C;;;;;;;;;;GAUG;AACH,MAAM,WAAW,UAAW,SAAQ,WAAW,EAAE,YAAY,CAAC,OAAO,QAAQ,CAAC,MAAM,CAAC;IACjF,IAAI,EAAE,MAAM,CAAC;CAChB;AAED,wEAAwE;AACxE,eAAO,MAAM,QAAQ;IAQb;;;OAGG;;;;;;;;IAEH,qCAAqC;;;;;;;;;IAErC,8DAA8D;;;;;;;;IAE9D,0CAA0C;;;;;;;;;IAE1C,uEAAuE;;;;;;;;IAEvE,wDAAwD;;;;;;;;;;;EAG9D,CAAC;AAEH,eAAO,MAAM,UAAU,EAAE,UAAU,CAAC,UAAU,CAA0B,CAAC"}
@@ -1,26 +1,29 @@
1
- import { lerpNumber } from "../../../../tween/lerp.js";
2
- import { lerpVector2 } from "../../../../attributes/layout/vector2.js";
3
- export const waveEffect = {
4
- lerp: (from, to, t) => ({
5
- type: "wave",
6
- amplitude: lerpVector2(from.amplitude, to.amplitude, t),
7
- wavelength: lerpNumber(from.wavelength, to.wavelength, t),
8
- phase: lerpNumber(from.phase, to.phase, t),
9
- shape: t < 0.5 ? from.shape : to.shape,
10
- angle: lerpNumber(from.angle, to.angle, t),
11
- center: lerpVector2(from.center, to.center, t),
12
- mode: t < 0.5 ? from.mode : to.mode,
13
- }),
14
- equals: (a, b) => a.amplitude.x === b.amplitude.x &&
15
- a.amplitude.y === b.amplitude.y &&
16
- a.wavelength === b.wavelength &&
17
- a.phase === b.phase &&
18
- a.shape === b.shape &&
19
- a.angle === b.angle &&
20
- a.center.x === b.center.x &&
21
- a.center.y === b.center.y &&
22
- a.mode === b.mode,
1
+ import { CENTER, defineEffect, effectDataOf, param } from "../spec.js";
2
+ /** The {@link WaveEffect} spec: its parameters, defaults and ranges. */
3
+ export const waveSpec = defineEffect({
4
+ type: "wave",
5
+ group: "distort",
23
6
  // Resamples the source at an offset position.
24
7
  surface: "shader",
25
- };
8
+ scalar: "amplitude",
9
+ neutral: { amplitude: 0 },
10
+ params: {
11
+ /**
12
+ * Peak displacement in px per axis. A bare number means the Y axis only:
13
+ * a wave that displaces along its own direction of travel just smears.
14
+ */
15
+ amplitude: param.vec2({ default: 20, fromNumber: "y", unit: "px" }),
16
+ /** Distance between crests in px. */
17
+ wavelength: param.number({ default: 120, min: 1, unit: "px", inline: true }),
18
+ /** Phase in degrees; tween over 360 for one seamless loop. */
19
+ phase: param.number({ default: 0, step: 1, unit: "deg" }),
20
+ /** Parallel bands or concentric rings. */
21
+ shape: param.choice(["linear", "radial"], { default: "linear", label: "crestShape", optionsLabel: "waveShape" }),
22
+ /** Direction the crests advance along, in degrees. `'linear'` only. */
23
+ angle: param.number({ default: 0, unit: "deg", control: "angle" }),
24
+ /** Ring origin in 0–1 layer coords. `'radial'` only. */
25
+ center: param.vec2({ default: CENTER, min: 0, max: 1, step: 0.01, unit: "normalized", label: "ringCenter" }),
26
+ },
27
+ });
28
+ export const waveEffect = effectDataOf(waveSpec);
26
29
  //# sourceMappingURL=wave.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"wave.js","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/wave.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAgB,MAAM,6BAA6B,CAAC;AAwCxE,MAAM,CAAC,MAAM,UAAU,GAA2B;IAC9C,IAAI,EAAE,CAAC,IAAI,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,CAAC;QACpB,IAAI,EAAE,MAAM;QACZ,SAAS,EAAE,WAAW,CAAC,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IAAI;IACrB,8CAA8C;IAC9C,OAAO,EAAE,QAAQ;CACpB,CAAC","sourcesContent":["import { lerpNumber } from \"@/tween/lerp\";\r\nimport { lerpVector2, type Vector2 } from \"@/attributes/layout/vector2\";\r\nimport type { ModedEffect, EffectData } from \"../effect-data\";\r\n\r\n/**\r\n * How the wave's crests are laid out.\r\n *\r\n * - `\"linear\"` — parallel crests running across the node, travelling along\r\n * `angle`. Flags, banners, wobbling type, heat shimmer.\r\n * - `\"radial\"` — concentric rings expanding from `center`. The pond-ripple /\r\n * drop-impact look, and the one that reads as *something happened here*.\r\n */\r\nexport type WaveShape = \"linear\" | \"radial\";\r\n\r\n/**\r\n * Sine displacement — the procedural warp that needs no asset.\r\n *\r\n * Pixels are resampled at a position offset by a sine of their own coordinate,\r\n * so the content ripples without anything being generated or loaded. For an\r\n * arbitrary warp driven by an image, see `displace`.\r\n *\r\n * `phase` is in degrees and the sine wraps, so a **linear tween of `phase` over\r\n * 360 loops seamlessly** — that is how you make the wave travel. Animating it is\r\n * the whole point; a static wave reads as a distortion rather than as motion.\r\n */\r\nexport interface WaveEffect extends ModedEffect {\r\n type: \"wave\";\r\n /** Peak displacement in px per axis. `{ x: 0, y: 20 }` ripples vertically only. */\r\n amplitude: Vector2;\r\n /** Distance between crests in px. */\r\n wavelength: number;\r\n /** Phase offset in degrees. Tween it over 360 for one seamless loop. */\r\n phase: number;\r\n /** Crest layout — parallel bands or concentric rings. */\r\n shape: WaveShape;\r\n /** Direction the crests advance along, in degrees. `\"linear\"` only. */\r\n angle: number;\r\n /** Ring origin in 0–1 layer coords. `\"radial\"` only. */\r\n center: Vector2;\r\n}\r\n\r\nexport const waveEffect: EffectData<WaveEffect> = {\r\n lerp: (from, to, t) => ({\r\n type: \"wave\",\r\n amplitude: lerpVector2(from.amplitude, to.amplitude, t),\r\n wavelength: lerpNumber(from.wavelength, to.wavelength, t),\r\n phase: lerpNumber(from.phase, to.phase, t),\r\n shape: t < 0.5 ? from.shape : to.shape,\r\n angle: lerpNumber(from.angle, to.angle, t),\r\n center: lerpVector2(from.center, to.center, t),\r\n mode: t < 0.5 ? from.mode : to.mode,\r\n }),\r\n equals: (a, b) =>\r\n a.amplitude.x === b.amplitude.x &&\r\n a.amplitude.y === b.amplitude.y &&\r\n a.wavelength === b.wavelength &&\r\n a.phase === b.phase &&\r\n a.shape === b.shape &&\r\n a.angle === b.angle &&\r\n a.center.x === b.center.x &&\r\n a.center.y === b.center.y &&\r\n a.mode === b.mode,\r\n // Resamples the source at an offset position.\r\n surface: \"shader\",\r\n};\r\n"]}
1
+ {"version":3,"file":"wave.js","sourceRoot":"","sources":["../../../../../src/attributes/shape/effects/implementations/wave.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,YAAY,EAAE,KAAK,EAAqB,MAAM,SAAS,CAAC;AA2BvF,wEAAwE;AACxE,MAAM,CAAC,MAAM,QAAQ,GAAG,YAAY,CAAC;IACjC,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,SAAS;IAChB,8CAA8C;IAC9C,OAAO,EAAE,QAAQ;IACjB,MAAM,EAAE,WAAW;IACnB,OAAO,EAAE,EAAE,SAAS,EAAE,CAAC,EAAE;IACzB,MAAM,EAAE;QACJ;;;WAGG;QACH,SAAS,EAAE,KAAK,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,UAAU,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;QACnE,qCAAqC;QACrC,UAAU,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;QAC5E,8DAA8D;QAC9D,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;QACzD,0CAA0C;QAC1C,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,QAAQ,CAAuB,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,CAAC;QACtI,uEAAuE;QACvE,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,CAAC;QAClE,wDAAwD;QACxD,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,EAAE,OAAO,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,EAAE,YAAY,EAAE,CAAC;KAC/G;CACJ,CAAC,CAAC;AAEH,MAAM,CAAC,MAAM,UAAU,GAA2B,YAAY,CAAC,QAAQ,CAAC,CAAC","sourcesContent":["import type { ModedEffect, EffectData } from \"../effect-data\";\r\nimport { CENTER, defineEffect, effectDataOf, param, type EffectFields } from \"../spec\";\r\n\r\n/**\r\n * How the wave's crests are laid out.\r\n *\r\n * - `\"linear\"` — parallel crests running across the node, travelling along\r\n * `angle`. Flags, banners, wobbling type, heat shimmer.\r\n * - `\"radial\"` — concentric rings expanding from `center`. The pond-ripple /\r\n * drop-impact look, and the one that reads as *something happened here*.\r\n */\r\nexport type WaveShape = \"linear\" | \"radial\";\r\n\r\n/**\r\n * Sine displacement — the procedural warp that needs no asset.\r\n *\r\n * Pixels are resampled at a position offset by a sine of their own coordinate,\r\n * so the content ripples without anything being generated or loaded. For an\r\n * arbitrary warp driven by an image, see `displace`.\r\n *\r\n * `phase` is in degrees and the sine wraps, so a **linear tween of `phase` over\r\n * 360 loops seamlessly** — that is how you make the wave travel. Animating it is\r\n * the whole point; a static wave reads as a distortion rather than as motion.\r\n */\r\nexport interface WaveEffect extends ModedEffect, EffectFields<typeof waveSpec.params> {\r\n type: \"wave\";\r\n}\r\n\r\n/** The {@link WaveEffect} spec: its parameters, defaults and ranges. */\r\nexport const waveSpec = defineEffect({\r\n type: \"wave\",\r\n group: \"distort\",\r\n // Resamples the source at an offset position.\r\n surface: \"shader\",\r\n scalar: \"amplitude\",\r\n neutral: { amplitude: 0 },\r\n params: {\r\n /**\r\n * Peak displacement in px per axis. A bare number means the Y axis only:\r\n * a wave that displaces along its own direction of travel just smears.\r\n */\r\n amplitude: param.vec2({ default: 20, fromNumber: \"y\", unit: \"px\" }),\r\n /** Distance between crests in px. */\r\n wavelength: param.number({ default: 120, min: 1, unit: \"px\", inline: true }),\r\n /** Phase in degrees; tween over 360 for one seamless loop. */\r\n phase: param.number({ default: 0, step: 1, unit: \"deg\" }),\r\n /** Parallel bands or concentric rings. */\r\n shape: param.choice([\"linear\", \"radial\"] satisfies WaveShape[], { default: \"linear\", label: \"crestShape\", optionsLabel: \"waveShape\" }),\r\n /** Direction the crests advance along, in degrees. `'linear'` only. */\r\n angle: param.number({ default: 0, unit: \"deg\", control: \"angle\" }),\r\n /** Ring origin in 0–1 layer coords. `'radial'` only. */\r\n center: param.vec2({ default: CENTER, min: 0, max: 1, step: 0.01, unit: \"normalized\", label: \"ringCenter\" }),\r\n },\r\n});\r\n\r\nexport const waveEffect: EffectData<WaveEffect> = effectDataOf(waveSpec);\r\n"]}
@@ -13,7 +13,7 @@ export type { ScatterEffect } from "./implementations/scatter.js";
13
13
  export type { PosterizeEffect } from "./implementations/posterize.js";
14
14
  export type { MotionBlurEffect, MotionBlurAlignment } from "./implementations/motion-blur.js";
15
15
  export { resolveMotionBlurAlignment } from "./implementations/motion-blur.js";
16
- export type { ShaderEffect, SkSLEffect, SkSLUniform, SkSLUniformValue } from "./implementations/shader.js";
16
+ export type { ShaderEffect } from "./implementations/shader.js";
17
17
  export type { OutlineEffect, OutlinePosition } from "./implementations/outline.js";
18
18
  export type { DropShadowEffect } from "./implementations/drop-shadow.js";
19
19
  export type { VignetteEffect } from "./implementations/vignette.js";
@@ -50,7 +50,9 @@ export type { BlurOptions, DirectionalBlurOptions, GrayscaleOptions, PixelateOpt
50
50
  export type { EffectData, EffectMode, EffectSurface, EffectAxis, EffectOptions, ModedEffect } from './effect-data.js';
51
51
  export { EFFECT_OPTION_KEYS, withEffectOptions, resolveEffectAxis, sameEffectAxis } from './effect-data.js';
52
52
  export { resolveEffectColor, sameEffectColor } from './effect-data.js';
53
- export { lerpEffect, effectSurface } from './registry.js';
53
+ export { lerpEffect, effectSurface, describeEffect, effectDescriptors } from './registry.js';
54
+ /** The serialisable description of each built-in effect, for a host's UI (see `describeEffect`). */
55
+ export type { EffectDescriptor, EffectParamDescriptor, EffectParamKind, EffectParamUnit, EffectParamControl, EffectGroup, EffectJson, } from './spec.js';
54
56
  /** Backdrop/foreground classification helpers. */
55
57
  export { isBackdropEffect, backdropEffects, foregroundShaderEffects } from './backdrop.js';
56
58
  /** Union of all concrete effect types accepted by scene nodes. */
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/attributes/shape/effects/index.ts"],"names":[],"mappings":"AAAA,kDAAkD;AAClD,YAAY,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACzD,YAAY,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAChF,YAAY,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACnE,YAAY,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,YAAY,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,YAAY,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,YAAY,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC;AAC3D,YAAY,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAC/D,YAAY,EAAE,yBAAyB,EAAE,MAAM,wCAAwC,CAAC;AACxF,YAAY,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,0BA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AAa,EACb,sBAAsB,EACtB,UAAU,EACV,eAAe,EACf,gBAAgB,EAChB,oBAAoB,EACpB,eAAe,EACf,YAAY,EACZ,aAAa,EACb,WAAW,EACX,eAAe,EACf,WAAW,EACX,YAAY,EACZ,sBAAsB,EACtB,mBAAmB,EACnB,YAAY,GACf,MAAM,SAAS,CAAC;AAEjB,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,aAAa,EAAE,UAAU,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACnH,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACzG,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAE1F,oGAAoG;AACpG,YAAY,EACR,gBAAgB,EAChB,qBAAqB,EACrB,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,WAAW,EACX,UAAU,GACb,MAAM,QAAQ,CAAC;AAEhB,kDAAkD;AAClD,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAExF,kEAAkE;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC"}
@@ -4,7 +4,7 @@ export { ASCII_CHARSETS, resolveAsciiCharset } from "./implementations/ascii.js"
4
4
  export { Effects, EffectChain, resolveChainEffects, effectsOps } from './chain.js';
5
5
  export { EFFECT_OPTION_KEYS, withEffectOptions, resolveEffectAxis, sameEffectAxis } from './effect-data.js';
6
6
  export { resolveEffectColor, sameEffectColor } from './effect-data.js';
7
- export { lerpEffect, effectSurface } from './registry.js';
7
+ export { lerpEffect, effectSurface, describeEffect, effectDescriptors } from './registry.js';
8
8
  /** Backdrop/foreground classification helpers. */
9
9
  export { isBackdropEffect, backdropEffects, foregroundShaderEffects } from './backdrop.js';
10
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/shape/effects/index.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AA6B3E,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9E,uEAAuE;AACvE,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAgDhF,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACzG,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAEvD,kDAAkD;AAClD,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC","sourcesContent":["/** Effect data types for each built-in effect. */\r\nexport type { BlurEffect } from \"./implementations/blur\";\r\nexport type { DirectionalBlurEffect } from \"./implementations/directional-blur\";\r\nexport type { GrayscaleEffect } from \"./implementations/grayscale\";\r\nexport type { PixelateEffect } from \"./implementations/pixelate\";\r\nexport type { BulgeEffect } from \"./implementations/bulge\";\r\nexport type { MagnifyEffect } from \"./implementations/magnify\";\r\nexport type { BloomEffect } from \"./implementations/bloom\";\r\nexport type { VintageEffect } from \"./implementations/vintage\";\r\nexport type { ChromaticAberrationEffect } from \"./implementations/chromatic-aberration\";\r\nexport type { InvertEffect, InvertChannel } from \"./implementations/invert\";\r\nexport type { ScatterEffect } from \"./implementations/scatter\";\r\nexport type { PosterizeEffect } from \"./implementations/posterize\";\r\nexport type { MotionBlurEffect, MotionBlurAlignment } from \"./implementations/motion-blur\";\r\nexport { resolveMotionBlurAlignment } from \"./implementations/motion-blur\";\r\nexport type { ShaderEffect, SkSLEffect, SkSLUniform, SkSLUniformValue } from \"./implementations/shader\";\r\nexport type { OutlineEffect, OutlinePosition } from \"./implementations/outline\";\r\nexport type { DropShadowEffect } from \"./implementations/drop-shadow\";\r\nexport type { VignetteEffect } from \"./implementations/vignette\";\r\nexport type { GrainEffect } from \"./implementations/grain\";\r\nexport type { SharpenEffect } from \"./implementations/sharpen\";\r\nexport type { EdgesEffect, EdgeKernel } from \"./implementations/edges\";\r\nexport type { ThresholdEffect } from \"./implementations/threshold\";\r\nexport type { RadialBlurEffect, RadialBlurStyle } from \"./implementations/radial-blur\";\r\nexport type { HalftoneEffect, HalftoneShape, HalftoneSeparation } from \"./implementations/halftone\";\r\nexport type { DitherEffect, DitherMatrix, DitherNoise } from \"./implementations/dither\";\r\nexport type { DuotoneEffect } from \"./implementations/duotone\";\r\nexport type { CurvesEffect } from \"./implementations/curves\";\r\nexport type { ColorAdjustmentEffect } from \"./implementations/color-adjustment\";\r\nexport type { RgbShiftEffect } from \"./implementations/rgb-shift\";\r\nexport type { ScanlinesEffect } from \"./implementations/scanlines\";\r\nexport type { BlockDisplaceEffect } from \"./implementations/block-displace\";\r\nexport type { BitCrushEffect, BitCrushPalette } from \"./implementations/bit-crush\";\r\nexport type { AsciiEffect, AsciiCharset } from \"./implementations/ascii\";\r\nexport type { StreakEffect } from \"./implementations/streak\";\r\nexport type { GlowChannel, GlowEffect, GlowLoopStyle, GlowOriginal, GlowTint } from \"./implementations/glow\";\r\nexport type { OilPaintEffect } from \"./implementations/oil-paint\";\r\nexport type { WaveEffect, WaveShape } from \"./implementations/wave\";\r\nexport type { TwirlEffect } from \"./implementations/twirl\";\r\nexport type { ProgressiveBlurEffect, ProgressiveBlurShape } from \"./implementations/progressive-blur\";\r\nexport type { KaleidoscopeEffect } from \"./implementations/kaleidoscope\";\r\nexport type { GlassEffect } from \"./implementations/glass\";\r\nexport type { LutEffect } from \"./implementations/lut\";\r\nexport { ASCII_CHARSETS, resolveAsciiCharset } from \"./implementations/ascii\";\r\n\r\n/** Chainable effect builder API, chain class, and union input type. */\r\nexport { Effects, EffectChain, resolveChainEffects, effectsOps } from './chain';\r\nexport type { Effect } from './chain';\r\n\r\n/** Per-effect builder options. Every builder takes exactly one of these. */\r\nexport type {\r\n BlurOptions,\r\n DirectionalBlurOptions,\r\n GrayscaleOptions,\r\n PixelateOptions,\r\n BulgeOptions,\r\n MagnifyOptions,\r\n BloomOptions,\r\n VintageOptions,\r\n ChromaticAberrationOptions,\r\n InvertOptions,\r\n ScatterOptions,\r\n PosterizeOptions,\r\n MotionBlurOptions,\r\n ShaderEffectOptions,\r\n OutlineOptions,\r\n VignetteOptions,\r\n GrainOptions,\r\n SharpenOptions,\r\n EdgesOptions,\r\n ThresholdOptions,\r\n RadialBlurOptions,\r\n HalftoneOptions,\r\n DitherOptions,\r\n DuotoneOptions,\r\n CurvesOptions,\r\n ColorAdjustmentOptions,\r\n LutOptions,\r\n RgbShiftOptions,\r\n ScanlinesOptions,\r\n BlockDisplaceOptions,\r\n BitCrushOptions,\r\n AsciiOptions,\r\n StreakOptions,\r\n GlowOptions,\r\n OilPaintOptions,\r\n WaveOptions,\r\n TwirlOptions,\r\n ProgressiveBlurOptions,\r\n KaleidoscopeOptions,\r\n GlassOptions,\r\n} from './chain';\r\n\r\nexport type { EffectData, EffectMode, EffectSurface, EffectAxis, EffectOptions, ModedEffect } from './effect-data';\r\nexport { EFFECT_OPTION_KEYS, withEffectOptions, resolveEffectAxis, sameEffectAxis } from './effect-data';\r\nexport { resolveEffectColor, sameEffectColor } from './effect-data';\r\nexport { lerpEffect, effectSurface } from './registry';\r\n\r\n/** Backdrop/foreground classification helpers. */\r\nexport { isBackdropEffect, backdropEffects, foregroundShaderEffects } from './backdrop';\r\n\r\n/** Union of all concrete effect types accepted by scene nodes. */\r\nexport { NodeEffect } from './union';\r\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/attributes/shape/effects/index.ts"],"names":[],"mappings":"AAcA,OAAO,EAAE,0BAA0B,EAAE,MAAM,+BAA+B,CAAC;AA6B3E,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAE9E,uEAAuE;AACvE,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAgDhF,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,eAAe,CAAC;AACzG,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AACpE,OAAO,EAAE,UAAU,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,YAAY,CAAC;AAa1F,kDAAkD;AAClD,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC","sourcesContent":["/** Effect data types for each built-in effect. */\r\nexport type { BlurEffect } from \"./implementations/blur\";\r\nexport type { DirectionalBlurEffect } from \"./implementations/directional-blur\";\r\nexport type { GrayscaleEffect } from \"./implementations/grayscale\";\r\nexport type { PixelateEffect } from \"./implementations/pixelate\";\r\nexport type { BulgeEffect } from \"./implementations/bulge\";\r\nexport type { MagnifyEffect } from \"./implementations/magnify\";\r\nexport type { BloomEffect } from \"./implementations/bloom\";\r\nexport type { VintageEffect } from \"./implementations/vintage\";\r\nexport type { ChromaticAberrationEffect } from \"./implementations/chromatic-aberration\";\r\nexport type { InvertEffect, InvertChannel } from \"./implementations/invert\";\r\nexport type { ScatterEffect } from \"./implementations/scatter\";\r\nexport type { PosterizeEffect } from \"./implementations/posterize\";\r\nexport type { MotionBlurEffect, MotionBlurAlignment } from \"./implementations/motion-blur\";\r\nexport { resolveMotionBlurAlignment } from \"./implementations/motion-blur\";\r\nexport type { ShaderEffect } from \"./implementations/shader\";\r\nexport type { OutlineEffect, OutlinePosition } from \"./implementations/outline\";\r\nexport type { DropShadowEffect } from \"./implementations/drop-shadow\";\r\nexport type { VignetteEffect } from \"./implementations/vignette\";\r\nexport type { GrainEffect } from \"./implementations/grain\";\r\nexport type { SharpenEffect } from \"./implementations/sharpen\";\r\nexport type { EdgesEffect, EdgeKernel } from \"./implementations/edges\";\r\nexport type { ThresholdEffect } from \"./implementations/threshold\";\r\nexport type { RadialBlurEffect, RadialBlurStyle } from \"./implementations/radial-blur\";\r\nexport type { HalftoneEffect, HalftoneShape, HalftoneSeparation } from \"./implementations/halftone\";\r\nexport type { DitherEffect, DitherMatrix, DitherNoise } from \"./implementations/dither\";\r\nexport type { DuotoneEffect } from \"./implementations/duotone\";\r\nexport type { CurvesEffect } from \"./implementations/curves\";\r\nexport type { ColorAdjustmentEffect } from \"./implementations/color-adjustment\";\r\nexport type { RgbShiftEffect } from \"./implementations/rgb-shift\";\r\nexport type { ScanlinesEffect } from \"./implementations/scanlines\";\r\nexport type { BlockDisplaceEffect } from \"./implementations/block-displace\";\r\nexport type { BitCrushEffect, BitCrushPalette } from \"./implementations/bit-crush\";\r\nexport type { AsciiEffect, AsciiCharset } from \"./implementations/ascii\";\r\nexport type { StreakEffect } from \"./implementations/streak\";\r\nexport type { GlowChannel, GlowEffect, GlowLoopStyle, GlowOriginal, GlowTint } from \"./implementations/glow\";\r\nexport type { OilPaintEffect } from \"./implementations/oil-paint\";\r\nexport type { WaveEffect, WaveShape } from \"./implementations/wave\";\r\nexport type { TwirlEffect } from \"./implementations/twirl\";\r\nexport type { ProgressiveBlurEffect, ProgressiveBlurShape } from \"./implementations/progressive-blur\";\r\nexport type { KaleidoscopeEffect } from \"./implementations/kaleidoscope\";\r\nexport type { GlassEffect } from \"./implementations/glass\";\r\nexport type { LutEffect } from \"./implementations/lut\";\r\nexport { ASCII_CHARSETS, resolveAsciiCharset } from \"./implementations/ascii\";\r\n\r\n/** Chainable effect builder API, chain class, and union input type. */\r\nexport { Effects, EffectChain, resolveChainEffects, effectsOps } from './chain';\r\nexport type { Effect } from './chain';\r\n\r\n/** Per-effect builder options. Every builder takes exactly one of these. */\r\nexport type {\r\n BlurOptions,\r\n DirectionalBlurOptions,\r\n GrayscaleOptions,\r\n PixelateOptions,\r\n BulgeOptions,\r\n MagnifyOptions,\r\n BloomOptions,\r\n VintageOptions,\r\n ChromaticAberrationOptions,\r\n InvertOptions,\r\n ScatterOptions,\r\n PosterizeOptions,\r\n MotionBlurOptions,\r\n ShaderEffectOptions,\r\n OutlineOptions,\r\n VignetteOptions,\r\n GrainOptions,\r\n SharpenOptions,\r\n EdgesOptions,\r\n ThresholdOptions,\r\n RadialBlurOptions,\r\n HalftoneOptions,\r\n DitherOptions,\r\n DuotoneOptions,\r\n CurvesOptions,\r\n ColorAdjustmentOptions,\r\n LutOptions,\r\n RgbShiftOptions,\r\n ScanlinesOptions,\r\n BlockDisplaceOptions,\r\n BitCrushOptions,\r\n AsciiOptions,\r\n StreakOptions,\r\n GlowOptions,\r\n OilPaintOptions,\r\n WaveOptions,\r\n TwirlOptions,\r\n ProgressiveBlurOptions,\r\n KaleidoscopeOptions,\r\n GlassOptions,\r\n} from './chain';\r\n\r\nexport type { EffectData, EffectMode, EffectSurface, EffectAxis, EffectOptions, ModedEffect } from './effect-data';\r\nexport { EFFECT_OPTION_KEYS, withEffectOptions, resolveEffectAxis, sameEffectAxis } from './effect-data';\r\nexport { resolveEffectColor, sameEffectColor } from './effect-data';\r\nexport { lerpEffect, effectSurface, describeEffect, effectDescriptors } from './registry';\r\n\r\n/** The serialisable description of each built-in effect, for a host's UI (see `describeEffect`). */\r\nexport type {\r\n EffectDescriptor,\r\n EffectParamDescriptor,\r\n EffectParamKind,\r\n EffectParamUnit,\r\n EffectParamControl,\r\n EffectGroup,\r\n EffectJson,\r\n} from './spec';\r\n\r\n/** Backdrop/foreground classification helpers. */\r\nexport { isBackdropEffect, backdropEffects, foregroundShaderEffects } from './backdrop';\r\n\r\n/** Union of all concrete effect types accepted by scene nodes. */\r\nexport { NodeEffect } from './union';\r\n"]}
@@ -1,5 +1,6 @@
1
1
  import { NodeEffect } from "./union.js";
2
2
  import { EffectSurface } from "./effect-data.js";
3
+ import { type EffectDescriptor, type EffectSpec } from "./spec.js";
3
4
  import type { AssetScope } from "../../../assets/scope.js";
4
5
  /**
5
6
  * Normalise one authored effect — see {@link EffectData.resolve}.
@@ -15,6 +16,16 @@ export declare function resolveEffect(effect: NodeEffect): NodeEffect;
15
16
  * hand-kept list that silently misses whatever was added last.
16
17
  */
17
18
  export declare const effectTypes: () => string[];
19
+ /** The spec of a built-in effect type, or `undefined`. */
20
+ export declare function effectSpec(type: string): EffectSpec | undefined;
21
+ /**
22
+ * A built-in effect type described for a host — its fields' kinds, defaults,
23
+ * ranges and inspector hints, as plain JSON (see {@link EffectDescriptor}).
24
+ * `undefined` for a type core does not know.
25
+ */
26
+ export declare function describeEffect(type: string): EffectDescriptor | undefined;
27
+ /** {@link describeEffect} for every built-in effect, in registration order. */
28
+ export declare function effectDescriptors(): EffectDescriptor[];
18
29
  /** True when `type` has a registered `EffectData` handler. */
19
30
  export declare function hasEffect(type: string): boolean;
20
31
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../src/attributes/shape/effects/registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AA2CrC,OAAO,EAAc,aAAa,EAAsB,MAAM,eAAe,CAAC;AAC9E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAsEjD;;;;;GAKG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,UAAU,GAAG,UAAU,CAG5D;AAED;;;;;GAKG;AACH,eAAO,MAAM,WAAW,QAAO,MAAM,EAAyB,CAAC;AAE/D,8DAA8D;AAC9D,wBAAgB,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAE/C;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,UAAU,GAAG,aAAa,CAI/D;AAED,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