pixi-effects 0.49.0 → 0.50.0
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.
- package/CHANGELOG.md +9 -0
- package/README.md +8 -7
- package/ai/chat-template.html +4 -4
- package/ai/tools/check.mjs +6 -6
- package/dist/3d.cjs +17 -13
- package/dist/3d.cjs.map +1 -1
- package/dist/3d.d.cts +3 -1
- package/dist/3d.d.ts +3 -1
- package/dist/3d.js +9 -5
- package/dist/3d.js.map +1 -1
- package/dist/Composition-47U5U637.cjs +16 -0
- package/dist/{Composition-464AWDV6.cjs.map → Composition-47U5U637.cjs.map} +1 -1
- package/dist/Composition-GVWWLFDL.js +7 -0
- package/dist/{Composition-5U63LMPX.js.map → Composition-GVWWLFDL.js.map} +1 -1
- package/dist/Controller.d.cts +2 -2
- package/dist/Controller.d.ts +2 -2
- package/dist/{Movie-BxB7bauG.d.cts → Movie-DogzDBuW.d.cts} +20 -5
- package/dist/{Movie-6EWOz6Yw.d.ts → Movie-Y7iHg2V8.d.ts} +20 -5
- package/dist/{Spans-W5VJRMGC.js → Spans-3SEZSTQV.js} +6 -6
- package/dist/{Spans-W5VJRMGC.js.map → Spans-3SEZSTQV.js.map} +1 -1
- package/dist/{Spans-DUR2W5EH.cjs → Spans-R426NVY3.cjs} +11 -11
- package/dist/{Spans-DUR2W5EH.cjs.map → Spans-R426NVY3.cjs.map} +1 -1
- package/dist/{blendModes-NC76DNVX.cjs → blendModes-2IDILRN6.cjs} +5 -5
- package/dist/{blendModes-NC76DNVX.cjs.map → blendModes-2IDILRN6.cjs.map} +1 -1
- package/dist/{blendModes-ZOBLPSR3.js → blendModes-4QH44GOL.js} +4 -4
- package/dist/{blendModes-ZOBLPSR3.js.map → blendModes-4QH44GOL.js.map} +1 -1
- package/dist/{chunk-ABWRISRK.cjs → chunk-3FCDRLW3.cjs} +4 -3
- package/dist/chunk-3FCDRLW3.cjs.map +1 -0
- package/dist/{chunk-MXACRKAN.js → chunk-C2HL5236.js} +4 -4
- package/dist/{chunk-MXACRKAN.js.map → chunk-C2HL5236.js.map} +1 -1
- package/dist/{chunk-5YNME6AH.cjs → chunk-GXGIISFS.cjs} +5 -5
- package/dist/{chunk-5YNME6AH.cjs.map → chunk-GXGIISFS.cjs.map} +1 -1
- package/dist/{chunk-H363KMJR.js → chunk-J4ZP76IL.js} +4 -3
- package/dist/chunk-J4ZP76IL.js.map +1 -0
- package/dist/{chunk-BSFWVTSR.cjs → chunk-O2MD3L4J.cjs} +92 -92
- package/dist/{chunk-BSFWVTSR.cjs.map → chunk-O2MD3L4J.cjs.map} +1 -1
- package/dist/{chunk-DOGY3EAW.js → chunk-SSVHAF3Q.js} +470 -17
- package/dist/chunk-SSVHAF3Q.js.map +1 -0
- package/dist/{chunk-USUUAYTE.js → chunk-TXNQLMRT.js} +5 -5
- package/dist/{chunk-USUUAYTE.js.map → chunk-TXNQLMRT.js.map} +1 -1
- package/dist/{chunk-PBMDZT2T.js → chunk-UTUUOQ47.js} +39 -16
- package/dist/chunk-UTUUOQ47.js.map +1 -0
- package/dist/{chunk-33USHRV5.cjs → chunk-VVUSZVP7.cjs} +493 -39
- package/dist/chunk-VVUSZVP7.cjs.map +1 -0
- package/dist/{chunk-GUDLIAIG.cjs → chunk-YOKRPAKA.cjs} +82 -59
- package/dist/chunk-YOKRPAKA.cjs.map +1 -0
- package/dist/index.cjs +35 -35
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +5 -5
- package/dist/loader.css +1 -1
- package/dist/present.cjs +5 -5
- package/dist/present.d.cts +2 -2
- package/dist/present.d.ts +2 -2
- package/dist/present.js +5 -5
- package/dist/three.cjs +13 -9
- package/dist/three.cjs.map +1 -1
- package/dist/three.d.cts +3 -1
- package/dist/three.d.ts +3 -1
- package/dist/three.js +8 -4
- package/dist/three.js.map +1 -1
- package/dist/{types-kt7DQKfO.d.cts → types-BZngm4nT.d.cts} +48 -5
- package/dist/{types-kt7DQKfO.d.ts → types-BZngm4nT.d.ts} +48 -5
- package/docs/api.md +4 -1
- package/docs/dsl.md +35 -1
- package/llms-full.txt +91 -3
- package/package.json +1 -1
- package/skills/pixi-effects/SKILL.md +2 -1
- package/skills/pixi-effects/reference/cheatsheet.md +2 -0
- package/skills/pixi-effects/reference/pitfalls.md +6 -0
- package/skills/pixi-effects/reference/recipes.md +42 -0
- package/skills/pixi-effects/template.html +8 -7
- package/dist/Composition-464AWDV6.cjs +0 -16
- package/dist/Composition-5U63LMPX.js +0 -7
- package/dist/chunk-33USHRV5.cjs.map +0 -1
- package/dist/chunk-ABWRISRK.cjs.map +0 -1
- package/dist/chunk-DOGY3EAW.js.map +0 -1
- package/dist/chunk-GUDLIAIG.cjs.map +0 -1
- package/dist/chunk-H363KMJR.js.map +0 -1
- package/dist/chunk-PBMDZT2T.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,111 +1,111 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkYOKRPAKA_cjs = require('./chunk-YOKRPAKA.cjs');
|
|
4
|
+
require('./chunk-O2MD3L4J.cjs');
|
|
5
5
|
var chunkVQXZ2NOI_cjs = require('./chunk-VQXZ2NOI.cjs');
|
|
6
|
-
var
|
|
6
|
+
var chunkVVUSZVP7_cjs = require('./chunk-VVUSZVP7.cjs');
|
|
7
7
|
var chunkZAHCGFGC_cjs = require('./chunk-ZAHCGFGC.cjs');
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-GXGIISFS.cjs');
|
|
9
|
+
require('./chunk-3FCDRLW3.cjs');
|
|
10
10
|
var chunkDOLTCXCL_cjs = require('./chunk-DOLTCXCL.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
Object.defineProperty(exports, "Movie", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkYOKRPAKA_cjs.Movie; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "animateText", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkYOKRPAKA_cjs.animateText; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "audioEnvelope", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkYOKRPAKA_cjs.audioEnvelope; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "bpmEnvelope", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkYOKRPAKA_cjs.bpmEnvelope; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "cameraPath", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkYOKRPAKA_cjs.cameraPath; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "computeEnvelope", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkYOKRPAKA_cjs.computeEnvelope; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "dismissLoader", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkYOKRPAKA_cjs.dismissLoader; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "ease", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkYOKRPAKA_cjs.parseEase; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "failLoader", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkYOKRPAKA_cjs.failLoader; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "followPath", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkYOKRPAKA_cjs.followPath; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "kenBurns", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkYOKRPAKA_cjs.kenBurns; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "measureText", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkYOKRPAKA_cjs.measureText; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "musicBuffer", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkYOKRPAKA_cjs.musicBuffer; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "musicEnvelope", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkYOKRPAKA_cjs.musicEnvelope; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "musicEvents", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkYOKRPAKA_cjs.musicEvents; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "orbit", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkYOKRPAKA_cjs.orbit; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "particles", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkYOKRPAKA_cjs.particles; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "react", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkYOKRPAKA_cjs.react; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "resolveLoader", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkYOKRPAKA_cjs.resolveLoader; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "samplePath", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkYOKRPAKA_cjs.samplePath; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "splitText", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkYOKRPAKA_cjs.splitText; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "stagger", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkYOKRPAKA_cjs.stagger; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "wiggle", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkYOKRPAKA_cjs.wiggle; }
|
|
105
105
|
});
|
|
106
106
|
Object.defineProperty(exports, "withFade", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkYOKRPAKA_cjs.withFade; }
|
|
109
109
|
});
|
|
110
110
|
Object.defineProperty(exports, "useMediabunny", {
|
|
111
111
|
enumerable: true,
|
|
@@ -113,27 +113,27 @@ Object.defineProperty(exports, "useMediabunny", {
|
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "Sequence", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkVVUSZVP7_cjs.Sequence; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "noise", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkVVUSZVP7_cjs.noise; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "noise2", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkVVUSZVP7_cjs.noise2; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "rand", {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkVVUSZVP7_cjs.rand; }
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "random", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkVVUSZVP7_cjs.random; }
|
|
133
133
|
});
|
|
134
134
|
Object.defineProperty(exports, "registerSequenceType", {
|
|
135
135
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkVVUSZVP7_cjs.registerSequenceType; }
|
|
137
137
|
});
|
|
138
138
|
Object.defineProperty(exports, "inspectSound", {
|
|
139
139
|
enumerable: true,
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { C as ContactSheetOptions, F as FontReport, b as FrameEvent, H as HoverOptions, I as InspectOptions, c as InspectReport, d as IssueGroup, L as LayerInfo, e as LoadProgressState, f as LoadStage, g as LoaderOption, h as LoopEvent, i as MotionBlurOptions, a as MotionBlurSpec, M as Movie, j as MovieErrorEvent, k as MovieOptions, O as OnionSkinOptions, P as PickHit, l as PickOptions, m as ProgressEvent, R as RebuildOptions, n as RebuildReason, o as RebuildReport, p as RenderOptions, q as ReviewOptions, r as ReviewReport, S as SnapshotOptions, T as ThumbnailOptions, s as TimelineData, t as TimelineHtmlOptions, u as TimelineRow, v as TimelineSvgOptions, w as TimelineTransition, V as VolumeEvent, x as dismissLoader, y as failLoader, z as resolveLoader } from './Movie-
|
|
2
|
-
import { S as SequenceSpec, g as CompositionShape, e as Sequence, I as ImageSequenceSpec, h as CameraSequenceSpec, K as Keyframe, i as TextSequenceSpec, M as MusicOptions, c as SequenceCommon } from './types-
|
|
3
|
-
export { j as ArcShapeSpec, A as AssetSpec, k as AudioAssetSpec, l as AudioMusicSpec, m as AudioSequenceSpec, n as AudioSfxSpec, B as BlendModeName, o as CanvasInfo, p as CanvasSequenceSpec, q as ChromaKeyFilterSpec, r as CircleShapeSpec, s as CompositionSequenceSpec, C as CompositionSpec, t as CrossfadeTransition, u as CustomFilterSpec, D as DipTransition, v as DissolveTransition, E as EllipseShapeSpec, w as Expr, F as FilterSpec, G as GradientSpec, x as IrisTransition, L as LightSequenceSpec, y as LineShapeSpec, z as LumaTransition, H as MaskRefSpec, J as MatteRefSpec, N as MusicDrum, O as MusicDrums, Q as MusicInstrument, R as MusicLevel, U as MusicTrack, V as NullSequenceSpec, W as PathShapeSpec, X as PolygonShapeSpec, d as PropValue, P as Props, Y as RectShapeSpec, Z as
|
|
1
|
+
export { C as ContactSheetOptions, F as FontReport, b as FrameEvent, H as HoverOptions, I as InspectOptions, c as InspectReport, d as IssueGroup, L as LayerInfo, e as LoadProgressState, f as LoadStage, g as LoaderOption, h as LoopEvent, i as MotionBlurOptions, a as MotionBlurSpec, M as Movie, j as MovieErrorEvent, k as MovieOptions, O as OnionSkinOptions, P as PickHit, l as PickOptions, m as ProgressEvent, R as RebuildOptions, n as RebuildReason, o as RebuildReport, p as RenderOptions, q as ReviewOptions, r as ReviewReport, S as SnapshotOptions, T as ThumbnailOptions, s as TimelineData, t as TimelineHtmlOptions, u as TimelineRow, v as TimelineSvgOptions, w as TimelineTransition, V as VolumeEvent, x as dismissLoader, y as failLoader, z as resolveLoader } from './Movie-DogzDBuW.cjs';
|
|
2
|
+
import { S as SequenceSpec, g as CompositionShape, e as Sequence, I as ImageSequenceSpec, h as CameraSequenceSpec, K as Keyframe, i as TextSequenceSpec, M as MusicOptions, c as SequenceCommon } from './types-BZngm4nT.cjs';
|
|
3
|
+
export { j as ArcShapeSpec, A as AssetSpec, k as AudioAssetSpec, l as AudioMusicSpec, m as AudioSequenceSpec, n as AudioSfxSpec, B as BlendModeName, o as CanvasInfo, p as CanvasSequenceSpec, q as ChromaKeyFilterSpec, r as CircleShapeSpec, s as CompositionSequenceSpec, C as CompositionSpec, t as CrossfadeTransition, u as CustomFilterSpec, D as DipTransition, v as DissolveTransition, E as EllipseShapeSpec, w as Expr, F as FilterSpec, G as GradientSpec, x as IrisTransition, L as LightSequenceSpec, y as LineShapeSpec, z as LumaTransition, H as MaskRefSpec, J as MatteRefSpec, N as MusicDrum, O as MusicDrums, Q as MusicInstrument, R as MusicLevel, U as MusicTrack, V as NullSequenceSpec, W as PathShapeSpec, X as PolygonShapeSpec, d as PropValue, P as Props, Y as RectShapeSpec, Z as Scene2DContext, _ as Scene2DSequenceSpec, $ as Scene2DSetupResult, a0 as SfxKnobs, a1 as SfxOptions, a2 as SfxPreset, a3 as SfxVoice, a4 as ShaderSequenceSpec, a5 as ShapeSequenceSpec, a6 as SlideTransition, b as SpaceNow, a as Stop, a7 as StopSpec, a8 as TextSpan, a9 as TransitionCommon, T as TransitionSpec, aa as VideoSequenceSpec, ab as WipeTransition, ac as ZoomTransition } from './types-BZngm4nT.cjs';
|
|
4
4
|
import * as Mediabunny from 'mediabunny';
|
|
5
5
|
import { M as MusicEvents } from './soundEntry-DT13DNt8.cjs';
|
|
6
6
|
export { a as AudioInspectOptions, A as AudioReport, b as AudioSourceReport, c as MusicDrumEvents, d as MusicDrumHit, e as MusicNote, f as MusicSummary, g as MusicTrackEvents, S as SoundMeasure, h as SoundReport, i as inspectSound } from './soundEntry-DT13DNt8.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { C as ContactSheetOptions, F as FontReport, b as FrameEvent, H as HoverOptions, I as InspectOptions, c as InspectReport, d as IssueGroup, L as LayerInfo, e as LoadProgressState, f as LoadStage, g as LoaderOption, h as LoopEvent, i as MotionBlurOptions, a as MotionBlurSpec, M as Movie, j as MovieErrorEvent, k as MovieOptions, O as OnionSkinOptions, P as PickHit, l as PickOptions, m as ProgressEvent, R as RebuildOptions, n as RebuildReason, o as RebuildReport, p as RenderOptions, q as ReviewOptions, r as ReviewReport, S as SnapshotOptions, T as ThumbnailOptions, s as TimelineData, t as TimelineHtmlOptions, u as TimelineRow, v as TimelineSvgOptions, w as TimelineTransition, V as VolumeEvent, x as dismissLoader, y as failLoader, z as resolveLoader } from './Movie-
|
|
2
|
-
import { S as SequenceSpec, g as CompositionShape, e as Sequence, I as ImageSequenceSpec, h as CameraSequenceSpec, K as Keyframe, i as TextSequenceSpec, M as MusicOptions, c as SequenceCommon } from './types-
|
|
3
|
-
export { j as ArcShapeSpec, A as AssetSpec, k as AudioAssetSpec, l as AudioMusicSpec, m as AudioSequenceSpec, n as AudioSfxSpec, B as BlendModeName, o as CanvasInfo, p as CanvasSequenceSpec, q as ChromaKeyFilterSpec, r as CircleShapeSpec, s as CompositionSequenceSpec, C as CompositionSpec, t as CrossfadeTransition, u as CustomFilterSpec, D as DipTransition, v as DissolveTransition, E as EllipseShapeSpec, w as Expr, F as FilterSpec, G as GradientSpec, x as IrisTransition, L as LightSequenceSpec, y as LineShapeSpec, z as LumaTransition, H as MaskRefSpec, J as MatteRefSpec, N as MusicDrum, O as MusicDrums, Q as MusicInstrument, R as MusicLevel, U as MusicTrack, V as NullSequenceSpec, W as PathShapeSpec, X as PolygonShapeSpec, d as PropValue, P as Props, Y as RectShapeSpec, Z as
|
|
1
|
+
export { C as ContactSheetOptions, F as FontReport, b as FrameEvent, H as HoverOptions, I as InspectOptions, c as InspectReport, d as IssueGroup, L as LayerInfo, e as LoadProgressState, f as LoadStage, g as LoaderOption, h as LoopEvent, i as MotionBlurOptions, a as MotionBlurSpec, M as Movie, j as MovieErrorEvent, k as MovieOptions, O as OnionSkinOptions, P as PickHit, l as PickOptions, m as ProgressEvent, R as RebuildOptions, n as RebuildReason, o as RebuildReport, p as RenderOptions, q as ReviewOptions, r as ReviewReport, S as SnapshotOptions, T as ThumbnailOptions, s as TimelineData, t as TimelineHtmlOptions, u as TimelineRow, v as TimelineSvgOptions, w as TimelineTransition, V as VolumeEvent, x as dismissLoader, y as failLoader, z as resolveLoader } from './Movie-Y7iHg2V8.js';
|
|
2
|
+
import { S as SequenceSpec, g as CompositionShape, e as Sequence, I as ImageSequenceSpec, h as CameraSequenceSpec, K as Keyframe, i as TextSequenceSpec, M as MusicOptions, c as SequenceCommon } from './types-BZngm4nT.js';
|
|
3
|
+
export { j as ArcShapeSpec, A as AssetSpec, k as AudioAssetSpec, l as AudioMusicSpec, m as AudioSequenceSpec, n as AudioSfxSpec, B as BlendModeName, o as CanvasInfo, p as CanvasSequenceSpec, q as ChromaKeyFilterSpec, r as CircleShapeSpec, s as CompositionSequenceSpec, C as CompositionSpec, t as CrossfadeTransition, u as CustomFilterSpec, D as DipTransition, v as DissolveTransition, E as EllipseShapeSpec, w as Expr, F as FilterSpec, G as GradientSpec, x as IrisTransition, L as LightSequenceSpec, y as LineShapeSpec, z as LumaTransition, H as MaskRefSpec, J as MatteRefSpec, N as MusicDrum, O as MusicDrums, Q as MusicInstrument, R as MusicLevel, U as MusicTrack, V as NullSequenceSpec, W as PathShapeSpec, X as PolygonShapeSpec, d as PropValue, P as Props, Y as RectShapeSpec, Z as Scene2DContext, _ as Scene2DSequenceSpec, $ as Scene2DSetupResult, a0 as SfxKnobs, a1 as SfxOptions, a2 as SfxPreset, a3 as SfxVoice, a4 as ShaderSequenceSpec, a5 as ShapeSequenceSpec, a6 as SlideTransition, b as SpaceNow, a as Stop, a7 as StopSpec, a8 as TextSpan, a9 as TransitionCommon, T as TransitionSpec, aa as VideoSequenceSpec, ab as WipeTransition, ac as ZoomTransition } from './types-BZngm4nT.js';
|
|
4
4
|
import * as Mediabunny from 'mediabunny';
|
|
5
5
|
import { M as MusicEvents } from './soundEntry-DT13DNt8.js';
|
|
6
6
|
export { a as AudioInspectOptions, A as AudioReport, b as AudioSourceReport, c as MusicDrumEvents, d as MusicDrumHit, e as MusicNote, f as MusicSummary, g as MusicTrackEvents, S as SoundMeasure, h as SoundReport, i as inspectSound } from './soundEntry-DT13DNt8.js';
|
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export { Movie, animateText, audioEnvelope, bpmEnvelope, cameraPath, computeEnvelope, dismissLoader, parseEase as ease, failLoader, followPath, kenBurns, measureText, musicBuffer, musicEnvelope, musicEvents, orbit, particles, react, resolveLoader, samplePath, splitText, stagger, wiggle, withFade } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
export { Movie, animateText, audioEnvelope, bpmEnvelope, cameraPath, computeEnvelope, dismissLoader, parseEase as ease, failLoader, followPath, kenBurns, measureText, musicBuffer, musicEnvelope, musicEvents, orbit, particles, react, resolveLoader, samplePath, splitText, stagger, wiggle, withFade } from './chunk-UTUUOQ47.js';
|
|
2
|
+
import './chunk-TXNQLMRT.js';
|
|
3
3
|
export { useMediabunny } from './chunk-K3XOEC3C.js';
|
|
4
|
-
export { Sequence, noise, noise2, rand, random, registerSequenceType } from './chunk-
|
|
4
|
+
export { Sequence, noise, noise2, rand, random, registerSequenceType } from './chunk-SSVHAF3Q.js';
|
|
5
5
|
export { inspectSound } from './chunk-G4PXCV2B.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
6
|
+
import './chunk-C2HL5236.js';
|
|
7
|
+
import './chunk-J4ZP76IL.js';
|
|
8
8
|
export { warnUnknownOptions } from './chunk-WGRWFQOB.js';
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
10
10
|
//# sourceMappingURL=index.js.map
|
package/dist/loader.css
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* pixi-effects loader: one line of HTML on the page, a few lines of CSS, no JavaScript of your own.
|
|
3
3
|
*
|
|
4
|
-
* <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/pixi-effects@0.
|
|
4
|
+
* <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/pixi-effects@0.50.0/dist/loader.css">
|
|
5
5
|
* <div class="stage" style="position: relative"> <!-- any box the canvas sits in, with position: relative -->
|
|
6
6
|
* <canvas id="stage" width="1280" height="720"></canvas>
|
|
7
7
|
* <div class="pe-loader" data-label="LOADING"></div> <!-- or class="pe-loader pe-loader--bar" -->
|
package/dist/present.cjs
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./chunk-
|
|
4
|
-
require('./chunk-
|
|
3
|
+
require('./chunk-YOKRPAKA.cjs');
|
|
4
|
+
require('./chunk-O2MD3L4J.cjs');
|
|
5
5
|
require('./chunk-VQXZ2NOI.cjs');
|
|
6
|
-
require('./chunk-
|
|
6
|
+
require('./chunk-VVUSZVP7.cjs');
|
|
7
7
|
require('./chunk-ZAHCGFGC.cjs');
|
|
8
|
-
require('./chunk-
|
|
9
|
-
require('./chunk-
|
|
8
|
+
require('./chunk-GXGIISFS.cjs');
|
|
9
|
+
require('./chunk-3FCDRLW3.cjs');
|
|
10
10
|
var chunkDOLTCXCL_cjs = require('./chunk-DOLTCXCL.cjs');
|
|
11
11
|
|
|
12
12
|
// src/present/stops.ts
|
package/dist/present.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as Movie, a as MotionBlurSpec } from './Movie-
|
|
2
|
-
import { S as SequenceSpec, P as Props, K as Keyframe, T as TransitionSpec, C as CompositionSpec, a as Stop } from './types-
|
|
1
|
+
import { M as Movie, a as MotionBlurSpec } from './Movie-DogzDBuW.cjs';
|
|
2
|
+
import { S as SequenceSpec, P as Props, K as Keyframe, T as TransitionSpec, C as CompositionSpec, a as Stop } from './types-BZngm4nT.cjs';
|
|
3
3
|
import 'pixi.js';
|
|
4
4
|
import './soundEntry-DT13DNt8.cjs';
|
|
5
5
|
|
package/dist/present.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { M as Movie, a as MotionBlurSpec } from './Movie-
|
|
2
|
-
import { S as SequenceSpec, P as Props, K as Keyframe, T as TransitionSpec, C as CompositionSpec, a as Stop } from './types-
|
|
1
|
+
import { M as Movie, a as MotionBlurSpec } from './Movie-Y7iHg2V8.js';
|
|
2
|
+
import { S as SequenceSpec, P as Props, K as Keyframe, T as TransitionSpec, C as CompositionSpec, a as Stop } from './types-BZngm4nT.js';
|
|
3
3
|
import 'pixi.js';
|
|
4
4
|
import './soundEntry-DT13DNt8.js';
|
|
5
5
|
|
package/dist/present.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
import './chunk-UTUUOQ47.js';
|
|
2
|
+
import './chunk-TXNQLMRT.js';
|
|
3
3
|
import './chunk-K3XOEC3C.js';
|
|
4
|
-
import './chunk-
|
|
4
|
+
import './chunk-SSVHAF3Q.js';
|
|
5
5
|
import './chunk-G4PXCV2B.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
6
|
+
import './chunk-C2HL5236.js';
|
|
7
|
+
import './chunk-J4ZP76IL.js';
|
|
8
8
|
import { warnUnknownOptions } from './chunk-WGRWFQOB.js';
|
|
9
9
|
|
|
10
10
|
// src/present/stops.ts
|
package/dist/three.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('./chunk-
|
|
3
|
+
var chunkVVUSZVP7_cjs = require('./chunk-VVUSZVP7.cjs');
|
|
4
|
+
require('./chunk-3FCDRLW3.cjs');
|
|
5
5
|
require('./chunk-DOLTCXCL.cjs');
|
|
6
6
|
var pixi_js = require('pixi.js');
|
|
7
7
|
var three$1 = require('three');
|
|
@@ -169,7 +169,7 @@ function releaseThree(kind) {
|
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
// src/three/ThreeSequence.ts
|
|
172
|
-
var ThreeSequence = class extends
|
|
172
|
+
var ThreeSequence = class extends chunkVVUSZVP7_cjs.Sequence {
|
|
173
173
|
_renderer = null;
|
|
174
174
|
/** The renderer this layer draws with (`'webgl'` or `'webgpu'`), once it is built. */
|
|
175
175
|
renderer = null;
|
|
@@ -190,6 +190,8 @@ var ThreeSequence = class extends chunk33USHRV5_cjs.Sequence {
|
|
|
190
190
|
_borrowed = null;
|
|
191
191
|
/** True once another layer owns this layer's state: destroying this one must not let it go. */
|
|
192
192
|
_donated = false;
|
|
193
|
+
/** What setup left on the objects the keyframes reach, shared with a layer that takes the scene over (core/setupValues.ts). */
|
|
194
|
+
_setupValues = new chunkVVUSZVP7_cjs.SetupValues();
|
|
193
195
|
/** Things to do just before every draw (the 2D layers shown on meshes: `threeLayerTexture`), and those layers' handles. Both go with the state to a layer that takes it over. */
|
|
194
196
|
_drawHooks = /* @__PURE__ */ new Set();
|
|
195
197
|
_layerTextures = [];
|
|
@@ -227,10 +229,10 @@ var ThreeSequence = class extends chunk33USHRV5_cjs.Sequence {
|
|
|
227
229
|
if (this.duration === void 0) {
|
|
228
230
|
this.duration = this.parent?.duration ?? this.root.duration;
|
|
229
231
|
}
|
|
230
|
-
if (typeof spec.update === "function" &&
|
|
232
|
+
if (typeof spec.update === "function" && chunkVVUSZVP7_cjs.NOT_PURE.test(spec.update.toString())) {
|
|
231
233
|
console.warn(`pixi-effects: three layer${spec.name ? ` "${spec.name}"` : ""}: update calls Math.random, Date.now, performance.now or new Date, so it is not deterministic: the same frame would draw differently in playback, in a seek and in an export. Derive the value from t`);
|
|
232
234
|
}
|
|
233
|
-
const scope =
|
|
235
|
+
const scope = chunkVVUSZVP7_cjs.buildScope(this, this.parent, this.root);
|
|
234
236
|
const width = resolveDim(spec.width, scope) ?? this.parent?.width ?? this.root.width;
|
|
235
237
|
const height = resolveDim(spec.height, scope) ?? this.parent?.height ?? this.root.height;
|
|
236
238
|
const resolution = spec.resolution ?? 1;
|
|
@@ -240,7 +242,7 @@ var ThreeSequence = class extends chunk33USHRV5_cjs.Sequence {
|
|
|
240
242
|
this._gpu = kind === "webgpu";
|
|
241
243
|
this.renderer = kind;
|
|
242
244
|
this._key = spec.reuse === false || !spec.name ? null : JSON.stringify([spec.name, idOf(spec.setup), width, height, resolution, antialias, kind, spec.shareGpu !== false && !!this.root.gpu, !!spec.followCamera, !!spec.followLights, !!spec.followFog]);
|
|
243
|
-
const donor = this._key !== null ? this.root.reuse?.claim(this._key) : null;
|
|
245
|
+
const donor = this._key !== null ? this.root.reuse?.claim(this._key, this) : null;
|
|
244
246
|
if (donor && donor._lendable()) {
|
|
245
247
|
this._borrow(donor, width, height, spec.name);
|
|
246
248
|
return;
|
|
@@ -379,6 +381,7 @@ var ThreeSequence = class extends chunk33USHRV5_cjs.Sequence {
|
|
|
379
381
|
this._camera = d._camera;
|
|
380
382
|
this._ctx = d._ctx;
|
|
381
383
|
this._objects = d._objects;
|
|
384
|
+
this._setupValues = d._setupValues;
|
|
382
385
|
this._rt = d._rt;
|
|
383
386
|
this._sharedTexture = d._sharedTexture;
|
|
384
387
|
this._texture = d._texture;
|
|
@@ -397,6 +400,7 @@ var ThreeSequence = class extends chunk33USHRV5_cjs.Sequence {
|
|
|
397
400
|
commitReuse() {
|
|
398
401
|
const d = this._borrowed;
|
|
399
402
|
if (!d) return;
|
|
403
|
+
this._setupValues.restore();
|
|
400
404
|
d._donated = true;
|
|
401
405
|
d._tracked = false;
|
|
402
406
|
this._borrowed = null;
|
|
@@ -728,7 +732,7 @@ var ThreeSequence = class extends chunk33USHRV5_cjs.Sequence {
|
|
|
728
732
|
this._warnPath(path, `no property "${prop}"`);
|
|
729
733
|
return null;
|
|
730
734
|
}
|
|
731
|
-
return { target: obj, prop };
|
|
735
|
+
return this._borrowed ? this._setupValues.view(obj, prop, () => this._borrowed !== null) : (this._setupValues.note(obj, prop), { target: obj, prop });
|
|
732
736
|
}
|
|
733
737
|
_warnPath(path, why) {
|
|
734
738
|
if (this._warnedPaths.has(path)) return;
|
|
@@ -799,7 +803,7 @@ var ThreeSequence = class extends chunk33USHRV5_cjs.Sequence {
|
|
|
799
803
|
function resolveDim(v, scope) {
|
|
800
804
|
if (v === void 0) return void 0;
|
|
801
805
|
if (typeof v === "number") return v;
|
|
802
|
-
return
|
|
806
|
+
return chunkVVUSZVP7_cjs.evaluateExpr(v, scope);
|
|
803
807
|
}
|
|
804
808
|
var ids = /* @__PURE__ */ new WeakMap();
|
|
805
809
|
var lastId = 0;
|
|
@@ -1092,7 +1096,7 @@ function registerThree(options = {}) {
|
|
|
1092
1096
|
const kind = options.renderer ?? "webgl";
|
|
1093
1097
|
checkRendererKind(kind, "registerThree's renderer");
|
|
1094
1098
|
setPageRenderer(kind);
|
|
1095
|
-
|
|
1099
|
+
chunkVVUSZVP7_cjs.registerSequenceType("three", ThreeSequence);
|
|
1096
1100
|
}
|
|
1097
1101
|
function three(spec) {
|
|
1098
1102
|
return spec;
|