@open-take/compositor 0.5.1 → 0.5.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.
- package/dist/index.d.ts +37 -12
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +274 -70
- package/dist/index.js.map +1 -1
- package/package.json +3 -5
- package/src/camera.ts +42 -12
- package/src/ffmpeg.ts +341 -63
- package/src/index.ts +8 -1
- package/src/launch-render.ts +5 -2
- package/src/render.ts +6 -6
- package/src/types.ts +7 -4
package/src/types.ts
CHANGED
|
@@ -35,10 +35,13 @@ export type CaptureEventBase = {
|
|
|
35
35
|
* cut the beat out of any cluster — an override is a segment boundary). */
|
|
36
36
|
zoom?: ZoomIntent;
|
|
37
37
|
/** CAPTURE-DERIVED (frame-diff / mutation pass — the `effectBox` seam): the
|
|
38
|
-
* region that actually CHANGED after the action, viewport CSS px
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
* director
|
|
38
|
+
* region that actually CHANGED after the action, viewport CSS px — the
|
|
39
|
+
* DOMINANT one when the action changed several disjoint places (a control's
|
|
40
|
+
* own active state plus a hint line far away), never their union, whose
|
|
41
|
+
* centre would sit on nothing. The director frames THIS over `box` when
|
|
42
|
+
* present — a `type`'s result region, or a payoff that lands somewhere other
|
|
43
|
+
* than where you clicked. Absent ⇒ the director shapes an ROI from
|
|
44
|
+
* `box`/kind instead. */
|
|
42
45
|
effectBox?: BBox;
|
|
43
46
|
/** CAPTURE-DERIVED (same pass): fraction of the frame that changed after the
|
|
44
47
|
* action, 0..1. ≥ camera.pullOutCoverage ⇒ the action repainted most of the
|