pixi-effects 0.19.0 → 0.21.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 +41 -0
- package/README.md +6 -6
- package/ai/SKILL.md +3 -2
- package/ai/chat-template.html +3 -3
- package/ai/reference/cheatsheet.md +10 -9
- package/ai/reference/pitfalls.md +8 -0
- package/ai/reference/recipes.md +77 -0
- package/ai/template.html +5 -5
- package/ai/tools/check.mjs +16 -4
- package/dist/{Base-B4WbUJO2.d.ts → Base-CzfLGoDr.d.ts} +9 -1
- package/dist/{Base-i88XXaiP.d.cts → Base-wYJQ2g5Q.d.cts} +9 -1
- package/dist/Composition-2UFPSNVN.cjs +14 -0
- package/dist/{Composition-KYNPRWK3.cjs.map → Composition-2UFPSNVN.cjs.map} +1 -1
- package/dist/Composition-BVI236ZR.js +5 -0
- package/dist/{Composition-QBKEEJBV.js.map → Composition-BVI236ZR.js.map} +1 -1
- package/dist/Controller.cjs +2 -2
- package/dist/Controller.d.cts +2 -2
- package/dist/Controller.d.ts +2 -2
- package/dist/Controller.js +1 -1
- package/dist/{Movie-8IrqL3kO.d.ts → Movie-CgYwa5QG.d.ts} +10 -2
- package/dist/{Movie-CpmdNadg.d.cts → Movie-mtX9AkQ-.d.cts} +10 -2
- package/dist/Presenter.cjs +2 -2
- package/dist/Presenter.d.cts +2 -2
- package/dist/Presenter.d.ts +2 -2
- package/dist/Presenter.js +1 -1
- package/dist/{chunk-CTZRFSVU.cjs → chunk-6JJC37ZD.cjs} +326 -41
- package/dist/chunk-6JJC37ZD.cjs.map +1 -0
- package/dist/{chunk-VTBT6NNE.cjs → chunk-BPW42X7C.cjs} +385 -32
- package/dist/chunk-BPW42X7C.cjs.map +1 -0
- package/dist/{chunk-YRXTKOV5.js → chunk-DDIXIWXK.js} +366 -25
- package/dist/chunk-DDIXIWXK.js.map +1 -0
- package/dist/{chunk-DKGG7WD4.js → chunk-MNM56B3X.js} +6 -3
- package/dist/chunk-MNM56B3X.js.map +1 -0
- package/dist/{chunk-B3YB2TNY.js → chunk-NGYGFGDS.js} +304 -19
- package/dist/chunk-NGYGFGDS.js.map +1 -0
- package/dist/{chunk-UQBGW5DO.cjs → chunk-WTRKDIKH.cjs} +6 -3
- package/dist/chunk-WTRKDIKH.cjs.map +1 -0
- package/dist/index.cjs +215 -91
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +156 -32
- package/dist/index.js.map +1 -1
- package/dist/loader.css +1 -1
- package/dist/{music-4HDFULNR.js → music-CFEC7HKL.js} +3 -3
- package/dist/{music-4HDFULNR.js.map → music-CFEC7HKL.js.map} +1 -1
- package/dist/{music-3OF5C6X5.cjs → music-UAN7DXK4.cjs} +7 -7
- package/dist/{music-3OF5C6X5.cjs.map → music-UAN7DXK4.cjs.map} +1 -1
- package/dist/{sfx-MZJZXYY3.cjs → sfx-EX4PUBMV.cjs} +8 -8
- package/dist/{sfx-MZJZXYY3.cjs.map → sfx-EX4PUBMV.cjs.map} +1 -1
- package/dist/{sfx-S37DDC66.js → sfx-U3GM2MED.js} +3 -3
- package/dist/{sfx-S37DDC66.js.map → sfx-U3GM2MED.js.map} +1 -1
- package/dist/three.cjs +6 -6
- package/dist/three.d.cts +2 -2
- package/dist/three.d.ts +2 -2
- package/dist/three.js +2 -2
- package/dist/{types-bzLJ7aUx.d.ts → types-YmUaViL1.d.cts} +24 -0
- package/dist/{types-bzLJ7aUx.d.cts → types-YmUaViL1.d.ts} +24 -0
- package/docs/dsl.md +62 -2
- package/llms-full.txt +160 -13
- package/package.json +3 -1
- package/dist/Composition-KYNPRWK3.cjs +0 -14
- package/dist/Composition-QBKEEJBV.js +0 -5
- package/dist/chunk-B3YB2TNY.js.map +0 -1
- package/dist/chunk-CTZRFSVU.cjs.map +0 -1
- package/dist/chunk-DKGG7WD4.js.map +0 -1
- package/dist/chunk-UQBGW5DO.cjs.map +0 -1
- package/dist/chunk-VTBT6NNE.cjs.map +0 -1
- package/dist/chunk-YRXTKOV5.js.map +0 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Application } from 'pixi.js';
|
|
2
2
|
import { gsap } from 'gsap';
|
|
3
|
-
import { U as Stop, e as AssetSpec, c as CompositionSpec } from './types-
|
|
3
|
+
import { U as Stop, e as AssetSpec, c as CompositionSpec } from './types-YmUaViL1.js';
|
|
4
4
|
|
|
5
5
|
interface AudioInspectOptions {
|
|
6
6
|
/** Width of each loudness window in seconds. Default 0.1. */
|
|
@@ -142,6 +142,8 @@ interface LayerInfo {
|
|
|
142
142
|
/** Where it is drawn, in canvas pixels. `null` inside a `threeD` layer (it is rendered into that layer's texture). */
|
|
143
143
|
bounds: Rect | null;
|
|
144
144
|
onCanvas: 'full' | 'partial' | 'none' | null;
|
|
145
|
+
/** Depth of field (threeD layers only): the blur radius in canvas pixels this frame, from the layer's depth and the camera's focus; 0 = sharp. */
|
|
146
|
+
depthBlur?: number;
|
|
145
147
|
}
|
|
146
148
|
interface InspectReport {
|
|
147
149
|
frame: number;
|
|
@@ -185,12 +187,18 @@ interface TimelineRow {
|
|
|
185
187
|
partNames?: string[];
|
|
186
188
|
/** A short text for the tooltip (a text layer's words, an asset name). */
|
|
187
189
|
detail?: string;
|
|
190
|
+
/**
|
|
191
|
+
* Set on every row inside a time-remapped composition: where its time comes from (`stage ×0.5`, `stage time keyframes`). Such rows
|
|
192
|
+
* are in that composition's LOCAL seconds (start, end, keys), not the movie's.
|
|
193
|
+
*/
|
|
194
|
+
local?: string;
|
|
188
195
|
}
|
|
189
196
|
interface TimelineTransition {
|
|
190
197
|
from: string;
|
|
191
198
|
to: string;
|
|
192
199
|
start: number;
|
|
193
|
-
end: number;
|
|
200
|
+
end: number; /** as `TimelineRow.local`: the window is in local seconds */
|
|
201
|
+
local?: string;
|
|
194
202
|
}
|
|
195
203
|
interface TimelineData {
|
|
196
204
|
duration: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Application } from 'pixi.js';
|
|
2
2
|
import { gsap } from 'gsap';
|
|
3
|
-
import { U as Stop, e as AssetSpec, c as CompositionSpec } from './types-
|
|
3
|
+
import { U as Stop, e as AssetSpec, c as CompositionSpec } from './types-YmUaViL1.cjs';
|
|
4
4
|
|
|
5
5
|
interface AudioInspectOptions {
|
|
6
6
|
/** Width of each loudness window in seconds. Default 0.1. */
|
|
@@ -142,6 +142,8 @@ interface LayerInfo {
|
|
|
142
142
|
/** Where it is drawn, in canvas pixels. `null` inside a `threeD` layer (it is rendered into that layer's texture). */
|
|
143
143
|
bounds: Rect | null;
|
|
144
144
|
onCanvas: 'full' | 'partial' | 'none' | null;
|
|
145
|
+
/** Depth of field (threeD layers only): the blur radius in canvas pixels this frame, from the layer's depth and the camera's focus; 0 = sharp. */
|
|
146
|
+
depthBlur?: number;
|
|
145
147
|
}
|
|
146
148
|
interface InspectReport {
|
|
147
149
|
frame: number;
|
|
@@ -185,12 +187,18 @@ interface TimelineRow {
|
|
|
185
187
|
partNames?: string[];
|
|
186
188
|
/** A short text for the tooltip (a text layer's words, an asset name). */
|
|
187
189
|
detail?: string;
|
|
190
|
+
/**
|
|
191
|
+
* Set on every row inside a time-remapped composition: where its time comes from (`stage ×0.5`, `stage time keyframes`). Such rows
|
|
192
|
+
* are in that composition's LOCAL seconds (start, end, keys), not the movie's.
|
|
193
|
+
*/
|
|
194
|
+
local?: string;
|
|
188
195
|
}
|
|
189
196
|
interface TimelineTransition {
|
|
190
197
|
from: string;
|
|
191
198
|
to: string;
|
|
192
199
|
start: number;
|
|
193
|
-
end: number;
|
|
200
|
+
end: number; /** as `TimelineRow.local`: the window is in local seconds */
|
|
201
|
+
local?: string;
|
|
194
202
|
}
|
|
195
203
|
interface TimelineData {
|
|
196
204
|
duration: number;
|
package/dist/Presenter.cjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkWTRKDIKH_cjs = require('./chunk-WTRKDIKH.cjs');
|
|
4
4
|
|
|
5
5
|
// src/Presenter.ts
|
|
6
6
|
var OPTION_KEYS = ["canvas", "keyboard", "clickToAdvance", "swipe", "indicator", "autoAdvance", "loop", "accent", "onExit"];
|
|
@@ -147,7 +147,7 @@ var Presenter = class {
|
|
|
147
147
|
};
|
|
148
148
|
constructor(movie, options) {
|
|
149
149
|
if (!options || !options.canvas) throw new Error("Presenter requires options.canvas (HTMLCanvasElement).");
|
|
150
|
-
|
|
150
|
+
chunkWTRKDIKH_cjs.warnUnknownOptions("Presenter", options, OPTION_KEYS);
|
|
151
151
|
this.movie = movie;
|
|
152
152
|
this.options = {
|
|
153
153
|
canvas: options.canvas,
|
package/dist/Presenter.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { h as Movie } from './Movie-
|
|
1
|
+
import { h as Movie } from './Movie-mtX9AkQ-.cjs';
|
|
2
2
|
import 'pixi.js';
|
|
3
3
|
import 'gsap';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-YmUaViL1.cjs';
|
|
5
5
|
|
|
6
6
|
interface PresenterOptions {
|
|
7
7
|
canvas: HTMLCanvasElement;
|
package/dist/Presenter.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { h as Movie } from './Movie-
|
|
1
|
+
import { h as Movie } from './Movie-CgYwa5QG.js';
|
|
2
2
|
import 'pixi.js';
|
|
3
3
|
import 'gsap';
|
|
4
|
-
import './types-
|
|
4
|
+
import './types-YmUaViL1.js';
|
|
5
5
|
|
|
6
6
|
interface PresenterOptions {
|
|
7
7
|
canvas: HTMLCanvasElement;
|
package/dist/Presenter.js
CHANGED