pixi-effects 0.47.2 → 0.47.3

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 (54) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/README.md +5 -5
  3. package/ai/chat-template.html +3 -3
  4. package/dist/Composition-6TXRN65C.js +7 -0
  5. package/dist/{Composition-ZYMQ7ZRC.js.map → Composition-6TXRN65C.js.map} +1 -1
  6. package/dist/Composition-IC274CKO.cjs +16 -0
  7. package/dist/{Composition-X6MCEFRH.cjs.map → Composition-IC274CKO.cjs.map} +1 -1
  8. package/dist/{Spans-LCCZ4PW7.js → Spans-3T6ZEEN4.js} +6 -6
  9. package/dist/{Spans-LCCZ4PW7.js.map → Spans-3T6ZEEN4.js.map} +1 -1
  10. package/dist/{Spans-6HSLKR5Q.cjs → Spans-M5KMHT6K.cjs} +11 -11
  11. package/dist/{Spans-6HSLKR5Q.cjs.map → Spans-M5KMHT6K.cjs.map} +1 -1
  12. package/dist/{blendModes-EMANEHZS.js → blendModes-S72MBYKY.js} +4 -4
  13. package/dist/{blendModes-EMANEHZS.js.map → blendModes-S72MBYKY.js.map} +1 -1
  14. package/dist/{blendModes-JUISKPCA.cjs → blendModes-Y56QAMC4.cjs} +5 -5
  15. package/dist/{blendModes-JUISKPCA.cjs.map → blendModes-Y56QAMC4.cjs.map} +1 -1
  16. package/dist/{chunk-TVVC4GVK.cjs → chunk-33OVRSXF.cjs} +29 -29
  17. package/dist/{chunk-TVVC4GVK.cjs.map → chunk-33OVRSXF.cjs.map} +1 -1
  18. package/dist/{chunk-M5P7TXZ2.js → chunk-6LA7W362.js} +7 -7
  19. package/dist/chunk-6LA7W362.js.map +1 -0
  20. package/dist/{chunk-4RC4GXEM.cjs → chunk-GDY56V74.cjs} +92 -92
  21. package/dist/{chunk-4RC4GXEM.cjs.map → chunk-GDY56V74.cjs.map} +1 -1
  22. package/dist/{chunk-YF4JC2AL.js → chunk-HGKXEPDJ.js} +5 -5
  23. package/dist/{chunk-YF4JC2AL.js.map → chunk-HGKXEPDJ.js.map} +1 -1
  24. package/dist/{chunk-AOQRB6AU.js → chunk-HX73PCVU.js} +5 -5
  25. package/dist/{chunk-AOQRB6AU.js.map → chunk-HX73PCVU.js.map} +1 -1
  26. package/dist/{chunk-P2P7C2KZ.js → chunk-JVO2W77G.js} +3 -3
  27. package/dist/chunk-JVO2W77G.js.map +1 -0
  28. package/dist/{chunk-R43646JP.js → chunk-PC7DFDCV.js} +4 -4
  29. package/dist/{chunk-R43646JP.js.map → chunk-PC7DFDCV.js.map} +1 -1
  30. package/dist/{chunk-DQVUKP5G.cjs → chunk-RU4N3B5B.cjs} +5 -5
  31. package/dist/{chunk-DQVUKP5G.cjs.map → chunk-RU4N3B5B.cjs.map} +1 -1
  32. package/dist/{chunk-UXPTDNNA.cjs → chunk-VTGJRKW4.cjs} +50 -50
  33. package/dist/chunk-VTGJRKW4.cjs.map +1 -0
  34. package/dist/{chunk-2YV7ISX6.cjs → chunk-YSTOH5PC.cjs} +3 -3
  35. package/dist/chunk-YSTOH5PC.cjs.map +1 -0
  36. package/dist/index.cjs +35 -35
  37. package/dist/index.js +5 -5
  38. package/dist/loader.css +1 -1
  39. package/dist/present.cjs +5 -5
  40. package/dist/present.js +5 -5
  41. package/dist/three.cjs +6 -6
  42. package/dist/three.js +2 -2
  43. package/docs/dsl.md +2 -2
  44. package/llms-full.txt +4 -4
  45. package/package.json +1 -1
  46. package/skills/pixi-effects/SKILL.md +1 -1
  47. package/skills/pixi-effects/reference/cheatsheet.md +1 -1
  48. package/skills/pixi-effects/template.html +6 -6
  49. package/dist/Composition-X6MCEFRH.cjs +0 -16
  50. package/dist/Composition-ZYMQ7ZRC.js +0 -7
  51. package/dist/chunk-2YV7ISX6.cjs.map +0 -1
  52. package/dist/chunk-M5P7TXZ2.js.map +0 -1
  53. package/dist/chunk-P2P7C2KZ.js.map +0 -1
  54. package/dist/chunk-UXPTDNNA.cjs.map +0 -1
