pixi-effects 0.27.0 → 0.27.1

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 (50) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/README.md +9 -5
  3. package/ai/chat-template.html +3 -3
  4. package/dist/{Base-CVezIEdo.d.ts → Base-CKGl6jCo.d.ts} +1 -1
  5. package/dist/{Base-DzC3i919.d.cts → Base-DjhdL8B1.d.cts} +1 -1
  6. package/dist/Composition-BJVY5HP7.js +7 -0
  7. package/dist/{Composition-4TYDRRRY.js.map → Composition-BJVY5HP7.js.map} +1 -1
  8. package/dist/Composition-YW2G6EXL.cjs +16 -0
  9. package/dist/{Composition-QCOWQSDB.cjs.map → Composition-YW2G6EXL.cjs.map} +1 -1
  10. package/dist/Controller.d.cts +2 -2
  11. package/dist/Controller.d.ts +2 -2
  12. package/dist/{Movie-CQ0Nz62a.d.cts → Movie-CbYwTs6U.d.cts} +1 -1
  13. package/dist/{Movie-M9dKm9dI.d.ts → Movie-ILKq2fw_.d.ts} +1 -1
  14. package/dist/Presenter.d.cts +2 -2
  15. package/dist/Presenter.d.ts +2 -2
  16. package/dist/{chunk-CKTS6G6I.js → chunk-AR3HVHKF.js} +3 -3
  17. package/dist/{chunk-CKTS6G6I.js.map → chunk-AR3HVHKF.js.map} +1 -1
  18. package/dist/{chunk-RQMI7EJT.cjs → chunk-ETKTRQL2.cjs} +5 -5
  19. package/dist/chunk-ETKTRQL2.cjs.map +1 -0
  20. package/dist/{chunk-NDR2VQFV.cjs → chunk-VH5R473P.cjs} +61 -61
  21. package/dist/{chunk-NDR2VQFV.cjs.map → chunk-VH5R473P.cjs.map} +1 -1
  22. package/dist/{chunk-TGJACVLD.js → chunk-X42BGR6P.js} +5 -5
  23. package/dist/chunk-X42BGR6P.js.map +1 -0
  24. package/dist/index.cjs +58 -40
  25. package/dist/index.cjs.map +1 -1
  26. package/dist/index.d.cts +4 -4
  27. package/dist/index.d.ts +4 -4
  28. package/dist/index.js +31 -13
  29. package/dist/index.js.map +1 -1
  30. package/dist/loader.css +1 -1
  31. package/dist/{music-3O5MDQXY.js → music-JVRNXHQ5.js} +34 -7
  32. package/dist/music-JVRNXHQ5.js.map +1 -0
  33. package/dist/{music-4O367SPR.cjs → music-YPUZTWTN.cjs} +34 -6
  34. package/dist/music-YPUZTWTN.cjs.map +1 -0
  35. package/dist/three.cjs +5 -5
  36. package/dist/three.d.cts +2 -2
  37. package/dist/three.d.ts +2 -2
  38. package/dist/three.js +1 -1
  39. package/dist/{types-DUVefWiB.d.cts → types-BNVsBBZf.d.cts} +2 -0
  40. package/dist/{types-DUVefWiB.d.ts → types-BNVsBBZf.d.ts} +2 -0
  41. package/llms-full.txt +1 -1
  42. package/package.json +2 -2
  43. package/skills/pixi-effects/SKILL.md +1 -1
  44. package/skills/pixi-effects/template.html +6 -6
  45. package/dist/Composition-4TYDRRRY.js +0 -7
  46. package/dist/Composition-QCOWQSDB.cjs +0 -16
  47. package/dist/chunk-RQMI7EJT.cjs.map +0 -1
  48. package/dist/chunk-TGJACVLD.js.map +0 -1
  49. package/dist/music-3O5MDQXY.js.map +0 -1
  50. package/dist/music-4O367SPR.cjs.map +0 -1
@@ -3684,7 +3684,7 @@ var AudioSequence = class extends Sequence {
3684
3684
  const raw = spec;
3685
3685
  if (raw.asset !== void 0) console.warn(`pixi-effects: ${who}: has both asset and music \u2014 the music plays; remove one`);
3686
3686
  if (raw.sfx !== void 0) console.warn(`pixi-effects: ${who}: has both sfx and music \u2014 the music plays; remove one`);
3687
- const { resolveMusic, renderMusic, musicLength, musicKey } = await import('./music-3O5MDQXY.js');
3687
+ const { resolveMusic, renderMusic, renderMusicAsync, musicLength, musicKey } = await import('./music-JVRNXHQ5.js');
3688
3688
  const music = resolveMusic(spec.music, who);
3689
3689
  if (!music) return;
3690
3690
  const natural = musicLength(music);
@@ -3701,7 +3701,7 @@ var AudioSequence = class extends Sequence {
3701
3701
  this.duration = length;
3702
3702
  const loop = !!spec.loop;
3703
3703
  this._source = "music";
3704
- this._synth = { key: musicKey(music, length, loop), render: (sr) => renderMusic(music, sr, length, loop) };
3704
+ this._synth = { key: musicKey(music, length, loop), render: (sr) => renderMusic(music, sr, length, loop), renderAsync: (sr, pace) => renderMusicAsync(music, sr, length, loop, pace) };
3705
3705
  }
3706
3706
  bindTimeline(_timeline) {
3707
3707
  }
@@ -5384,7 +5384,7 @@ function resolveDim(v, scope) {
5384
5384
  var _CompositionSequence = null;
5385
5385
  async function getCompositionSequence() {
5386
5386
  if (!_CompositionSequence) {
5387
- _CompositionSequence = (await import('./Composition-4TYDRRRY.js')).CompositionSequence;
5387
+ _CompositionSequence = (await import('./Composition-BJVY5HP7.js')).CompositionSequence;
5388
5388
  }
5389
5389
  return _CompositionSequence;
5390
5390
  }
@@ -5427,5 +5427,5 @@ async function buildSequenceTree(specs, parent, root) {
5427
5427
  }
5428
5428
 
5429
5429
  export { CameraSequence, DEFAULT_FOV, DEG3 as DEG, FALLOFFS, LIGHT_KINDS, LIGHT_PROPS, LightSequence, MANY_BLURRED, MAX_BLUR, MAX_CASTERS, MAX_LIGHTS, MIN_BLUR, NEAR, NullSequence, SHADOW_TAPS, Sequence, bindClock, blurRadius, buildScope, buildSequenceTree, cameraBasis, checkEase, clockTable, contentLength, createTimeline, ensureFilterLibrary, evaluateExpr, flattenSvgPath, focusProblems, homeCamera, homeDistance, layerInitialZ, layerToWorld, lengthen, lightLevel, noise, packLights, parseEase, projectLayer, projectPoint, rand, random, registerSequenceType, remapOf, resolveAt, timeRemapOf };
5430
- //# sourceMappingURL=chunk-TGJACVLD.js.map
5431
- //# sourceMappingURL=chunk-TGJACVLD.js.map
5430
+ //# sourceMappingURL=chunk-X42BGR6P.js.map
5431
+ //# sourceMappingURL=chunk-X42BGR6P.js.map