pixi-effects 0.25.0 → 0.26.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 (56) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +13 -13
  3. package/ai/CHAT.md +2 -2
  4. package/ai/chat-template.html +3 -3
  5. package/ai/tools/check.mjs +15 -3
  6. package/ai/tools/pixi-effects.mjs +48 -0
  7. package/ai/tools/render.mjs +3 -3
  8. package/ai/tools/view.mjs +3 -3
  9. package/dist/{Base-BgnRXbtJ.d.ts → Base-CpdDs4HT.d.ts} +1 -1
  10. package/dist/{Base-DHVKqA46.d.cts → Base-TbBhHPrG.d.cts} +1 -1
  11. package/dist/Composition-THQPG4E5.cjs +16 -0
  12. package/dist/{Composition-2GJSCHPP.cjs.map → Composition-THQPG4E5.cjs.map} +1 -1
  13. package/dist/Composition-Z2VY3KWZ.js +7 -0
  14. package/dist/{Composition-C4FSWJZF.js.map → Composition-Z2VY3KWZ.js.map} +1 -1
  15. package/dist/Controller.d.cts +2 -2
  16. package/dist/Controller.d.ts +2 -2
  17. package/dist/{Movie-FM5m67V0.d.ts → Movie-DVeDTdnc.d.ts} +25 -2
  18. package/dist/{Movie-CTpN1wYL.d.cts → Movie-i05Oh9mJ.d.cts} +25 -2
  19. package/dist/Presenter.d.cts +2 -2
  20. package/dist/Presenter.d.ts +2 -2
  21. package/dist/{chunk-DP37TTMO.cjs → chunk-EABL3UKJ.cjs} +5 -3
  22. package/dist/chunk-EABL3UKJ.cjs.map +1 -0
  23. package/dist/{chunk-SY27HZC5.cjs → chunk-H3RHEH5W.cjs} +59 -59
  24. package/dist/{chunk-SY27HZC5.cjs.map → chunk-H3RHEH5W.cjs.map} +1 -1
  25. package/dist/{chunk-PRZ4U6JN.js → chunk-JHJNEIDI.js} +5 -3
  26. package/dist/chunk-JHJNEIDI.js.map +1 -0
  27. package/dist/{chunk-XS6GSJCN.js → chunk-YEVAUQ6Y.js} +3 -3
  28. package/dist/{chunk-XS6GSJCN.js.map → chunk-YEVAUQ6Y.js.map} +1 -1
  29. package/dist/index.cjs +193 -32
  30. package/dist/index.cjs.map +1 -1
  31. package/dist/index.d.cts +4 -4
  32. package/dist/index.d.ts +4 -4
  33. package/dist/index.js +169 -8
  34. package/dist/index.js.map +1 -1
  35. package/dist/loader.css +35 -2
  36. package/dist/three.cjs +5 -5
  37. package/dist/three.d.cts +2 -2
  38. package/dist/three.d.ts +2 -2
  39. package/dist/three.js +1 -1
  40. package/dist/{types-CoT0ypcx.d.cts → types-DSGwN5w1.d.cts} +2 -0
  41. package/dist/{types-CoT0ypcx.d.ts → types-DSGwN5w1.d.ts} +2 -0
  42. package/docs/api.md +4 -3
  43. package/docs/dsl.md +2 -2
  44. package/llms-full.txt +34 -25
  45. package/llms.txt +6 -5
  46. package/package.json +3 -3
  47. package/{ai → skills/pixi-effects}/SKILL.md +11 -9
  48. package/{ai → skills/pixi-effects}/reference/cheatsheet.md +3 -3
  49. package/{ai → skills/pixi-effects}/reference/pitfalls.md +9 -3
  50. package/{ai → skills/pixi-effects}/reference/recipes.md +2 -2
  51. package/{ai/tools → skills/pixi-effects/scripts}/save-image.py +1 -1
  52. package/{ai → skills/pixi-effects}/template.html +7 -6
  53. package/dist/Composition-2GJSCHPP.cjs +0 -16
  54. package/dist/Composition-C4FSWJZF.js +0 -7
  55. package/dist/chunk-DP37TTMO.cjs.map +0 -1
  56. package/dist/chunk-PRZ4U6JN.js.map +0 -1
@@ -4344,7 +4344,7 @@ function resolveDim(v, scope) {
4344
4344
  var _CompositionSequence = null;
4345
4345
  async function getCompositionSequence() {
4346
4346
  if (!_CompositionSequence) {
4347
- _CompositionSequence = (await import('./Composition-C4FSWJZF.js')).CompositionSequence;
4347
+ _CompositionSequence = (await import('./Composition-Z2VY3KWZ.js')).CompositionSequence;
4348
4348
  }
4349
4349
  return _CompositionSequence;
4350
4350
  }
@@ -4372,10 +4372,12 @@ async function buildSequenceTree(specs, parent, root) {
4372
4372
  }
4373
4373
  if (!Cls) {
4374
4374
  console.warn(`pixi-effects: unknown sequence type "${spec.type}"`);
4375
+ await root.onLayerBuilt?.();
4375
4376
  continue;
4376
4377
  }
4377
4378
  const seq = new Cls(spec, parent, root);
4378
4379
  await seq.build();
4380
+ await root.onLayerBuilt?.();
4379
4381
  if (seq.duration === void 0) {
4380
4382
  seq.duration = parent?.duration ?? root.duration;
4381
4383
  }
@@ -4385,5 +4387,5 @@ async function buildSequenceTree(specs, parent, root) {
4385
4387
  }
4386
4388
 
4387
4389
  export { CameraSequence, DEFAULT_FOV, DEG2 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, ensureFilterLibrary, evaluateExpr, flattenSvgPath, focusProblems, homeCamera, homeDistance, layerInitialZ, layerToWorld, lightLevel, noise, packLights, projectLayer, projectPoint, rand, random, registerSequenceType, remapOf, resolveAt, timeRemapOf };
4388
- //# sourceMappingURL=chunk-PRZ4U6JN.js.map
4389
- //# sourceMappingURL=chunk-PRZ4U6JN.js.map
4390
+ //# sourceMappingURL=chunk-JHJNEIDI.js.map
4391
+ //# sourceMappingURL=chunk-JHJNEIDI.js.map