@@ -1,8 +1,8 @@
1
- import { CompositionSequence, maskSourceOf } from './chunk-AOQRB6AU.js';
2
- import { EXPRESSION_NAMES, createTimeline, lengthen, ensureFilterLibrary, checkEase, parseEase, homeDistance, DEFAULT_FOV, random, noise, flattenSvgPath, trimPolylines, rand, DEG, timeRemapOf, contentLength, resolveAt, parseSpring, springDuration, spansMeta } from './chunk-YF4JC2AL.js';
1
+ import { CompositionSequence, maskSourceOf } from './chunk-HX73PCVU.js';
2
+ import { EXPRESSION_NAMES, createTimeline, lengthen, ensureFilterLibrary, checkEase, parseEase, homeDistance, DEFAULT_FOV, random, noise, flattenSvgPath, trimPolylines, rand, DEG, timeRemapOf, contentLength, resolveAt, parseSpring, springDuration, spansMeta } from './chunk-HGKXEPDJ.js';
3
3
  import { analyzeAudio, fft, resampleThrough, playSpan, measureLoudness } from './chunk-G4PXCV2B.js';
4
- import { usesAdvancedBlend, enableAdvancedBlend } from './chunk-R43646JP.js';
5
- import { describeLayer } from './chunk-P2P7C2KZ.js';
4
+ import { usesAdvancedBlend, enableAdvancedBlend } from './chunk-PC7DFDCV.js';
5
+ import { describeLayer } from './chunk-JVO2W77G.js';
6
6
  import { warnUnknownOptions, suggestName } from './chunk-BXOCEZ4U.js';
7
7
  import { extensions, CullerPlugin, Application, Container, Rectangle, Culler, CanvasTextMetrics, TextStyle, Assets, ExtensionType, Filter, Texture, UniformGroup, GpuProgram, GlProgram, defaultFilterVert, Text, CanvasTextGenerator, CanvasPool } from 'pixi.js';
8
8
  import { Output, BufferTarget, CanvasSource, AudioBufferSource, Input, ALL_FORMATS, BlobSource, WavOutputFormat, Conversion, VideoSampleSink, OggOutputFormat, QUALITY_VERY_HIGH, QUALITY_HIGH, QUALITY_MEDIUM, QUALITY_LOW, QUALITY_VERY_LOW, MkvOutputFormat, WebMOutputFormat, MovOutputFormat, Mp4OutputFormat, canEncodeVideo, getFirstEncodableAudioCodec } from 'mediabunny';
@@ -3931,7 +3931,7 @@ var ALIGN = ["left", "center", "right"];
3931
3931
  var widthOf = (text, style) => CanvasTextMetrics.measureText(text, style).width;
3932
3932
  function measureText(text, style = {}) {
3933
3933
  const m = CanvasTextMetrics.measureText(text, new TextStyle(style));
3934
- return { width: m.width, height: m.height, lines: text.split("\n").length };
3934
+ return { width: m.width, height: m.height, lines: m.lines?.length ?? text.split("\n").length };
3935
3935
  }
3936
3936
  function splitText(text, style = {}, opts = {}) {
3937
3937
  warnUnknownOptions("splitText()", opts, ["by", "x", "y", "align", "vertical"]);
@@ -5000,5 +5000,5 @@ function withFade(spec, opts) {
5000
5000
  }
5001
5001
 
5002
5002
  export { Movie, animateText, audioEnvelope, bpmEnvelope, cameraPath, computeEnvelope, dismissLoader, failLoader, followPath, kenBurns, measureText, musicBuffer, musicEnvelope, musicEvents, orbit, parseEase2 as parseEase, particles, react, resolveLoader, samplePath, splitText, stagger, wiggle, withFade };
5003
- //# sourceMappingURL=chunk-M5P7TXZ2.js.map
5004
- //# sourceMappingURL=chunk-M5P7TXZ2.js.map
5003
+ //# sourceMappingURL=chunk-6LA7W362.js.map
5004
+ //# sourceMappingURL=chunk-6LA7W362.js.map