framefields 2.2.0-beta.4 → 2.3.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/README.md +11 -2
- package/dist/audio/index.d.mts +4 -4
- package/dist/audio/index.mjs +10 -10
- package/dist/{audio-BvYmTu5T.d.mts → audio-BNnEclHU.d.mts} +3 -3
- package/dist/{audio-BvYmTu5T.d.mts.map → audio-BNnEclHU.d.mts.map} +1 -1
- package/dist/{audio-DMUr01vS.mjs → audio-ChRqnFwB.mjs} +3 -3
- package/dist/{audio-DMUr01vS.mjs.map → audio-ChRqnFwB.mjs.map} +1 -1
- package/dist/{dist-cjxDXQdx.mjs → dist-PwT_Vmax.mjs} +102 -6
- package/dist/{dist-cjxDXQdx.mjs.map → dist-PwT_Vmax.mjs.map} +1 -1
- package/dist/{dist-CT___nEU.mjs → dist-t-NLlnhM.mjs} +7 -5
- package/dist/dist-t-NLlnhM.mjs.map +1 -0
- package/dist/effects/index.d.mts +5 -5
- package/dist/effects/index.mjs +36 -36
- package/dist/{effects-C06-AOge.mjs → effects-Duoqc_Oa.mjs} +532 -4
- package/dist/effects-Duoqc_Oa.mjs.map +1 -0
- package/dist/fonts/index.d.mts +1 -1
- package/dist/fonts/index.mjs +2 -2
- package/dist/{fonts-C0UuLQvr.mjs → fonts-CgNmeFXh.mjs} +2 -2
- package/dist/{fonts-C0UuLQvr.mjs.map → fonts-CgNmeFXh.mjs.map} +1 -1
- package/dist/{gpu-Du7GpVFW.mjs → gpu-1ZpAuQOR.mjs} +2 -2
- package/dist/{gpu-Du7GpVFW.mjs.map → gpu-1ZpAuQOR.mjs.map} +1 -1
- package/dist/{index-B-oUlLoO.d.mts → index-AdrZIWT0.d.mts} +27 -2
- package/dist/index-AdrZIWT0.d.mts.map +1 -0
- package/dist/{index-BcA8rep0.d.mts → index-B-55dXDu.d.mts} +1 -1
- package/dist/{index-BcA8rep0.d.mts.map → index-B-55dXDu.d.mts.map} +1 -1
- package/dist/{index-D-Iek5sq.d.mts → index-B3BwLHa6.d.mts} +3 -3
- package/dist/{index-D-Iek5sq.d.mts.map → index-B3BwLHa6.d.mts.map} +1 -1
- package/dist/{index-CwbszPDG.d.mts → index-BU51pxZO.d.mts} +956 -9
- package/dist/index-BU51pxZO.d.mts.map +1 -0
- package/dist/{index-XdQPNJnq.d.mts → index-CeRv1KC0.d.mts} +3 -3
- package/dist/{index-XdQPNJnq.d.mts.map → index-CeRv1KC0.d.mts.map} +1 -1
- package/dist/{index-DXfp_T-3.d.mts → index-Cg2ptXcs.d.mts} +2 -2
- package/dist/{index-DXfp_T-3.d.mts.map → index-Cg2ptXcs.d.mts.map} +1 -1
- package/dist/{index-CdyE1tst.d.mts → index-QmkcUL3W.d.mts} +2 -2
- package/dist/{index-CdyE1tst.d.mts.map → index-QmkcUL3W.d.mts.map} +1 -1
- package/dist/index.d.mts +1438 -66
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +3122 -83
- package/dist/index.mjs.map +1 -1
- package/dist/preview/index.d.mts +2 -2
- package/dist/preview/index.mjs +10 -10
- package/dist/{preview-M0TsUzC6.mjs → preview-CArsjmkd.mjs} +2 -2
- package/dist/{preview-M0TsUzC6.mjs.map → preview-CArsjmkd.mjs.map} +1 -1
- package/dist/preview-engine/audio.mjs +1 -1
- package/dist/preview-engine/chunk-2JKXYG6J.mjs +127 -0
- package/dist/preview-engine/chunk-7I7PKKDL.mjs +214 -0
- package/dist/preview-engine/chunk-BQY4BUMN.mjs +1 -0
- package/dist/preview-engine/{chunk-RSMO7NPN.mjs → chunk-BSOJR4JU.mjs} +1 -1
- package/dist/preview-engine/chunk-BVA5NGSH.mjs +1 -0
- package/dist/preview-engine/chunk-DLAHSLNX.mjs +1522 -0
- package/dist/preview-engine/{chunk-ZTHWCQ2A.mjs → chunk-FNE22WGA.mjs} +1 -1
- package/dist/preview-engine/chunk-KERW7QJ4.mjs +174 -0
- package/dist/preview-engine/{chunk-7B5S5D4N.mjs → chunk-TPAEN6VV.mjs} +1 -1
- package/dist/preview-engine/chunk-YQRKT47I.mjs +1 -0
- package/dist/preview-engine/crypto-W5UAWSNT.mjs +1 -0
- package/dist/preview-engine/effects.mjs +1 -1
- package/dist/preview-engine/framefields.mjs +26 -26
- package/dist/preview-engine/player.mjs +5 -5
- package/dist/preview-engine/rapier-AHBIGHEL.mjs +1 -0
- package/dist/preview-engine/rapier-JD7KNQRV.mjs +1 -0
- package/dist/preview-engine/renderers-527ONFIA.mjs +228 -0
- package/dist/preview-engine/renderers-6ODPWZ2R.mjs +96 -0
- package/dist/preview-engine/renderers-7NCG6BYS.mjs +94 -0
- package/dist/preview-engine/renderers-BGGRPAVV.mjs +363 -0
- package/dist/preview-engine/renderers-DN2GF3I7.mjs +82 -0
- package/dist/preview-engine/renderers-FGHOLJJK.mjs +44 -0
- package/dist/preview-engine/renderers-FK72LKQC.mjs +275 -0
- package/dist/preview-engine/renderers-FQWWAETX.mjs +203 -0
- package/dist/preview-engine/renderers-HMR2NAD7.mjs +81 -0
- package/dist/preview-engine/renderers-HUW2ZMS3.mjs +1 -0
- package/dist/preview-engine/renderers-JLFGBYN4.mjs +78 -0
- package/dist/preview-engine/renderers-LLUEOW5T.mjs +77 -0
- package/dist/preview-engine/renderers-NC64EQDE.mjs +1 -0
- package/dist/preview-engine/renderers-PVYP2ONH.mjs +76 -0
- package/dist/preview-engine/renderers-TPBPNXWH.mjs +26 -0
- package/dist/preview-engine/renderers-UJ4YVJZT.mjs +80 -0
- package/dist/preview-engine/renderers-WHBDHTRI.mjs +78 -0
- package/dist/preview-engine/renderers-WP67KK5K.mjs +89 -0
- package/dist/preview-engine/renderers-YNFKFM7D.mjs +67 -0
- package/dist/preview-engine/renderers-ZSENYGIY.mjs +84 -0
- package/dist/preview-engine/signals.mjs +1 -1
- package/dist/{program-DzknMiY0.mjs → program-Dd9tJFkY.mjs} +346 -13
- package/dist/program-Dd9tJFkY.mjs.map +1 -0
- package/dist/renderer/index.d.mts +2 -2
- package/dist/renderer/index.mjs +2 -2
- package/dist/{renderer-C8uKdelk.mjs → renderer-0L9MEb3A.mjs} +2 -2
- package/dist/{renderer-C8uKdelk.mjs.map → renderer-0L9MEb3A.mjs.map} +1 -1
- package/dist/renderer-0lp9ClNc.mjs +5 -0
- package/dist/{renderer-BbdZ0YHR.mjs → renderer-257LxOyx.mjs} +3 -3
- package/dist/{renderer-BbdZ0YHR.mjs.map → renderer-257LxOyx.mjs.map} +1 -1
- package/dist/renderer-2BnBo6CX.mjs +219 -0
- package/dist/renderer-2BnBo6CX.mjs.map +1 -0
- package/dist/renderer-4g_BfiKp.mjs +5 -0
- package/dist/renderer-72A4SvOE.mjs +220 -0
- package/dist/renderer-72A4SvOE.mjs.map +1 -0
- package/dist/renderer-7Aw6AHqW.mjs +5 -0
- package/dist/{renderer-PKQNH21k.mjs → renderer-7OvgLE8w.mjs} +2 -2
- package/dist/{renderer-BerD3T-X.mjs → renderer-94byj7Mk.mjs} +2 -2
- package/dist/{renderer-BerD3T-X.mjs.map → renderer-94byj7Mk.mjs.map} +1 -1
- package/dist/{renderer-D-vRKssW.mjs → renderer-B2aXfdW_.mjs} +2 -2
- package/dist/{renderer-D-vRKssW.mjs.map → renderer-B2aXfdW_.mjs.map} +1 -1
- package/dist/{renderer-DD8napek.mjs → renderer-B3c-j-e5.mjs} +2 -2
- package/dist/{renderer-DD8napek.mjs.map → renderer-B3c-j-e5.mjs.map} +1 -1
- package/dist/renderer-B3ypX3MH.mjs +308 -0
- package/dist/renderer-B3ypX3MH.mjs.map +1 -0
- package/dist/renderer-B82v8PyC.mjs +5 -0
- package/dist/renderer-B8BDMJNz.mjs +5 -0
- package/dist/renderer-BARst3ZD.mjs +3 -0
- package/dist/renderer-BCPRrhP8.mjs +5 -0
- package/dist/{renderer-CMT4QcpV.mjs → renderer-BEdc-7JW.mjs} +3 -3
- package/dist/{renderer-CMT4QcpV.mjs.map → renderer-BEdc-7JW.mjs.map} +1 -1
- package/dist/renderer-BEpANdcO.mjs +204 -0
- package/dist/renderer-BEpANdcO.mjs.map +1 -0
- package/dist/renderer-BFhzO6En.mjs +5 -0
- package/dist/renderer-BH0KF-y-.mjs +6 -0
- package/dist/renderer-BHrqEgIA.mjs +541 -0
- package/dist/renderer-BHrqEgIA.mjs.map +1 -0
- package/dist/{renderer-DpW_LxLO.mjs → renderer-BId5hBLb.mjs} +3 -3
- package/dist/{renderer-DpW_LxLO.mjs.map → renderer-BId5hBLb.mjs.map} +1 -1
- package/dist/renderer-BK32cV7E.mjs +203 -0
- package/dist/renderer-BK32cV7E.mjs.map +1 -0
- package/dist/renderer-BTI5ybyH.mjs +5 -0
- package/dist/{renderer-0gY4IQhM.mjs → renderer-BVR0mEIT.mjs} +2 -2
- package/dist/{renderer-0gY4IQhM.mjs.map → renderer-BVR0mEIT.mjs.map} +1 -1
- package/dist/{renderer-CebB0v1y.mjs → renderer-BY08hHFS.mjs} +2 -2
- package/dist/{renderer-CebB0v1y.mjs.map → renderer-BY08hHFS.mjs.map} +1 -1
- package/dist/renderer-Ba7LH8U2.mjs +5 -0
- package/dist/renderer-BcQBlfhC.mjs +5 -0
- package/dist/renderer-BdMJzCTz.mjs +5 -0
- package/dist/{renderer-D1Cm21eq.mjs → renderer-BmQbSQHf.mjs} +2 -2
- package/dist/{renderer-D1Cm21eq.mjs.map → renderer-BmQbSQHf.mjs.map} +1 -1
- package/dist/{renderer-DqdhsSwS.mjs → renderer-BmTDXIUI.mjs} +2 -2
- package/dist/{renderer-DqdhsSwS.mjs.map → renderer-BmTDXIUI.mjs.map} +1 -1
- package/dist/renderer-BpdzhZE7.mjs +224 -0
- package/dist/renderer-BpdzhZE7.mjs.map +1 -0
- package/dist/renderer-Bxi2j-tG.mjs +5 -0
- package/dist/{renderer-D8thCpS7.mjs → renderer-C-Qj0BnT.mjs} +3 -3
- package/dist/{renderer-D8thCpS7.mjs.map → renderer-C-Qj0BnT.mjs.map} +1 -1
- package/dist/{renderer-BiwIh_w4.mjs → renderer-C4tUATd_.mjs} +3 -3
- package/dist/{renderer-BiwIh_w4.mjs.map → renderer-C4tUATd_.mjs.map} +1 -1
- package/dist/{renderer-1vhaKMeg.mjs → renderer-CC72sZ8l.mjs} +141 -56
- package/dist/renderer-CC72sZ8l.mjs.map +1 -0
- package/dist/renderer-CCn5ISVM.mjs +5 -0
- package/dist/renderer-CDRsdhg9.mjs +5 -0
- package/dist/{renderer-BC8XOVl5.mjs → renderer-CI9Pq77W.mjs} +3 -3
- package/dist/{renderer-BC8XOVl5.mjs.map → renderer-CI9Pq77W.mjs.map} +1 -1
- package/dist/{renderer-CrABA3lB.mjs → renderer-CIMI33Yd.mjs} +2 -2
- package/dist/{renderer-CrABA3lB.mjs.map → renderer-CIMI33Yd.mjs.map} +1 -1
- package/dist/renderer-CKSdl0Xf.mjs +331 -0
- package/dist/renderer-CKSdl0Xf.mjs.map +1 -0
- package/dist/{renderer-Cce2fgpX.mjs → renderer-CKpwEo1w.mjs} +3 -3
- package/dist/{renderer-Cce2fgpX.mjs.map → renderer-CKpwEo1w.mjs.map} +1 -1
- package/dist/{renderer-CursFKUf.mjs → renderer-CLUyYFqS.mjs} +2 -2
- package/dist/{renderer-CursFKUf.mjs.map → renderer-CLUyYFqS.mjs.map} +1 -1
- package/dist/{renderer-Br6KyRO_.mjs → renderer-CS-goRD3.mjs} +3 -3
- package/dist/{renderer-Br6KyRO_.mjs.map → renderer-CS-goRD3.mjs.map} +1 -1
- package/dist/{renderer-DtgMsjyL.mjs → renderer-CSPpKLi3.mjs} +2 -2
- package/dist/{renderer-DtgMsjyL.mjs.map → renderer-CSPpKLi3.mjs.map} +1 -1
- package/dist/{renderer-CuVPo-wP.mjs → renderer-CWQ-Bct7.mjs} +2 -2
- package/dist/{renderer-CuVPo-wP.mjs.map → renderer-CWQ-Bct7.mjs.map} +1 -1
- package/dist/{renderer-DHGTzype.mjs → renderer-ChoYV7Ko.mjs} +2 -2
- package/dist/{renderer-DHGTzype.mjs.map → renderer-ChoYV7Ko.mjs.map} +1 -1
- package/dist/renderer-CiCK8ZG_.mjs +5 -0
- package/dist/{renderer-CJB9nU1x.mjs → renderer-Ck2pRec0.mjs} +3 -3
- package/dist/{renderer-CJB9nU1x.mjs.map → renderer-Ck2pRec0.mjs.map} +1 -1
- package/dist/{renderer-BzDjy1_x.mjs → renderer-CrUudSLP.mjs} +2 -2
- package/dist/{renderer-BzDjy1_x.mjs.map → renderer-CrUudSLP.mjs.map} +1 -1
- package/dist/{renderer-DupsdRIw.mjs → renderer-CraudZUC.mjs} +3 -3
- package/dist/{renderer-DupsdRIw.mjs.map → renderer-CraudZUC.mjs.map} +1 -1
- package/dist/renderer-CsEk9TFz.mjs +5 -0
- package/dist/renderer-CvOzuDX3.mjs +215 -0
- package/dist/renderer-CvOzuDX3.mjs.map +1 -0
- package/dist/{renderer-DJfFc-XW.mjs → renderer-Cvysm2Jg.mjs} +3 -3
- package/dist/{renderer-DJfFc-XW.mjs.map → renderer-Cvysm2Jg.mjs.map} +1 -1
- package/dist/{renderer-Bn2eQE-t.mjs → renderer-CwwmwM7J.mjs} +3 -3
- package/dist/{renderer-Bn2eQE-t.mjs.map → renderer-CwwmwM7J.mjs.map} +1 -1
- package/dist/{renderer-KnCcN_Nz.mjs → renderer-CxP2e6Ov.mjs} +2 -2
- package/dist/{renderer-KnCcN_Nz.mjs.map → renderer-CxP2e6Ov.mjs.map} +1 -1
- package/dist/{renderer-BteUC_7n.mjs → renderer-D-yNHLG7.mjs} +3 -3
- package/dist/{renderer-BteUC_7n.mjs.map → renderer-D-yNHLG7.mjs.map} +1 -1
- package/dist/renderer-D0xLIq1r.mjs +203 -0
- package/dist/renderer-D0xLIq1r.mjs.map +1 -0
- package/dist/{renderer-id8TbKBY.mjs → renderer-D1MOTlWS.mjs} +2 -2
- package/dist/{renderer-id8TbKBY.mjs.map → renderer-D1MOTlWS.mjs.map} +1 -1
- package/dist/renderer-D1T7A3NF.mjs +233 -0
- package/dist/renderer-D1T7A3NF.mjs.map +1 -0
- package/dist/renderer-D1gx_-hi.mjs +5 -0
- package/dist/renderer-D5MCGNAF.mjs +5 -0
- package/dist/{renderer-Db3JIF1K.mjs → renderer-D6YcQTLI.mjs} +3 -3
- package/dist/{renderer-Db3JIF1K.mjs.map → renderer-D6YcQTLI.mjs.map} +1 -1
- package/dist/{renderer-BNqwn0gZ.mjs → renderer-D8_UYdDb.mjs} +2 -2
- package/dist/{renderer-BNqwn0gZ.mjs.map → renderer-D8_UYdDb.mjs.map} +1 -1
- package/dist/renderer-DD_MzvM-.mjs +5 -0
- package/dist/{renderer-BHskWZNG.mjs → renderer-DIqwz7dV.mjs} +2 -2
- package/dist/{renderer-57ATc_mQ.mjs → renderer-DJQD7tai.mjs} +2 -2
- package/dist/{renderer-57ATc_mQ.mjs.map → renderer-DJQD7tai.mjs.map} +1 -1
- package/dist/{renderer-CWBHVCvA.mjs → renderer-DKXK5hDm.mjs} +2 -2
- package/dist/{renderer-CWBHVCvA.mjs.map → renderer-DKXK5hDm.mjs.map} +1 -1
- package/dist/{renderer-p_C_T9Kn.mjs → renderer-DNYSf2Fl.mjs} +2 -2
- package/dist/{renderer-p_C_T9Kn.mjs.map → renderer-DNYSf2Fl.mjs.map} +1 -1
- package/dist/{renderer-DXqIslFk.mjs → renderer-DNaHFctD.mjs} +2 -2
- package/dist/{renderer-DXqIslFk.mjs.map → renderer-DNaHFctD.mjs.map} +1 -1
- package/dist/renderer-DO5r7ZV-.mjs +658 -0
- package/dist/renderer-DO5r7ZV-.mjs.map +1 -0
- package/dist/renderer-DP7YoZ0K.mjs +5 -0
- package/dist/{renderer-CE7fwGgw.mjs → renderer-DQtk282o.mjs} +29 -8
- package/dist/renderer-DQtk282o.mjs.map +1 -0
- package/dist/{renderer-u8ynJtAC.mjs → renderer-DWcbrx2M.mjs} +2 -2
- package/dist/{renderer-u8ynJtAC.mjs.map → renderer-DWcbrx2M.mjs.map} +1 -1
- package/dist/renderer-DXiWvKij.mjs +5 -0
- package/dist/renderer-DZnUiiBp.mjs +222 -0
- package/dist/renderer-DZnUiiBp.mjs.map +1 -0
- package/dist/renderer-Dc6fW-o1.mjs +5 -0
- package/dist/renderer-DiurlsNT.mjs +5 -0
- package/dist/{renderer-BmGPTWwV.mjs → renderer-Dju3SEAJ.mjs} +3 -3
- package/dist/{renderer-BmGPTWwV.mjs.map → renderer-Dju3SEAJ.mjs.map} +1 -1
- package/dist/{renderer-BT-_EoXw.d.mts → renderer-DlESyfg7.d.mts} +2 -2
- package/dist/{renderer-BT-_EoXw.d.mts.map → renderer-DlESyfg7.d.mts.map} +1 -1
- package/dist/{renderer-aArb4RwJ.mjs → renderer-DpQaiH6C.mjs} +2 -2
- package/dist/{renderer-aArb4RwJ.mjs.map → renderer-DpQaiH6C.mjs.map} +1 -1
- package/dist/{renderer-CeyAgJnw.mjs → renderer-DuxzqfoE.mjs} +2 -2
- package/dist/renderer-DvCUdgVz.mjs +5 -0
- package/dist/{renderer-AF884a7T.mjs → renderer-Dvg5nbgU.mjs} +3 -3
- package/dist/{renderer-AF884a7T.mjs.map → renderer-Dvg5nbgU.mjs.map} +1 -1
- package/dist/{renderer-DvFaC_-7.mjs → renderer-Dvq11SEA.mjs} +2 -2
- package/dist/{renderer-DvFaC_-7.mjs.map → renderer-Dvq11SEA.mjs.map} +1 -1
- package/dist/renderer-DyPgVl1l.mjs +223 -0
- package/dist/renderer-DyPgVl1l.mjs.map +1 -0
- package/dist/{renderer-DEuIwr-t.mjs → renderer-DzOzVxNS.mjs} +2 -2
- package/dist/{renderer-DEuIwr-t.mjs.map → renderer-DzOzVxNS.mjs.map} +1 -1
- package/dist/renderer-EhCkD11e.mjs +208 -0
- package/dist/renderer-EhCkD11e.mjs.map +1 -0
- package/dist/renderer-IiwAh9-K.mjs +5 -0
- package/dist/{renderer-jqByPgkD.mjs → renderer-JiEpssIz.mjs} +2 -2
- package/dist/{renderer-jqByPgkD.mjs.map → renderer-JiEpssIz.mjs.map} +1 -1
- package/dist/renderer-JlGXqH0E.mjs +5 -0
- package/dist/{renderer-Beg7FLt2.mjs → renderer-OxafT7Xm.mjs} +75 -27
- package/dist/renderer-OxafT7Xm.mjs.map +1 -0
- package/dist/renderer-TZFKKgL1.mjs +5 -0
- package/dist/renderer-UT0CcmMZ.mjs +191 -0
- package/dist/renderer-UT0CcmMZ.mjs.map +1 -0
- package/dist/{renderer-YbaCzPcG.mjs → renderer-YyEBKPcE.mjs} +2 -2
- package/dist/{renderer-jYxN4mHn.mjs → renderer-_AuL8mAi.mjs} +3 -3
- package/dist/{renderer-jYxN4mHn.mjs.map → renderer-_AuL8mAi.mjs.map} +1 -1
- package/dist/{renderer-C6md3msE.mjs → renderer-aCDIEYb3.mjs} +2 -2
- package/dist/{renderer-C6md3msE.mjs.map → renderer-aCDIEYb3.mjs.map} +1 -1
- package/dist/renderer-aEecoNPX.mjs +5 -0
- package/dist/{renderer-BeIUgp1r.mjs → renderer-aN60v8jR.mjs} +2 -2
- package/dist/{renderer-BeIUgp1r.mjs.map → renderer-aN60v8jR.mjs.map} +1 -1
- package/dist/renderer-ewhliYYP.mjs +5 -0
- package/dist/renderer-hQc6GgTi.mjs +5 -0
- package/dist/renderer-iuX0RZIi.mjs +5 -0
- package/dist/renderer-j4vkTzHa.mjs +5 -0
- package/dist/{renderer-EemDpvv3.mjs → renderer-mpInX4Iy.mjs} +3 -3
- package/dist/{renderer-EemDpvv3.mjs.map → renderer-mpInX4Iy.mjs.map} +1 -1
- package/dist/renderer-msPjwx_9.mjs +5 -0
- package/dist/renderer-pI2ndu-b.mjs +5 -0
- package/dist/renderer-x1OGMhsC.mjs +5 -0
- package/dist/{renderer-DZXbgVMK.mjs → renderer-xezE7IZX.mjs} +3 -3
- package/dist/{renderer-DZXbgVMK.mjs.map → renderer-xezE7IZX.mjs.map} +1 -1
- package/dist/renderer-yGAk7J9P.mjs +222 -0
- package/dist/renderer-yGAk7J9P.mjs.map +1 -0
- package/dist/{renderer-Bvx56GR6.mjs → renderer-zQIB2VZZ.mjs} +2 -2
- package/dist/{renderer-Bvx56GR6.mjs.map → renderer-zQIB2VZZ.mjs.map} +1 -1
- package/dist/{renderers-CP8CFWDs-BA-4l6By.mjs → renderers-CP8CFWDs-i6u_rhCX.mjs} +2 -2
- package/dist/{renderers-CP8CFWDs-BA-4l6By.mjs.map → renderers-CP8CFWDs-i6u_rhCX.mjs.map} +1 -1
- package/dist/signals/index.d.mts +5 -5
- package/dist/signals/index.mjs +4 -4
- package/package.json +58 -55
- package/dist/dist-CT___nEU.mjs.map +0 -1
- package/dist/effects-C06-AOge.mjs.map +0 -1
- package/dist/index-B-oUlLoO.d.mts.map +0 -1
- package/dist/index-CwbszPDG.d.mts.map +0 -1
- package/dist/preview-engine/chunk-G4K6TLNA.mjs +0 -1
- package/dist/preview-engine/chunk-HVCAOHNI.mjs +0 -1
- package/dist/preview-engine/chunk-KBO6EX3M.mjs +0 -1448
- package/dist/preview-engine/chunk-N4LHIPHZ.mjs +0 -340
- package/dist/preview-engine/chunk-NECOKNHA.mjs +0 -174
- package/dist/preview-engine/renderers-T4JMJXWL.mjs +0 -1
- package/dist/preview-engine/renderers-VFV5QWO3.mjs +0 -1
- package/dist/preview-engine/renderers-VUL4HBX3.mjs +0 -228
- package/dist/program-DzknMiY0.mjs.map +0 -1
- package/dist/renderer--IDyGdqT.mjs +0 -5
- package/dist/renderer-17K4tjid.mjs +0 -5
- package/dist/renderer-1vhaKMeg.mjs.map +0 -1
- package/dist/renderer-Ab9Ttn_m.mjs +0 -5
- package/dist/renderer-B-roDBBo.mjs +0 -5
- package/dist/renderer-B03uwoUX.mjs +0 -5
- package/dist/renderer-B3BI_7YJ.mjs +0 -5
- package/dist/renderer-BGD4lQ74.mjs +0 -5
- package/dist/renderer-BHXhYfeC.mjs +0 -5
- package/dist/renderer-BRsTIMFa.mjs +0 -5
- package/dist/renderer-Beg7FLt2.mjs.map +0 -1
- package/dist/renderer-BjMTtYZw.mjs +0 -5
- package/dist/renderer-BoCh3Yts.mjs +0 -5
- package/dist/renderer-BqPbR8c4.mjs +0 -5
- package/dist/renderer-Bxa4SDm9.mjs +0 -3
- package/dist/renderer-C4Da2I1-.mjs +0 -5
- package/dist/renderer-C93X6dgl.mjs +0 -5
- package/dist/renderer-CE7fwGgw.mjs.map +0 -1
- package/dist/renderer-CMAwFfGx.mjs +0 -6
- package/dist/renderer-CRXeSuX2.mjs +0 -5
- package/dist/renderer-CSp6WYBN.mjs +0 -5
- package/dist/renderer-CUXX7HTL.mjs +0 -5
- package/dist/renderer-CUgThpka.mjs +0 -5
- package/dist/renderer-CeVtufiT.mjs +0 -5
- package/dist/renderer-CespkZUk.mjs +0 -5
- package/dist/renderer-D1l47xhL.mjs +0 -5
- package/dist/renderer-DDuG18J8.mjs +0 -5
- package/dist/renderer-DFhrFSMn.mjs +0 -5
- package/dist/renderer-DO48vQ7Y.mjs +0 -5
- package/dist/renderer-DTC39B_n.mjs +0 -5
- package/dist/renderer-DbyU3hNF.mjs +0 -5
- package/dist/renderer-DftVpmfu.mjs +0 -5
- package/dist/renderer-Dj5jm63K.mjs +0 -5
- package/dist/renderer-Dju57ZaF.mjs +0 -5
- package/dist/renderer-Dn8TQCw7.mjs +0 -5
- package/dist/renderer-ETF46K0D.mjs +0 -5
- package/dist/renderer-azYzWGC3.mjs +0 -5
- package/dist/renderer-dxNoRW59.mjs +0 -5
- package/dist/renderer-fdfelx_I.mjs +0 -5
- package/dist/renderer-snwEKwMw.mjs +0 -5
package/dist/index.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "./chunk-GBe2k3y8.mjs";
|
|
2
|
-
import { $ as AdvancedTextAnimatorSchema, $a as TimelineTransform, $i as NodeMetadata, $n as samplePathChainGeometry, $o as parseCssGradient, $r as DEFAULT_DURATION_MS, $t as TextCursorConfig, A as SlugFontCache, Aa as SignalDataSchema, Ai as GradientType, An as buildPathLUT, Ao as extractSvgDimensions, Ar as resolveEnvironment, At as LongShadowConfig, B as loadModel3D, Ba as SingleOutputGenericSchema, Bi as MediaMetadata, Bn as evaluateMarqueeOffset, Bo as getMediaType, Br as BaseVideoLayerPropsSchema, Bt as SelectorShape, C as Renderer3D, Ca as SegmentationOptions, Ci as FrameSignal, Cn as VariableFontAxesSchema, Co as computeVideoCropRenderProps, Cr as Path3DPoint, Ct as GlyphAnchorGroupingSchema, Da as SignalChannelMetaSchema, Di as GeneratorSignalDataSchema, Dn as VolumetricFormationConfigSchema, Do as createVirtualMedia, Dr as Vec3, Dt as KineticMarqueeConfigSchema, E as ShadowPipeline, Ea as SignalChannelMeta, Ei as GeneratorSignalData, En as VolumetricFormationConfig, Eo as createOutputItemSchema, Er as ShadowUniformInfo, Et as KineticMarqueeConfig, F as describeGpu, Fa as SignalStats, Fi as JsonValue, Fn as distanceToCurveParameter, Fo as generateId, Fr as AudioExtractorSignalData, Ft as PathChainLUTEntry, G as parseOBJ, Ga as TensorDimensions, Gi as MediaSourceDescriptor, Gn as evaluateVolumetricFormation, Go as isEqual, Gr as Color, Gt as SkewPropertiesSchema, H as lutStore, Ha as StorageService, Hi as MediaOperation, Hn as evaluateSkewMatrix, Ho as gradientStopsToOklab, Hr as COMPOSITE_OPERATIONS, Ht as SelectorUnits, I as ensureDevice, Ia as SignalStatsSchema, Ii as JsonValueSchema, In as ellipseToCubicBeziers, Io as getActiveMediaMetadata, Ir as AudioExtractorSignalDataSchema, It as SelectorBasedOn, J as textureCache, Ja as TensorPipelineConfig, Ji as MeshAudioDeformConfig, Jn as getScramblePool, Jo as limitGradientStops, Jr as ConfigHandleSchema, Jt as SpringPhysics, K as shaderStore, Ka as TensorFormat, Ki as MediaSourceInput, Kn as generateArcLengthLUT, Ko as isSignal, Kr as ColorStopLike, Kt as Spatial3DProperties, La as SignalValue, Li as Landmark3D, Ln as evaluateCubicBezier, Lo as getFileDataMetadata, Lr as BaseMediaOperationProps, Lt as SelectorBasedOnSchema, M as SphereGeometryOptions, Ma as SignalGateDataSchema, Mi as HandleTypeVal, Mn as computeLineLeadingDisplacement, Mo as formatHex, Mr as AnimationTypeSchema, Mt as ParticleDissolveConfig, Na as SignalMathData, Ni as JsonArray, Nn as computeRangeSelectorWeight, No as frameArraySignal, Nr as AnyOutputUnion, Nt as ParticleDissolveConfigSchema, Oa as SignalContext, Oi as GlobalCompositeOperation, On as VolumetricFormationMode, Oo as dataTypeColors, Or as Vector3Math, Ot as LineSpacingDynamics, Pa as SignalMathDataSchema, Pi as JsonObject, Pn as deterministicWigglyNoise, Po as frameSignal, Pr as AnyOutputUnionSchema, Pt as PathChainLUT, Q as AdvancedTextAnimatorBuilder, Qa as TimelineSegmentSchema, Qi as MultiOutputGenericSchema, Qn as sampleCurveGeometry, Qo as parseCssColor, Qr as DATA_TYPE_EXTENSIONS, Qt as TextAnimatorBuilder, R as inputStore, Ra as SineSignalOptions, Ri as MAX_GRADIENT_STOPS, Rn as evaluateCubicBezierDerivative, Ro as getFingerprint, Rr as BaseMediaOperationPropsSchema, Rt as SelectorMode, S as Renderer2D, Sa as Rgba, Si as FrameContext, Sn as VariableFontAxes, So as checkNodeResultCache, Sr as Path3D, St as GlyphAnchorGrouping, T as SSAOPipeline, Ta as SignalBuilderConfig, Ti as GateSignalOptions, Tn as Vec2Schema, To as cosineSignal, Tr as ResolvedEnvironment, Tt as GlyphAnchorPointSchema, U as parseFBX, Ua as TEXT_LAYER_DEFAULTS, Ui as MediaOperationSchema, Un as evaluateSpringProgress, Uo as hasOnlySingleSource, Ur as COMPOSITOR_DEFAULTS, Ut as SelectorUnitsSchema, V as loadOBJ, Va as SourceOperationSchema, Vi as MediaMetadataSchema, Vn as evaluateSelectorCombination, Vo as getRenderFingerprint, Vr as CAPTION_LAYER_DEFAULTS, Vt as SelectorShapeSchema, W as parseMTL, Wa as TensorData, Wi as MediaService, Wn as evaluateTypewriterState, Wo as isCssGradient, Wr as CannyOptions, Wt as SkewProperties, X as AETextAnimatorSchema, Xa as TextSpan, Xi as ModerationUnrefundableError, Xn as parseSvgPathToCubicBeziers, Xo as normalizeColorStops, Xr as ConnectedInput, Xt as TextAnchorConfig, Y as AETextAnimator, Ya as TextOperationSchema, Yi as ModerationError, Yn as getShuffledOrder, Yo as mixColors, Yr as ConfigSchemaRegistry, Yt as SpringPhysicsSchema, Z as AdvancedTextAnimator, Za as TextSpanMark, Zi as MultiOutputGeneric, Zn as sampleAudioSpectrumScale, Zo as oklabToRgb, Zr as ControlNetConditioningOutputs, Zt as TextAnchorConfigSchema, _ as Mesh3DData, _a as ParsedGradientStop, _i as FaceLandmarksOptions, _n as TextWigglySelectorSchema, _o as VisionTask, _r as LightKind, _s as timeSignal, _t as ExpressionEvaluationContext, a as AudioMeshDeformPipeline, aa as NodeRunFunction, ai as DataTypeVal, an as TextPathOptionsSchema, ao as VideoAnimation, ar as CatmullRomOptions, as as resolveMediaMimeType, at as AnimatableGlyphPropsSchema, b as NodeAnimationTrack3D, ba as ProgrammaticSignalOptions, bi as FileData, bn as TypingCadence, bo as XYPosition, br as Mat4, bt as ExtendedGlyphProperties, c as BlendMode, ca as NodeVisualConfigSchema, ci as DepthNormalsOptions, cn as TextRangeSelector, co as VideoLayerTypeSchema, cr as Environment3DFog, cs as resolveString, ct as AudioSpectrumTypographySchema, d as EffectPipeline, da as ObjectBoundingBox, di as EffectConfig, dn as TextScrambleConfigSchema, do as VideoTextPropsSchema, dr as FrustumPlanes, ds as serializeSignalData, dt as CubicBezierSegment, ea as NodeMetadataSchema, ei as DEFAULT_FPS, en as TextCursorConfigSchema, eo as TimelineTransformSchema, er as waveToCubicBeziers, es as programmaticSignal, et as AnchorGrouping, f as GlassPipeline, fa as OpticalFlowOptions, fi as EffectConfigValue, fn as TextSelector, fo as VideoTimingPropsSchema, fr as GPULightData, fs as signal, ft as CubicBezierSegmentSchema, g as Material3D, ga as ParsedGradient, gi as ExtendedLayerSchema, gn as TextWigglySelector, go as VisionNodeSpec, gr as Light3DOptions, gs as takeRenderDiagnostics, gt as EnhancedTextNodeSchema, ha as OutputItemSchema, hi as ExtendedLayer, hn as TextSignalSelectorSchema, ho as VisionConfig, hr as Light3D, hs as stampResult, ht as EnhancedTextNode, i as AudioLatentTrackCache, ia as NodeResultSchema, ii as DataTypeEnum, in as TextPathOptions, io as TransitionTypeSchema, ir as CameraShakeOptions, is as resolveBoolean, it as AnimatableGlyphProps, j as SlugPipeline, ja as SignalGateData, ji as HandleType, jn as computeAnchorPivotOffset, jo as findSourceAsset, jr as AnimationType, jt as LongShadowConfigSchema, k as Skeleton3D, ka as SignalData, ki as Gradient, kn as VolumetricFormationModeSchema, ko as deserializeSignalData, kr as parseColorToRgb, kt as LineSpacingDynamicsSchema, l as Bone3D, la as NormalRelightingOptions, li as DetectedObject, ln as TextRangeSelectorSchema, lo as VideoSpatialPropsSchema, lr as Environment3DOptions, ls as rgbToOklab, lt as ChromaticGlitchConfig, m as LoadModelOptions, ma as OutputItem, mi as ExportResultSchema, mn as TextSignalSelector, mo as VirtualMediaDataSchema, mr as LIGHT_UNIFORM_SIZE_BYTES, ms as sineSignal, mt as DynamicStrokePropertiesSchema, n as AudioLatentData, na as NodeProcessorParams, ni as DataForType, nn as TextCursorStyleSchema, no as TransitionSchema, nr as Camera3D, ns as registerSignalDependency, nt as AnchorPreset, oa as NodeValidationFn, oi as DataTypes, on as TextPathSource, oo as VideoAnimationSchema, or as CirclePathOptions, os as resolveNumber, ot as ArcLengthLUTEntry, p as GpuAdapterDescription, pa as Output, pi as ExportResult, pn as TextSelectorSchema, po as VirtualMediaData, pr as HelixOptions, ps as signalBuilder, pt as DynamicStrokeProperties, q as signalRegistry, qa as TensorNode, qi as MediaSourceSchema, qn as generatePathSegments, qo as isVirtualMediaData, qr as ConfigHandle, qt as Spatial3DPropertiesSchema, r as AudioLatentEngine, ra as NodeResult, ri as DataType, rn as TextPathBuilder, ro as TransitionType, rr as Camera3DPose, rs as reportRenderDiagnostic, rt as AnchorPresetSchema, sa as NodeVisualConfig, si as DeflickerOptions, sn as TextPathSourceSchema, so as VideoLayerType, sr as ENVIRONMENT_PRESETS, ss as resolveParam, st as AudioSpectrumTypography, t as AnimationClip3D, ta as NodeProcessorContext, ti as DEFAULT_MEDIA_DIMENSION, tn as TextCursorStyle, to as TrackedObject, tr as BezierSegment3D, ts as progressSignal, tt as AnchorGroupingSchema, u as CylinderGeometryOptions, ua as NormalizedLandmarkList, ui as Effect$1, un as TextScrambleConfig, uo as VideoStylePropsSchema, ur as FrustumPlane, us as sampleColorStops, ut as ChromaticGlitchConfigSchema, v as Model3DData, va as PoseSkeletonOptions, vi as FileAsset, vn as TypewriterAnimator, vo as VisionVariant, vr as LightsUniformData, vs as updateClockSignals, vt as ExpressionSelector, w as RoundedBoxGeometryOptions, wa as Signal, wi as GPUTextureBinding, wn as Vec2, wo as computed, wr as Path3DSample, wt as GlyphAnchorPoint, x as RenderContextValue, xa as RenderDiagnostic, xi as FileDataSchema, xn as TypingCadenceSchema, xo as appendOperation, xr as Matrix4Math, xt as ExtendedGlyphPropertiesSchema, y as MotionBlurPipeline, ya as ProgrammaticSignal, yi as FileAssetSchema, yn as TypewriterAnimatorSchema, yo as WritableSignal, yr as MAX_LIGHTS, yt as ExpressionSelectorSchema, z as loadFBX, za as SingleOutputGeneric, zi as MIME_TYPES, zn as evaluateExpressionSelector, zo as getLeafMediaType, zr as BaseVideoLayerProps, zt as SelectorModeSchema } from "./index-
|
|
3
|
-
import { a as SfxTrigger, c as softLimit, g as mixAudioTracks, i as SfxRenderContext, n as encodeStereoWav, o as mixSfxInto, r as RenderedSfx, s as renderSfx } from "./index-
|
|
4
|
-
import "./index-
|
|
5
|
-
import "./renderer-
|
|
6
|
-
import { $ as Blur, $n as
|
|
7
|
-
import { n as AudioSignalOptions, r as ExtractedAudioSignalsBundle, t as AudioSignal } from "./audio-
|
|
8
|
-
import { a as RegisteredFont, i as RegisterFontOptions, n as MeasureTextOptions, o as TextMetrics, r as MeasuredGlyph, t as FontManager } from "./index-
|
|
9
|
-
import "./index-
|
|
10
|
-
import { _ as renderSemaphore, a as renderFrameGrid, c as HeadlessMediaRenderer, d as QaSegment, f as RenderProgress, g as formatQaReport, h as VideoQaStats, i as computeGridLayout, l as HeadlessWebGPURenderer, m as VideoQaReport, n as FrameGridRenderable, o as resolveSamplePoints, p as VideoQaOptions, r as FrameSamplePoint, s as AudioQaStats, t as FrameGridOptions, u as QaIssue, v as resetRenderCaches } from "./index-
|
|
2
|
+
import { $ as AdvancedTextAnimatorSchema, $a as TimelineTransform, $i as NodeMetadata, $n as samplePathChainGeometry, $o as parseCssGradient, $r as DEFAULT_DURATION_MS, $t as TextCursorConfig, A as SlugFontCache, Aa as SignalDataSchema, Ai as GradientType, An as buildPathLUT, Ao as extractSvgDimensions, Ar as resolveEnvironment, At as LongShadowConfig, B as loadModel3D, Ba as SingleOutputGenericSchema, Bi as MediaMetadata, Bn as evaluateMarqueeOffset, Bo as getMediaType, Br as BaseVideoLayerPropsSchema, Bt as SelectorShape, C as Renderer3D, Ca as SegmentationOptions, Ci as FrameSignal, Cn as VariableFontAxesSchema, Co as computeVideoCropRenderProps, Cr as Path3DPoint, Ct as GlyphAnchorGroupingSchema, Da as SignalChannelMetaSchema, Di as GeneratorSignalDataSchema, Dn as VolumetricFormationConfigSchema, Do as createVirtualMedia, Dr as Vec3, Dt as KineticMarqueeConfigSchema, E as ShadowPipeline, Ea as SignalChannelMeta, Ei as GeneratorSignalData, En as VolumetricFormationConfig, Eo as createOutputItemSchema, Er as ShadowUniformInfo, Et as KineticMarqueeConfig, F as describeGpu, Fa as SignalStats, Fi as JsonValue, Fn as distanceToCurveParameter, Fo as generateId, Fr as AudioExtractorSignalData, Ft as PathChainLUTEntry, G as parseOBJ, Ga as TensorDimensions, Gi as MediaSourceDescriptor, Gn as evaluateVolumetricFormation, Go as isEqual, Gr as Color, Gt as SkewPropertiesSchema, H as lutStore, Ha as StorageService, Hi as MediaOperation, Hn as evaluateSkewMatrix, Ho as gradientStopsToOklab, Hr as COMPOSITE_OPERATIONS, Ht as SelectorUnits, I as ensureDevice, Ia as SignalStatsSchema, Ii as JsonValueSchema, In as ellipseToCubicBeziers, Io as getActiveMediaMetadata, Ir as AudioExtractorSignalDataSchema, It as SelectorBasedOn, J as textureCache, Ja as TensorPipelineConfig, Ji as MeshAudioDeformConfig, Jn as getScramblePool, Jo as limitGradientStops, Jr as ConfigHandleSchema, Jt as SpringPhysics, K as shaderStore, Ka as TensorFormat, Ki as MediaSourceInput, Kn as generateArcLengthLUT, Ko as isSignal, Kr as ColorStopLike, Kt as Spatial3DProperties, La as SignalValue, Li as Landmark3D, Ln as evaluateCubicBezier, Lo as getFileDataMetadata, Lr as BaseMediaOperationProps, Lt as SelectorBasedOnSchema, M as SphereGeometryOptions, Ma as SignalGateDataSchema, Mi as HandleTypeVal, Mn as computeLineLeadingDisplacement, Mo as formatHex, Mr as AnimationTypeSchema, Mt as ParticleDissolveConfig, Na as SignalMathData, Ni as JsonArray, Nn as computeRangeSelectorWeight, No as frameArraySignal, Nr as AnyOutputUnion, Nt as ParticleDissolveConfigSchema, Oa as SignalContext, Oi as GlobalCompositeOperation, On as VolumetricFormationMode, Oo as dataTypeColors, Or as Vector3Math, Ot as LineSpacingDynamics, Pa as SignalMathDataSchema, Pi as JsonObject, Pn as deterministicWigglyNoise, Po as frameSignal, Pr as AnyOutputUnionSchema, Pt as PathChainLUT, Q as AdvancedTextAnimatorBuilder, Qa as TimelineSegmentSchema, Qi as MultiOutputGenericSchema, Qn as sampleCurveGeometry, Qo as parseCssColor, Qr as DATA_TYPE_EXTENSIONS, Qt as TextAnimatorBuilder, R as inputStore, Ra as SineSignalOptions, Ri as MAX_GRADIENT_STOPS, Rn as evaluateCubicBezierDerivative, Ro as getFingerprint, Rr as BaseMediaOperationPropsSchema, Rt as SelectorMode, S as Renderer2D, Sa as Rgba, Si as FrameContext, Sn as VariableFontAxes, So as checkNodeResultCache, Sr as Path3D, St as GlyphAnchorGrouping, T as SSAOPipeline, Ta as SignalBuilderConfig, Ti as GateSignalOptions, Tn as Vec2Schema, To as cosineSignal, Tr as ResolvedEnvironment, Tt as GlyphAnchorPointSchema, U as parseFBX, Ua as TEXT_LAYER_DEFAULTS, Ui as MediaOperationSchema, Un as evaluateSpringProgress, Uo as hasOnlySingleSource, Ur as COMPOSITOR_DEFAULTS, Ut as SelectorUnitsSchema, V as loadOBJ, Va as SourceOperationSchema, Vi as MediaMetadataSchema, Vn as evaluateSelectorCombination, Vo as getRenderFingerprint, Vr as CAPTION_LAYER_DEFAULTS, Vt as SelectorShapeSchema, W as parseMTL, Wa as TensorData, Wi as MediaService, Wn as evaluateTypewriterState, Wo as isCssGradient, Wr as CannyOptions, Wt as SkewProperties, X as AETextAnimatorSchema, Xa as TextSpan, Xi as ModerationUnrefundableError, Xn as parseSvgPathToCubicBeziers, Xo as normalizeColorStops, Xr as ConnectedInput, Xt as TextAnchorConfig, Y as AETextAnimator, Ya as TextOperationSchema, Yi as ModerationError, Yn as getShuffledOrder, Yo as mixColors, Yr as ConfigSchemaRegistry, Yt as SpringPhysicsSchema, Z as AdvancedTextAnimator, Za as TextSpanMark, Zi as MultiOutputGeneric, Zn as sampleAudioSpectrumScale, Zo as oklabToRgb, Zr as ControlNetConditioningOutputs, Zt as TextAnchorConfigSchema, _ as Mesh3DData, _a as ParsedGradientStop, _i as FaceLandmarksOptions, _n as TextWigglySelectorSchema, _o as VisionTask, _r as LightKind, _s as timeSignal, _t as ExpressionEvaluationContext, a as AudioMeshDeformPipeline, aa as NodeRunFunction, ai as DataTypeVal, an as TextPathOptionsSchema, ao as VideoAnimation, ar as CatmullRomOptions, as as resolveMediaMimeType, at as AnimatableGlyphPropsSchema, b as NodeAnimationTrack3D, ba as ProgrammaticSignalOptions, bi as FileData, bn as TypingCadence, bo as XYPosition, br as Mat4, bt as ExtendedGlyphProperties, c as BlendMode, ca as NodeVisualConfigSchema, ci as DepthNormalsOptions, cn as TextRangeSelector, co as VideoLayerTypeSchema, cr as Environment3DFog, cs as resolveString, ct as AudioSpectrumTypographySchema, d as EffectPipeline, da as ObjectBoundingBox, di as EffectConfig, dn as TextScrambleConfigSchema, do as VideoTextPropsSchema, dr as FrustumPlanes, ds as serializeSignalData, dt as CubicBezierSegment, ea as NodeMetadataSchema, ei as DEFAULT_FPS, en as TextCursorConfigSchema, eo as TimelineTransformSchema, er as waveToCubicBeziers, es as programmaticSignal, et as AnchorGrouping, f as GlassPipeline, fa as OpticalFlowOptions, fi as EffectConfigValue, fn as TextSelector, fo as VideoTimingPropsSchema, fr as GPULightData, fs as signal, ft as CubicBezierSegmentSchema, g as Material3D, ga as ParsedGradient, gi as ExtendedLayerSchema, gn as TextWigglySelector, go as VisionNodeSpec, gr as Light3DOptions, gs as takeRenderDiagnostics, gt as EnhancedTextNodeSchema, ha as OutputItemSchema, hi as ExtendedLayer, hn as TextSignalSelectorSchema, ho as VisionConfig, hr as Light3D, hs as stampResult, ht as EnhancedTextNode, i as AudioLatentTrackCache, ia as NodeResultSchema, ii as DataTypeEnum, in as TextPathOptions, io as TransitionTypeSchema, ir as CameraShakeOptions, is as resolveBoolean, it as AnimatableGlyphProps, j as SlugPipeline, ja as SignalGateData, ji as HandleType, jn as computeAnchorPivotOffset, jo as findSourceAsset, jr as AnimationType, jt as LongShadowConfigSchema, k as Skeleton3D, ka as SignalData, ki as Gradient, kn as VolumetricFormationModeSchema, ko as deserializeSignalData, kr as parseColorToRgb, kt as LineSpacingDynamicsSchema, l as Bone3D, la as NormalRelightingOptions, li as DetectedObject, ln as TextRangeSelectorSchema, lo as VideoSpatialPropsSchema, lr as Environment3DOptions, ls as rgbToOklab, lt as ChromaticGlitchConfig, m as LoadModelOptions, ma as OutputItem, mi as ExportResultSchema, mn as TextSignalSelector, mo as VirtualMediaDataSchema, mr as LIGHT_UNIFORM_SIZE_BYTES, ms as sineSignal, mt as DynamicStrokePropertiesSchema, n as AudioLatentData, na as NodeProcessorParams, ni as DataForType, nn as TextCursorStyleSchema, no as TransitionSchema, nr as Camera3D, ns as registerSignalDependency, nt as AnchorPreset, oa as NodeValidationFn, oi as DataTypes, on as TextPathSource, oo as VideoAnimationSchema, or as CirclePathOptions, os as resolveNumber, ot as ArcLengthLUTEntry, p as GpuAdapterDescription, pa as Output, pi as ExportResult, pn as TextSelectorSchema, po as VirtualMediaData, pr as HelixOptions, ps as signalBuilder, pt as DynamicStrokeProperties, q as signalRegistry, qa as TensorNode, qi as MediaSourceSchema, qn as generatePathSegments, qo as isVirtualMediaData, qr as ConfigHandle, qt as Spatial3DPropertiesSchema, r as AudioLatentEngine, ra as NodeResult, ri as DataType, rn as TextPathBuilder, ro as TransitionType, rr as Camera3DPose, rs as reportRenderDiagnostic, rt as AnchorPresetSchema, sa as NodeVisualConfig, si as DeflickerOptions, sn as TextPathSourceSchema, so as VideoLayerType, sr as ENVIRONMENT_PRESETS, ss as resolveParam, st as AudioSpectrumTypography, t as AnimationClip3D, ta as NodeProcessorContext, ti as DEFAULT_MEDIA_DIMENSION, tn as TextCursorStyle, to as TrackedObject, tr as BezierSegment3D, ts as progressSignal, tt as AnchorGroupingSchema, u as CylinderGeometryOptions, ua as NormalizedLandmarkList, ui as Effect$1, un as TextScrambleConfig, uo as VideoStylePropsSchema, ur as FrustumPlane, us as sampleColorStops, ut as ChromaticGlitchConfigSchema, v as Model3DData, va as PoseSkeletonOptions, vi as FileAsset, vn as TypewriterAnimator, vo as VisionVariant, vr as LightsUniformData, vs as updateClockSignals, vt as ExpressionSelector, w as RoundedBoxGeometryOptions, wa as Signal, wi as GPUTextureBinding, wn as Vec2, wo as computed, wr as Path3DSample, wt as GlyphAnchorPoint, x as RenderContextValue, xa as RenderDiagnostic, xi as FileDataSchema, xn as TypingCadenceSchema, xo as appendOperation, xr as Matrix4Math, xt as ExtendedGlyphPropertiesSchema, y as MotionBlurPipeline, ya as ProgrammaticSignal, yi as FileAssetSchema, yn as TypewriterAnimatorSchema, yo as WritableSignal, yr as MAX_LIGHTS, yt as ExpressionSelectorSchema, z as loadFBX, za as SingleOutputGeneric, zi as MIME_TYPES, zn as evaluateExpressionSelector, zo as getLeafMediaType, zr as BaseVideoLayerProps, zt as SelectorModeSchema } from "./index-AdrZIWT0.mjs";
|
|
3
|
+
import { a as SfxTrigger, c as softLimit, g as mixAudioTracks, i as SfxRenderContext, n as encodeStereoWav, o as mixSfxInto, r as RenderedSfx, s as renderSfx } from "./index-CeRv1KC0.mjs";
|
|
4
|
+
import "./index-Cg2ptXcs.mjs";
|
|
5
|
+
import "./renderer-DlESyfg7.mjs";
|
|
6
|
+
import { $ as Blur, $n as COCO17_BONES, A as MotionBlur, An as Posterize, Ar as CannyComputePipeline, B as SelectiveColorProps, Bn as ResizerScaler, Bt as Flip, C as HighPass, Cn as Painterly, Cr as VisionAnalysisReport, Ct as ColorBalance, D as LevelsProps, Dn as PatchHealProps, Dr as analyzeSequence, Dt as Contour, E as Levels, Er as VisionRunner, Et as ColorKeyProps, F as Relight3DProps, Fn as RGBSplitProps, Fr as TensorPipeline, Ft as DisplacementMapProps, G as TileOffsetEdgeMode, Gn as StereoPanningProps, Gt as IridescenceProps, H as ShadowsHighlightsProps, Hn as Rotate, Ht as Gooey, I as SSAO, In as RefineEdge, Ir as TensorSource, It as Dither, J as UnsharpMaskProps, Jn as ToonProps, Jt as KenBurns, K as TileOffsetProps, Kt as Kaleidoscope, L as SSAOProps, Ln as RefineEdgeProps, Lr as TensorViewExport, Lt as DitherProps, M as PBRGlass, Mn as ProceduralVFX, Mr as DepthNormalsComputePipeline, Mt as Datamosh, N as PBRGlassProps, Nn as ProceduralVFXProps, Nr as OpticalFlowComputePipeline, Nt as DatamoshProps, O as Modulate, On as Pixelate, Or as pinNodeToLandmark, Ot as ContourProps, P as Relight3D, Pn as RGBSplit, Pr as TemporalDeflickerPipeline, Pt as DisplacementMap, Q as effectMeta, Qn as VignetteProps, R as SelectiveColor, Rn as RefractionCaustics3D, Rt as ExtractLUT, S as HalftoneScreenProps, Sr as TemporalObjectTracker, St as ChannelSplitterProps, T as LevelChannel, Tn as PatchHeal, Tr as VisionNode, Tt as ColorKey, U as TemporalDeflicker, Un as RotateProps, Ut as GooeyProps, V as ShadowsHighlights, Vn as ResizerScalerProps, Vt as FlipProps, W as TileOffset, Wn as StereoPanning, Wt as Iridescence, X as VisionProps, Xn as TrailsProps, Xt as KenBurnsProps, Y as Vision, Yn as Trails, Z as effectFactories, Zn as Vignette, Zt as LayerStyle, _ as GradientMapProps, _n as OpArtProps, _r as PoseResult, _t as CameraParallax3D, a as Crop, ar as LandmarkCoordinateSignals, at as AudioDelay, b as HalftoneMode, br as SegmentationTexturePool, bt as ChannelMergerProps, c as CurvesChannelPoint, cn as LiquifyProps, cr as ObjectAnchorsSignals, ct as AudioFadeProps, d as DeflickerProps, dn as MeshWarp, dr as ObjectKinematicsSignals, dt as AudioParametricEq, er as COCO17_KEYPOINTS, et as BlurProps, f as DepthOfField, fr as ObjectTrackSignals, ft as AudioParametricEqProps, g as GradientMap, gn as OpArt, gr as PoseLandmarkSignals, gt as CRTProps, h as FilmGrainProps, hn as NoiseGeneratorProps, hr as PinToObjectOptions, ht as CRT, i as AudioSignalExtractorProps, in as LayerStyleProps, ir as InstanceMask, it as AudioCompressorProps, j as MotionBlurProps, jn as PosterizeProps, jr as ControlNetMultiplexer, jt as CornerPinProps, k as ModulateProps, kn as PixelateProps, kr as pinNodeToObject, kt as CornerPin, l as CurvesProps, ln as MaskMath, lr as ObjectBoundingBoxSignals, lt as AudioNoiseGate, m as FilmGrain, mn as NoiseGenerator, mr as PinToLandmarkOptions, mt as AudioReverbProps, n as ApplyLUTProps, nr as COCO_CLASSES, nt as AsciiProps, o as CropProps, on as Liquify, or as MaskTrackSignals, ot as AudioDelayProps, p as DepthOfFieldProps, pn as MeshWarpProps, pr as PersonMatte, pt as AudioReverb, q as UnsharpMask, qn as Toon, qt as KaleidoscopeProps, r as AudioSignalExtractor, rr as ClipSubjectSource, rt as AudioCompressor, s as Curves, sr as ObjectAnchorName, st as AudioFade, t as ApplyLUT, tr as COCO17_KEYPOINT_NAMES, tt as Ascii, u as CustomEffect, un as MaskMathProps, ur as ObjectCollectionSignals, ut as AudioNoiseGateProps, v as GradientMapStop, vn as Paint, vr as PoseSkeletonRenderer, vt as CameraParallax3DProps, w as HighPassProps, wn as PainterlyProps, wr as VisionBundle, wt as ColorBalanceProps, x as HalftoneScreen, xr as SpatialLandmarkTransformer, xt as ChannelSplitter, y as HalftoneDotShape, yn as PaintProps, yr as SegmentationResult, yt as ChannelMerger, z as SelectiveColorAdjustment, zn as RefractionCaustics3DProps, zt as ExtractLUTProps } from "./index-BU51pxZO.mjs";
|
|
7
|
+
import { n as AudioSignalOptions, r as ExtractedAudioSignalsBundle, t as AudioSignal } from "./audio-BNnEclHU.mjs";
|
|
8
|
+
import { a as RegisteredFont, i as RegisterFontOptions, n as MeasureTextOptions, o as TextMetrics, r as MeasuredGlyph, t as FontManager } from "./index-B-55dXDu.mjs";
|
|
9
|
+
import "./index-B3BwLHa6.mjs";
|
|
10
|
+
import { _ as renderSemaphore, a as renderFrameGrid, c as HeadlessMediaRenderer, d as QaSegment, f as RenderProgress, g as formatQaReport, h as VideoQaStats, i as computeGridLayout, l as HeadlessWebGPURenderer, m as VideoQaReport, n as FrameGridRenderable, o as resolveSamplePoints, p as VideoQaOptions, r as FrameSamplePoint, s as AudioQaStats, t as FrameGridOptions, u as QaIssue, v as resetRenderCaches } from "./index-QmkcUL3W.mjs";
|
|
11
11
|
import { PreviewCloseReason, PreviewOptions, PreviewSession, PreviewSource, startPreview } from "./preview/index.mjs";
|
|
12
12
|
import { z } from "zod";
|
|
13
13
|
import { Yoga } from "yoga-layout/load";
|
|
@@ -61,9 +61,9 @@ declare function parseMarkup(markup: string): TextSpan[];
|
|
|
61
61
|
|
|
62
62
|
/** number px | "auto" (intrinsic) | "fit" (shrink-wrap) | "fill" (parent extent). */
|
|
63
63
|
declare const SizeSpecSchema: z.ZodUnion<readonly [z.ZodNumber, z.ZodEnum<{
|
|
64
|
+
fill: "fill";
|
|
64
65
|
auto: "auto";
|
|
65
66
|
fit: "fit";
|
|
66
|
-
fill: "fill";
|
|
67
67
|
}>, z.ZodCustom<unknown, unknown>]>;
|
|
68
68
|
type SizeSpec = z.infer<typeof SizeSpecSchema>;
|
|
69
69
|
declare const ShapeTypeSchema: z.ZodEnum<{
|
|
@@ -77,39 +77,40 @@ declare const ShapeTypeSchema: z.ZodEnum<{
|
|
|
77
77
|
}>;
|
|
78
78
|
type ShapeType = z.infer<typeof ShapeTypeSchema>;
|
|
79
79
|
declare const AnimatablePropSchema: z.ZodEnum<{
|
|
80
|
-
fill: "fill";
|
|
81
80
|
x: "x";
|
|
82
81
|
y: "y";
|
|
83
|
-
scale: "scale";
|
|
84
|
-
rotation: "rotation";
|
|
85
|
-
opacity: "opacity";
|
|
86
82
|
width: "width";
|
|
87
83
|
height: "height";
|
|
84
|
+
rotation: "rotation";
|
|
85
|
+
scale: "scale";
|
|
86
|
+
opacity: "opacity";
|
|
87
|
+
trimStart: "trimStart";
|
|
88
|
+
trimEnd: "trimEnd";
|
|
89
|
+
text: "text";
|
|
90
|
+
fontSize: "fontSize";
|
|
91
|
+
fill: "fill";
|
|
92
|
+
letterSpacing: "letterSpacing";
|
|
93
|
+
padding: "padding";
|
|
94
|
+
strokeWidth: "strokeWidth";
|
|
95
|
+
borderColor: "borderColor";
|
|
96
|
+
borderWidth: "borderWidth";
|
|
88
97
|
volume: "volume";
|
|
98
|
+
color: "color";
|
|
99
|
+
offset: "offset";
|
|
89
100
|
hidden: "hidden";
|
|
90
101
|
muted: "muted";
|
|
91
102
|
gap: "gap";
|
|
92
|
-
padding: "padding";
|
|
93
103
|
borderRadius: "borderRadius";
|
|
94
|
-
|
|
95
|
-
text: "text";
|
|
96
|
-
color: "color";
|
|
97
|
-
letterSpacing: "letterSpacing";
|
|
98
|
-
trimStart: "trimStart";
|
|
99
|
-
trimEnd: "trimEnd";
|
|
104
|
+
d: "d";
|
|
100
105
|
trimOffset: "trimOffset";
|
|
101
|
-
strokeWidth: "strokeWidth";
|
|
102
106
|
strokeDashOffset: "strokeDashOffset";
|
|
103
107
|
cornerRadius: "cornerRadius";
|
|
104
108
|
starInnerRadiusRatio: "starInnerRadiusRatio";
|
|
105
109
|
fillColor: "fillColor";
|
|
106
110
|
strokeColor: "strokeColor";
|
|
107
|
-
borderColor: "borderColor";
|
|
108
|
-
borderWidth: "borderWidth";
|
|
109
111
|
motionBlurShutter: "motionBlurShutter";
|
|
110
112
|
rangeStart: "rangeStart";
|
|
111
113
|
rangeEnd: "rangeEnd";
|
|
112
|
-
offset: "offset";
|
|
113
114
|
animatorRangeStart: "animatorRangeStart";
|
|
114
115
|
animatorRangeEnd: "animatorRangeEnd";
|
|
115
116
|
animatorOffset: "animatorOffset";
|
|
@@ -190,6 +191,7 @@ declare const MaterialTypeSchema: z.ZodEnum<{
|
|
|
190
191
|
type MaterialType = z.infer<typeof MaterialTypeSchema>;
|
|
191
192
|
declare const EaseRefSchema: z.ZodObject<{
|
|
192
193
|
name: z.ZodEnum<{
|
|
194
|
+
bounce: "bounce";
|
|
193
195
|
none: "none";
|
|
194
196
|
power1: "power1";
|
|
195
197
|
power2: "power2";
|
|
@@ -199,14 +201,13 @@ declare const EaseRefSchema: z.ZodObject<{
|
|
|
199
201
|
expo: "expo";
|
|
200
202
|
back: "back";
|
|
201
203
|
elastic: "elastic";
|
|
202
|
-
bounce: "bounce";
|
|
203
204
|
spring: "spring";
|
|
204
205
|
cubic: "cubic";
|
|
205
206
|
hold: "hold";
|
|
206
207
|
}>;
|
|
207
208
|
dir: z.ZodEnum<{
|
|
208
|
-
in: "in";
|
|
209
209
|
out: "out";
|
|
210
|
+
in: "in";
|
|
210
211
|
inOut: "inOut";
|
|
211
212
|
}>;
|
|
212
213
|
params: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
@@ -218,6 +219,7 @@ declare const KeyframeSchema: z.ZodObject<{
|
|
|
218
219
|
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean, z.ZodString]>;
|
|
219
220
|
ease: z.ZodOptional<z.ZodObject<{
|
|
220
221
|
name: z.ZodEnum<{
|
|
222
|
+
bounce: "bounce";
|
|
221
223
|
none: "none";
|
|
222
224
|
power1: "power1";
|
|
223
225
|
power2: "power2";
|
|
@@ -227,14 +229,13 @@ declare const KeyframeSchema: z.ZodObject<{
|
|
|
227
229
|
expo: "expo";
|
|
228
230
|
back: "back";
|
|
229
231
|
elastic: "elastic";
|
|
230
|
-
bounce: "bounce";
|
|
231
232
|
spring: "spring";
|
|
232
233
|
cubic: "cubic";
|
|
233
234
|
hold: "hold";
|
|
234
235
|
}>;
|
|
235
236
|
dir: z.ZodEnum<{
|
|
236
|
-
in: "in";
|
|
237
237
|
out: "out";
|
|
238
|
+
in: "in";
|
|
238
239
|
inOut: "inOut";
|
|
239
240
|
}>;
|
|
240
241
|
params: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
@@ -291,39 +292,40 @@ type TrackSource = z.infer<typeof RawTrackSourceSchema>;
|
|
|
291
292
|
declare const AnimationTrackSchema: z.ZodObject<{
|
|
292
293
|
id: z.ZodString;
|
|
293
294
|
prop: z.ZodEnum<{
|
|
294
|
-
fill: "fill";
|
|
295
295
|
x: "x";
|
|
296
296
|
y: "y";
|
|
297
|
-
scale: "scale";
|
|
298
|
-
rotation: "rotation";
|
|
299
|
-
opacity: "opacity";
|
|
300
297
|
width: "width";
|
|
301
298
|
height: "height";
|
|
299
|
+
rotation: "rotation";
|
|
300
|
+
scale: "scale";
|
|
301
|
+
opacity: "opacity";
|
|
302
|
+
trimStart: "trimStart";
|
|
303
|
+
trimEnd: "trimEnd";
|
|
304
|
+
text: "text";
|
|
305
|
+
fontSize: "fontSize";
|
|
306
|
+
fill: "fill";
|
|
307
|
+
letterSpacing: "letterSpacing";
|
|
308
|
+
padding: "padding";
|
|
309
|
+
strokeWidth: "strokeWidth";
|
|
310
|
+
borderColor: "borderColor";
|
|
311
|
+
borderWidth: "borderWidth";
|
|
302
312
|
volume: "volume";
|
|
313
|
+
color: "color";
|
|
314
|
+
offset: "offset";
|
|
303
315
|
hidden: "hidden";
|
|
304
316
|
muted: "muted";
|
|
305
317
|
gap: "gap";
|
|
306
|
-
padding: "padding";
|
|
307
318
|
borderRadius: "borderRadius";
|
|
308
|
-
|
|
309
|
-
text: "text";
|
|
310
|
-
color: "color";
|
|
311
|
-
letterSpacing: "letterSpacing";
|
|
312
|
-
trimStart: "trimStart";
|
|
313
|
-
trimEnd: "trimEnd";
|
|
319
|
+
d: "d";
|
|
314
320
|
trimOffset: "trimOffset";
|
|
315
|
-
strokeWidth: "strokeWidth";
|
|
316
321
|
strokeDashOffset: "strokeDashOffset";
|
|
317
322
|
cornerRadius: "cornerRadius";
|
|
318
323
|
starInnerRadiusRatio: "starInnerRadiusRatio";
|
|
319
324
|
fillColor: "fillColor";
|
|
320
325
|
strokeColor: "strokeColor";
|
|
321
|
-
borderColor: "borderColor";
|
|
322
|
-
borderWidth: "borderWidth";
|
|
323
326
|
motionBlurShutter: "motionBlurShutter";
|
|
324
327
|
rangeStart: "rangeStart";
|
|
325
328
|
rangeEnd: "rangeEnd";
|
|
326
|
-
offset: "offset";
|
|
327
329
|
animatorRangeStart: "animatorRangeStart";
|
|
328
330
|
animatorRangeEnd: "animatorRangeEnd";
|
|
329
331
|
animatorOffset: "animatorOffset";
|
|
@@ -426,6 +428,7 @@ declare const AnimationTrackSchema: z.ZodObject<{
|
|
|
426
428
|
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean, z.ZodString]>;
|
|
427
429
|
ease: z.ZodOptional<z.ZodObject<{
|
|
428
430
|
name: z.ZodEnum<{
|
|
431
|
+
bounce: "bounce";
|
|
429
432
|
none: "none";
|
|
430
433
|
power1: "power1";
|
|
431
434
|
power2: "power2";
|
|
@@ -435,14 +438,13 @@ declare const AnimationTrackSchema: z.ZodObject<{
|
|
|
435
438
|
expo: "expo";
|
|
436
439
|
back: "back";
|
|
437
440
|
elastic: "elastic";
|
|
438
|
-
bounce: "bounce";
|
|
439
441
|
spring: "spring";
|
|
440
442
|
cubic: "cubic";
|
|
441
443
|
hold: "hold";
|
|
442
444
|
}>;
|
|
443
445
|
dir: z.ZodEnum<{
|
|
444
|
-
in: "in";
|
|
445
446
|
out: "out";
|
|
447
|
+
in: "in";
|
|
446
448
|
inOut: "inOut";
|
|
447
449
|
}>;
|
|
448
450
|
params: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
@@ -467,39 +469,40 @@ declare const LayerAnimationSchema: z.ZodObject<{
|
|
|
467
469
|
tracks: z.ZodArray<z.ZodObject<{
|
|
468
470
|
id: z.ZodString;
|
|
469
471
|
prop: z.ZodEnum<{
|
|
470
|
-
fill: "fill";
|
|
471
472
|
x: "x";
|
|
472
473
|
y: "y";
|
|
473
|
-
scale: "scale";
|
|
474
|
-
rotation: "rotation";
|
|
475
|
-
opacity: "opacity";
|
|
476
474
|
width: "width";
|
|
477
475
|
height: "height";
|
|
476
|
+
rotation: "rotation";
|
|
477
|
+
scale: "scale";
|
|
478
|
+
opacity: "opacity";
|
|
479
|
+
trimStart: "trimStart";
|
|
480
|
+
trimEnd: "trimEnd";
|
|
481
|
+
text: "text";
|
|
482
|
+
fontSize: "fontSize";
|
|
483
|
+
fill: "fill";
|
|
484
|
+
letterSpacing: "letterSpacing";
|
|
485
|
+
padding: "padding";
|
|
486
|
+
strokeWidth: "strokeWidth";
|
|
487
|
+
borderColor: "borderColor";
|
|
488
|
+
borderWidth: "borderWidth";
|
|
478
489
|
volume: "volume";
|
|
490
|
+
color: "color";
|
|
491
|
+
offset: "offset";
|
|
479
492
|
hidden: "hidden";
|
|
480
493
|
muted: "muted";
|
|
481
494
|
gap: "gap";
|
|
482
|
-
padding: "padding";
|
|
483
495
|
borderRadius: "borderRadius";
|
|
484
|
-
|
|
485
|
-
text: "text";
|
|
486
|
-
color: "color";
|
|
487
|
-
letterSpacing: "letterSpacing";
|
|
488
|
-
trimStart: "trimStart";
|
|
489
|
-
trimEnd: "trimEnd";
|
|
496
|
+
d: "d";
|
|
490
497
|
trimOffset: "trimOffset";
|
|
491
|
-
strokeWidth: "strokeWidth";
|
|
492
498
|
strokeDashOffset: "strokeDashOffset";
|
|
493
499
|
cornerRadius: "cornerRadius";
|
|
494
500
|
starInnerRadiusRatio: "starInnerRadiusRatio";
|
|
495
501
|
fillColor: "fillColor";
|
|
496
502
|
strokeColor: "strokeColor";
|
|
497
|
-
borderColor: "borderColor";
|
|
498
|
-
borderWidth: "borderWidth";
|
|
499
503
|
motionBlurShutter: "motionBlurShutter";
|
|
500
504
|
rangeStart: "rangeStart";
|
|
501
505
|
rangeEnd: "rangeEnd";
|
|
502
|
-
offset: "offset";
|
|
503
506
|
animatorRangeStart: "animatorRangeStart";
|
|
504
507
|
animatorRangeEnd: "animatorRangeEnd";
|
|
505
508
|
animatorOffset: "animatorOffset";
|
|
@@ -602,6 +605,7 @@ declare const LayerAnimationSchema: z.ZodObject<{
|
|
|
602
605
|
value: z.ZodUnion<readonly [z.ZodNumber, z.ZodBoolean, z.ZodString]>;
|
|
603
606
|
ease: z.ZodOptional<z.ZodObject<{
|
|
604
607
|
name: z.ZodEnum<{
|
|
608
|
+
bounce: "bounce";
|
|
605
609
|
none: "none";
|
|
606
610
|
power1: "power1";
|
|
607
611
|
power2: "power2";
|
|
@@ -611,14 +615,13 @@ declare const LayerAnimationSchema: z.ZodObject<{
|
|
|
611
615
|
expo: "expo";
|
|
612
616
|
back: "back";
|
|
613
617
|
elastic: "elastic";
|
|
614
|
-
bounce: "bounce";
|
|
615
618
|
spring: "spring";
|
|
616
619
|
cubic: "cubic";
|
|
617
620
|
hold: "hold";
|
|
618
621
|
}>;
|
|
619
622
|
dir: z.ZodEnum<{
|
|
620
|
-
in: "in";
|
|
621
623
|
out: "out";
|
|
624
|
+
in: "in";
|
|
622
625
|
inOut: "inOut";
|
|
623
626
|
}>;
|
|
624
627
|
params: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
@@ -638,6 +641,7 @@ declare const LayerAnimationSchema: z.ZodObject<{
|
|
|
638
641
|
yoyo: z.ZodOptional<z.ZodBoolean>;
|
|
639
642
|
durationFrames: z.ZodOptional<z.ZodNumber>;
|
|
640
643
|
}, z.core.$strict>>;
|
|
644
|
+
frameStep: z.ZodOptional<z.ZodNumber>;
|
|
641
645
|
}, z.core.$strict>;
|
|
642
646
|
type LayerAnimationSpec = z.infer<typeof LayerAnimationSchema>;
|
|
643
647
|
interface CompositionNodeBase {
|
|
@@ -1169,8 +1173,8 @@ declare const CompositorProgramSchema: z.ZodObject<{
|
|
|
1169
1173
|
volume: z.ZodDefault<z.ZodNumber>;
|
|
1170
1174
|
fps: z.ZodDefault<z.ZodNumber>;
|
|
1171
1175
|
mode: z.ZodDefault<z.ZodEnum<{
|
|
1172
|
-
Video: "Video";
|
|
1173
1176
|
Image: "Image";
|
|
1177
|
+
Video: "Video";
|
|
1174
1178
|
}>>;
|
|
1175
1179
|
antialias3d: z.ZodOptional<z.ZodBoolean>;
|
|
1176
1180
|
layout: z.ZodDefault<z.ZodArray<z.ZodType<LayoutNode, unknown, z.core.$ZodTypeInternals<LayoutNode, unknown>>>>;
|
|
@@ -1275,6 +1279,10 @@ interface SignalTrackOptions {
|
|
|
1275
1279
|
interface ColorSignalOptions {
|
|
1276
1280
|
colorA: string;
|
|
1277
1281
|
colorB: string;
|
|
1282
|
+
/** Scales the signal before it picks a color (e.g. `1 / 900` for a speed in px/s). Default 1. */
|
|
1283
|
+
multiplier?: number;
|
|
1284
|
+
/** Added after `multiplier`. Default 0. */
|
|
1285
|
+
offset?: number;
|
|
1278
1286
|
colorMode?: "interpolate" | "hueRotate" | "threshold";
|
|
1279
1287
|
threshold?: number;
|
|
1280
1288
|
smoothing?: number;
|
|
@@ -1346,8 +1354,19 @@ declare function mergeAnimationTracks(tracks: readonly AnimationTrack[]): Animat
|
|
|
1346
1354
|
*/
|
|
1347
1355
|
declare class LayerAnimation implements LayerAnimationSpec {
|
|
1348
1356
|
tracks: AnimationTrack[];
|
|
1357
|
+
/** Hold each value for this many frames (see {@link LayerAnimation.stepped}). */
|
|
1358
|
+
frameStep?: number;
|
|
1349
1359
|
constructor(tracks?: AnimationTrack[]);
|
|
1350
1360
|
static create(): LayerAnimation;
|
|
1361
|
+
/**
|
|
1362
|
+
* Stepped timing for the whole layer: every animated value is held for
|
|
1363
|
+
* `frames` frames ("on twos" = 2, "on threes" = 3), the choppy, hand-made
|
|
1364
|
+
* look of stop motion and cel animation. Applies to all of the layer's
|
|
1365
|
+
* tracks, including ones added by other `.animate()` calls.
|
|
1366
|
+
*/
|
|
1367
|
+
static stepped(frames?: number): LayerAnimation;
|
|
1368
|
+
/** See {@link LayerAnimation.stepped}. */
|
|
1369
|
+
stepped(frames?: number): this;
|
|
1351
1370
|
static fromTo(prop: AnimatableProp, fromValue: number | string | boolean, toValue: number | string | boolean, options?: FromToOptions): LayerAnimation;
|
|
1352
1371
|
/** A track from a list of `[frame, value, ease?]` keyframes; see {@link LayerAnimation.keys}. */
|
|
1353
1372
|
static keys(prop: AnimatableProp, keyframes: readonly KeyframeTuple[]): LayerAnimation;
|
|
@@ -1593,6 +1612,18 @@ declare function lintComposition(config: Pick<CompositorProgramConfig, "width" |
|
|
|
1593
1612
|
//#region src/program/mattes.d.ts
|
|
1594
1613
|
/** Returns the tree with every `matte` turned into a sibling matte layer. */
|
|
1595
1614
|
declare function hoistMattes<T extends LayoutNode>(nodes: readonly T[]): T[];
|
|
1615
|
+
//#endregion
|
|
1616
|
+
//#region src/program/path-morph.d.ts
|
|
1617
|
+
/**
|
|
1618
|
+
* Shape morphing: interpolates between two SVG path strings.
|
|
1619
|
+
*
|
|
1620
|
+
* Both paths are flattened to polylines, resampled to the same number of
|
|
1621
|
+
* points by arc length, and the second is rotated (and reversed if it winds
|
|
1622
|
+
* the other way) so its points line up with the first's. Subpaths pair up in
|
|
1623
|
+
* order; a subpath with no partner grows from (or shrinks to) the center of
|
|
1624
|
+
* the one it pairs with. The result is a polygon path string.
|
|
1625
|
+
*/
|
|
1626
|
+
|
|
1596
1627
|
//#endregion
|
|
1597
1628
|
//#region src/program/sequence.d.ts
|
|
1598
1629
|
/**
|
|
@@ -1882,6 +1913,760 @@ interface ChartOptions {
|
|
|
1882
1913
|
}
|
|
1883
1914
|
declare const DEFAULT_CHART_COLORS: readonly ["#6366f1", "#22d3ee", "#f59e0b", "#ec4899", "#10b981", "#8b5cf6", "#f97316", "#3b82f6"];
|
|
1884
1915
|
//#endregion
|
|
1916
|
+
//#region src/clip-vision.d.ts
|
|
1917
|
+
type PoseKeypointName = (typeof COCO17_KEYPOINT_NAMES)[number];
|
|
1918
|
+
interface ClipVisionOptions {
|
|
1919
|
+
/** Composition frame the clip's first frame plays on (default 0). */
|
|
1920
|
+
startFrame?: number;
|
|
1921
|
+
/** Seconds trimmed off the clip's start, as on its media layer (default 0). */
|
|
1922
|
+
trimStartSec?: number;
|
|
1923
|
+
/** Analysis frame rate (default: the composition's). */
|
|
1924
|
+
fps?: number;
|
|
1925
|
+
/** Track 17 COCO keypoints (default true). */
|
|
1926
|
+
pose?: boolean;
|
|
1927
|
+
/** Track the person's silhouette, dress and held things included (default true). */
|
|
1928
|
+
mask?: boolean;
|
|
1929
|
+
/** Silhouette cell size in source pixels (default 8: a 1920×1080 clip gives a 240×135 grid). */
|
|
1930
|
+
maskCell?: number;
|
|
1931
|
+
/** Keypoints are averaged over ±`smoothing` frames, weighted by confidence (default 2; 0 = raw). */
|
|
1932
|
+
smoothing?: number;
|
|
1933
|
+
variant?: VisionProps["variant"];
|
|
1934
|
+
confidence?: number;
|
|
1935
|
+
modelsDir?: string;
|
|
1936
|
+
baseUrl?: string;
|
|
1937
|
+
/**
|
|
1938
|
+
* Node: where results persist between runs. Default
|
|
1939
|
+
* `$FRAMEFIELDS_VISION_CACHE_DIR` or `~/.cache/framefields/vision`;
|
|
1940
|
+
* `false` keeps them in memory only. Browsers always keep them in memory.
|
|
1941
|
+
*/
|
|
1942
|
+
cacheDir?: string | false;
|
|
1943
|
+
}
|
|
1944
|
+
/** Where the clip sits in the composition, like a media layer's box and `fit`. */
|
|
1945
|
+
interface PersonPlacement {
|
|
1946
|
+
x?: number;
|
|
1947
|
+
y?: number;
|
|
1948
|
+
width: number;
|
|
1949
|
+
height: number;
|
|
1950
|
+
fit?: "cover" | "contain" | "fill";
|
|
1951
|
+
}
|
|
1952
|
+
interface FrameResult {
|
|
1953
|
+
/** 17 × [x, y, visibility], source px; null when no person was found. */
|
|
1954
|
+
kp: Float32Array | null;
|
|
1955
|
+
/** cellW × cellH, 0–255; null when no person was found. */
|
|
1956
|
+
mask: Uint8Array | null;
|
|
1957
|
+
}
|
|
1958
|
+
interface Transform {
|
|
1959
|
+
sx: number;
|
|
1960
|
+
sy: number;
|
|
1961
|
+
ox: number;
|
|
1962
|
+
oy: number;
|
|
1963
|
+
}
|
|
1964
|
+
/**
|
|
1965
|
+
* Vision results for one clip, computed per frame on demand and shared by
|
|
1966
|
+
* everything that reads the clip: physics, layout, signals. Unlike the
|
|
1967
|
+
* render-time `withVision`, which analyses a layer's previous rendered frame,
|
|
1968
|
+
* this analyses the clip's own frames, so a result exists before its frame
|
|
1969
|
+
* renders. The composition analyses what each frame needs just before
|
|
1970
|
+
* drawing it (and a live physics world before stepping), so preview and
|
|
1971
|
+
* export fill the cache as they play; nothing has to be analysed up front.
|
|
1972
|
+
*
|
|
1973
|
+
* Results depend only on the clip and settings, so they persist on disk in
|
|
1974
|
+
* Node: a second run, or a render after a preview, reuses them. A matte-mode
|
|
1975
|
+
* `withVision` layer of the same clip reuses them too (`keepSubjects`).
|
|
1976
|
+
*/
|
|
1977
|
+
declare class ClipVision implements ClipSubjectSource {
|
|
1978
|
+
readonly source: string;
|
|
1979
|
+
readonly fps: number;
|
|
1980
|
+
readonly startFrame: number;
|
|
1981
|
+
readonly trimStartSec: number;
|
|
1982
|
+
readonly smoothing: number;
|
|
1983
|
+
/** @internal */
|
|
1984
|
+
readonly options: ClipVisionOptions;
|
|
1985
|
+
private readonly results;
|
|
1986
|
+
private sourceWidth;
|
|
1987
|
+
private sourceHeight;
|
|
1988
|
+
private cellW;
|
|
1989
|
+
private cellH;
|
|
1990
|
+
private readonly cell;
|
|
1991
|
+
private queue;
|
|
1992
|
+
private runner?;
|
|
1993
|
+
private cacheLoaded?;
|
|
1994
|
+
private unsaved;
|
|
1995
|
+
private unsavedSubjects;
|
|
1996
|
+
private readonly blurred;
|
|
1997
|
+
private readonly smoothed;
|
|
1998
|
+
private personView?;
|
|
1999
|
+
/** Full-resolution subject masks for render-time mattes (see `keepSubjects`). */
|
|
2000
|
+
private readonly subjects;
|
|
2001
|
+
private wantSubjects;
|
|
2002
|
+
private subjectsLoaded?;
|
|
2003
|
+
/** @internal Use `comp.vision(source, options)`. */
|
|
2004
|
+
constructor(source: string, fps: number, options?: ClipVisionOptions);
|
|
2005
|
+
/** The tracked person in source pixels; `.place()` maps it into the composition. */
|
|
2006
|
+
get person(): PersonTrack;
|
|
2007
|
+
/**
|
|
2008
|
+
* Analyses what reading composition frame `frame` needs (it and a few
|
|
2009
|
+
* neighbours for smoothing). Pass a second frame to analyse a whole range.
|
|
2010
|
+
* Calls queue, so the clip is decoded once, in order.
|
|
2011
|
+
*/
|
|
2012
|
+
ready(frame: number, toFrame?: number): Promise<void>;
|
|
2013
|
+
/** True when composition frame `frame` can be read synchronously. */
|
|
2014
|
+
isReady(frame: number): boolean;
|
|
2015
|
+
/**
|
|
2016
|
+
* @internal Also keep each frame's full-resolution subject mask, merged
|
|
2017
|
+
* like the Vision effect's matte, so a matte layer of this clip reuses it
|
|
2018
|
+
* instead of segmenting the frame again (framefields links them).
|
|
2019
|
+
*/
|
|
2020
|
+
keepSubjects(): void;
|
|
2021
|
+
/**
|
|
2022
|
+
* @internal The subject at a source frame of the clip (`frame` at `fps`),
|
|
2023
|
+
* for a render-time matte: undefined until that frame is analysed with
|
|
2024
|
+
* subjects kept, null when it holds no subject.
|
|
2025
|
+
*/
|
|
2026
|
+
subject(frame: number, fps: number): InstanceMask | null | undefined;
|
|
2027
|
+
/** Composition frame → clip frame (fractional). */
|
|
2028
|
+
clipFrame(frame: number): number;
|
|
2029
|
+
private window;
|
|
2030
|
+
private analysed;
|
|
2031
|
+
private compute;
|
|
2032
|
+
private setSize;
|
|
2033
|
+
/** @internal */
|
|
2034
|
+
size(): {
|
|
2035
|
+
width: number;
|
|
2036
|
+
height: number;
|
|
2037
|
+
};
|
|
2038
|
+
/** @internal Raw result for a clip frame, or throws when it was never analysed. */
|
|
2039
|
+
result(c: number): FrameResult | undefined;
|
|
2040
|
+
/** @internal Confidence-weighted keypoint over the smoothing window, in source px. */
|
|
2041
|
+
keypoint(k: number, c: number): [number, number, number];
|
|
2042
|
+
/** @internal Softened silhouette grid for a clip frame (null: no person). */
|
|
2043
|
+
blurredMask(c: number): Float32Array | null;
|
|
2044
|
+
/** @internal */
|
|
2045
|
+
grid(): {
|
|
2046
|
+
cell: number;
|
|
2047
|
+
width: number;
|
|
2048
|
+
height: number;
|
|
2049
|
+
};
|
|
2050
|
+
private mustHave;
|
|
2051
|
+
private cacheFile?;
|
|
2052
|
+
private cachePath;
|
|
2053
|
+
private loadCache;
|
|
2054
|
+
private saveCache;
|
|
2055
|
+
/** Subjects live beside the results: large, and only matte layers read them. */
|
|
2056
|
+
private subjectsPath;
|
|
2057
|
+
private loadSubjects;
|
|
2058
|
+
private saveSubjects;
|
|
2059
|
+
}
|
|
2060
|
+
/**
|
|
2061
|
+
* The person in a {@link ClipVision}: pose keypoints and silhouette at any
|
|
2062
|
+
* composition frame, in source pixels or, after `place()`, composition
|
|
2063
|
+
* pixels. Reads are synchronous; the frame must be analysed (it is while
|
|
2064
|
+
* rendering, inside a live physics world, or after `await clip.ready(frame)`).
|
|
2065
|
+
*/
|
|
2066
|
+
declare class PersonTrack {
|
|
2067
|
+
readonly clip: ClipVision;
|
|
2068
|
+
private readonly t?;
|
|
2069
|
+
private readonly placement?;
|
|
2070
|
+
/** @internal */
|
|
2071
|
+
constructor(clip: ClipVision, t?: Transform | undefined, placement?: PersonPlacement | undefined);
|
|
2072
|
+
/** The same person in composition pixels for a clip laid out at `placement`. */
|
|
2073
|
+
place(placement: PersonPlacement): PersonTrack;
|
|
2074
|
+
private transform;
|
|
2075
|
+
/** A keypoint at a composition frame (fractional frames interpolate). */
|
|
2076
|
+
point(name: PoseKeypointName, frame: number): {
|
|
2077
|
+
x: number;
|
|
2078
|
+
y: number;
|
|
2079
|
+
visibility: number;
|
|
2080
|
+
};
|
|
2081
|
+
/** Signals for a keypoint, for `.signal("x", …)`; read while rendering. */
|
|
2082
|
+
signals(name: PoseKeypointName): {
|
|
2083
|
+
x: FrameSignal<number>;
|
|
2084
|
+
y: FrameSignal<number>;
|
|
2085
|
+
visibility: FrameSignal<number>;
|
|
2086
|
+
};
|
|
2087
|
+
/**
|
|
2088
|
+
* @internal The softened silhouette grid at a composition frame and how
|
|
2089
|
+
* placed px map onto it (`cell = (px − origin) / scale − 0.5`), for GPU
|
|
2090
|
+
* consumers such as particles. Null when no person was found.
|
|
2091
|
+
*/
|
|
2092
|
+
silhouetteGrid(frame: number): {
|
|
2093
|
+
data: Float32Array;
|
|
2094
|
+
width: number;
|
|
2095
|
+
height: number;
|
|
2096
|
+
originX: number;
|
|
2097
|
+
originY: number;
|
|
2098
|
+
scaleX: number;
|
|
2099
|
+
scaleY: number;
|
|
2100
|
+
} | null;
|
|
2101
|
+
/**
|
|
2102
|
+
* The silhouette near a point at a composition frame: `alpha` 0–1 (softened
|
|
2103
|
+
* over a few cells; inside > 0.5) and its gradient `gx`, `gy` per px,
|
|
2104
|
+
* pointing into the body. Push things out with `-gradient`.
|
|
2105
|
+
*/
|
|
2106
|
+
sample(frame: number, x: number, y: number): {
|
|
2107
|
+
alpha: number;
|
|
2108
|
+
gx: number;
|
|
2109
|
+
gy: number;
|
|
2110
|
+
};
|
|
2111
|
+
}
|
|
2112
|
+
//#endregion
|
|
2113
|
+
//#region ../../nodes/node-particles/dist/index-CGwIc9Nx.d.mts
|
|
2114
|
+
//#region src/shared/program.d.ts
|
|
2115
|
+
|
|
2116
|
+
/**
|
|
2117
|
+
* The contract between a particle system's authoring object (framefields'
|
|
2118
|
+
* `Particles` effect, carried on the op as `effect`) and this renderer.
|
|
2119
|
+
* Static settings are read once per system; per-frame inputs (driven values,
|
|
2120
|
+
* a performer's silhouette) are asked for each simulated frame.
|
|
2121
|
+
*/
|
|
2122
|
+
type EmitterShape = "point" | "line" | "rect" | "circle" | "ring";
|
|
2123
|
+
type ParticleShape = "circle" | "soft" | "square" | "spark";
|
|
2124
|
+
type ParticleBlend = "normal" | "add" | "screen";
|
|
2125
|
+
type ParticleBounds = "none" | "kill" | "bounce" | "wrap";
|
|
2126
|
+
interface ParticleStatic {
|
|
2127
|
+
/** Capacity: the most particles alive at once. */
|
|
2128
|
+
max: number;
|
|
2129
|
+
seed: number;
|
|
2130
|
+
/** Layer box in composition px (sampling silhouettes needs the origin). */
|
|
2131
|
+
layer: {
|
|
2132
|
+
x: number;
|
|
2133
|
+
y: number;
|
|
2134
|
+
width: number;
|
|
2135
|
+
height: number;
|
|
2136
|
+
};
|
|
2137
|
+
emitter: {
|
|
2138
|
+
shape: EmitterShape;
|
|
2139
|
+
x: number;
|
|
2140
|
+
y: number;
|
|
2141
|
+
width: number;
|
|
2142
|
+
height: number;
|
|
2143
|
+
radius: number;
|
|
2144
|
+
/** Aim away from the emitter's center instead of along `direction`. */
|
|
2145
|
+
radial: boolean;
|
|
2146
|
+
};
|
|
2147
|
+
/** Seconds. */
|
|
2148
|
+
lifetime: [number, number];
|
|
2149
|
+
/** px/s. */
|
|
2150
|
+
speed: [number, number];
|
|
2151
|
+
/** Degrees, 0 = right, -90 = up. */
|
|
2152
|
+
direction: number;
|
|
2153
|
+
/** Degrees around `direction`. */
|
|
2154
|
+
spread: number;
|
|
2155
|
+
bounds: ParticleBounds;
|
|
2156
|
+
/** Floor line in layer px, or null. */
|
|
2157
|
+
floor: number | null;
|
|
2158
|
+
bounce: number;
|
|
2159
|
+
/** px at birth and death. */
|
|
2160
|
+
size: [number, number];
|
|
2161
|
+
/** 0–1 random scale per particle. */
|
|
2162
|
+
sizeJitter: number;
|
|
2163
|
+
/** Fractions of life spent fading in and out. */
|
|
2164
|
+
fade: [number, number];
|
|
2165
|
+
shape: ParticleShape;
|
|
2166
|
+
/** Spark length per px/s of speed. */
|
|
2167
|
+
stretch: number;
|
|
2168
|
+
blend: ParticleBlend;
|
|
2169
|
+
/** Up to 8 colors, evenly spaced over life (or speed). */
|
|
2170
|
+
colors: Array<[number, number, number, number]>;
|
|
2171
|
+
/** Color by speed instead of age: speed (px/s) that reaches the last color. */
|
|
2172
|
+
colorBySpeed: number | null;
|
|
2173
|
+
opacity: number;
|
|
2174
|
+
substeps: number;
|
|
2175
|
+
/** Seconds simulated before the first frame, so it starts full. */
|
|
2176
|
+
prewarm: number;
|
|
2177
|
+
}
|
|
2178
|
+
interface ParticleAttractor {
|
|
2179
|
+
x: number;
|
|
2180
|
+
y: number;
|
|
2181
|
+
/** px/s² at the center; negative repels. */
|
|
2182
|
+
strength: number;
|
|
2183
|
+
/** Falloff radius, px. */
|
|
2184
|
+
radius: number;
|
|
2185
|
+
}
|
|
2186
|
+
/** A silhouette grid (0–1 per cell) and how composition px map onto it. */
|
|
2187
|
+
interface ParticleMask {
|
|
2188
|
+
data: Float32Array;
|
|
2189
|
+
width: number;
|
|
2190
|
+
height: number;
|
|
2191
|
+
/** cell = (px − origin) / scale − 0.5 */
|
|
2192
|
+
originX: number;
|
|
2193
|
+
originY: number;
|
|
2194
|
+
scaleX: number;
|
|
2195
|
+
scaleY: number;
|
|
2196
|
+
}
|
|
2197
|
+
interface ParticleFrame {
|
|
2198
|
+
/** Emitter position this frame, when it moves (layer px); births spread back toward `previous`. */
|
|
2199
|
+
emitter?: {
|
|
2200
|
+
x: number;
|
|
2201
|
+
y: number;
|
|
2202
|
+
previousX: number;
|
|
2203
|
+
previousY: number;
|
|
2204
|
+
};
|
|
2205
|
+
/** Particles per second this frame. */
|
|
2206
|
+
rate: number;
|
|
2207
|
+
/** Extra particles born this frame. */
|
|
2208
|
+
burst: number;
|
|
2209
|
+
gravity: [number, number];
|
|
2210
|
+
/** Velocity damping per second. */
|
|
2211
|
+
drag: number;
|
|
2212
|
+
noise: {
|
|
2213
|
+
strength: number;
|
|
2214
|
+
scale: number;
|
|
2215
|
+
speed: number;
|
|
2216
|
+
};
|
|
2217
|
+
attractors: ParticleAttractor[];
|
|
2218
|
+
push: {
|
|
2219
|
+
strength: number;
|
|
2220
|
+
/** Extra push where the silhouette just arrived. */
|
|
2221
|
+
sweep: number;
|
|
2222
|
+
mask: ParticleMask | null;
|
|
2223
|
+
previous: ParticleMask | null;
|
|
2224
|
+
} | null;
|
|
2225
|
+
}
|
|
2226
|
+
interface ParticleProgram {
|
|
2227
|
+
readonly particleStatic: ParticleStatic;
|
|
2228
|
+
/** Inputs for composition frame `frame` (layer-local frames are the effect's concern). */
|
|
2229
|
+
particleFrame(frame: number, fps: number): ParticleFrame;
|
|
2230
|
+
/** Renderer-owned state, kept on the authoring object so it lives as long as the system. */
|
|
2231
|
+
particleState?: unknown;
|
|
2232
|
+
}
|
|
2233
|
+
//#endregion
|
|
2234
|
+
//#region src/physics/backend.d.ts
|
|
2235
|
+
type Vec2$1 = [number, number];
|
|
2236
|
+
type Vec3$1 = [number, number, number];
|
|
2237
|
+
/** Quaternion as [x, y, z, w]. */
|
|
2238
|
+
type Quat = [number, number, number, number];
|
|
2239
|
+
type BodyType = "dynamic" | "fixed" | "kinematic";
|
|
2240
|
+
interface MaterialSpec {
|
|
2241
|
+
density: number;
|
|
2242
|
+
friction: number;
|
|
2243
|
+
restitution: number;
|
|
2244
|
+
}
|
|
2245
|
+
type Shape2D = {
|
|
2246
|
+
kind: "box";
|
|
2247
|
+
hx: number;
|
|
2248
|
+
hy: number;
|
|
2249
|
+
radius?: number;
|
|
2250
|
+
} | {
|
|
2251
|
+
kind: "ball";
|
|
2252
|
+
radius: number;
|
|
2253
|
+
}
|
|
2254
|
+
/** Flat [x0, y0, x1, y1, …] around the body origin. */ | {
|
|
2255
|
+
kind: "hull";
|
|
2256
|
+
points: number[];
|
|
2257
|
+
};
|
|
2258
|
+
type Shape3D = {
|
|
2259
|
+
kind: "box";
|
|
2260
|
+
hx: number;
|
|
2261
|
+
hy: number;
|
|
2262
|
+
hz: number;
|
|
2263
|
+
radius?: number;
|
|
2264
|
+
} | {
|
|
2265
|
+
kind: "ball";
|
|
2266
|
+
radius: number;
|
|
2267
|
+
}
|
|
2268
|
+
/** Axis along y. */ | {
|
|
2269
|
+
kind: "cylinder";
|
|
2270
|
+
halfHeight: number;
|
|
2271
|
+
radius: number;
|
|
2272
|
+
}
|
|
2273
|
+
/** Flat [x0, y0, z0, …] around the body origin. */ | {
|
|
2274
|
+
kind: "hull";
|
|
2275
|
+
points: number[];
|
|
2276
|
+
};
|
|
2277
|
+
interface BodySpecBase extends MaterialSpec {
|
|
2278
|
+
type: BodyType;
|
|
2279
|
+
linearDamping: number;
|
|
2280
|
+
angularDamping: number;
|
|
2281
|
+
gravityScale: number;
|
|
2282
|
+
lockRotation: boolean;
|
|
2283
|
+
ccd: boolean;
|
|
2284
|
+
enabled: boolean;
|
|
2285
|
+
/** Touches nothing (joint anchors). */
|
|
2286
|
+
sensor?: boolean;
|
|
2287
|
+
}
|
|
2288
|
+
interface BodySpec2D extends BodySpecBase {
|
|
2289
|
+
position: Vec2$1;
|
|
2290
|
+
angle: number;
|
|
2291
|
+
velocity: Vec2$1;
|
|
2292
|
+
angularVelocity: number;
|
|
2293
|
+
shape: Shape2D;
|
|
2294
|
+
}
|
|
2295
|
+
interface BodySpec3D extends BodySpecBase {
|
|
2296
|
+
/** Per-axis rotation, when only some axes are locked: [x, y, z] allowed. */
|
|
2297
|
+
enabledRotations?: [boolean, boolean, boolean];
|
|
2298
|
+
position: Vec3$1;
|
|
2299
|
+
rotation: Quat;
|
|
2300
|
+
velocity: Vec3$1;
|
|
2301
|
+
angularVelocity: Vec3$1;
|
|
2302
|
+
shape: Shape3D;
|
|
2303
|
+
}
|
|
2304
|
+
type JointSpec<V> = {
|
|
2305
|
+
type: "revolute";
|
|
2306
|
+
anchorA: V;
|
|
2307
|
+
anchorB: V;
|
|
2308
|
+
axis?: Vec3$1;
|
|
2309
|
+
} | {
|
|
2310
|
+
type: "spherical";
|
|
2311
|
+
anchorA: V;
|
|
2312
|
+
anchorB: V;
|
|
2313
|
+
} | {
|
|
2314
|
+
type: "fixed";
|
|
2315
|
+
anchorA: V;
|
|
2316
|
+
anchorB: V;
|
|
2317
|
+
} | {
|
|
2318
|
+
type: "rope";
|
|
2319
|
+
anchorA: V;
|
|
2320
|
+
anchorB: V;
|
|
2321
|
+
length: number;
|
|
2322
|
+
} | {
|
|
2323
|
+
type: "spring";
|
|
2324
|
+
anchorA: V;
|
|
2325
|
+
anchorB: V;
|
|
2326
|
+
restLength: number;
|
|
2327
|
+
stiffness: number;
|
|
2328
|
+
damping: number;
|
|
2329
|
+
};
|
|
2330
|
+
interface SimBody<V, R> {
|
|
2331
|
+
position(): V;
|
|
2332
|
+
rotation(): R;
|
|
2333
|
+
velocity(): V;
|
|
2334
|
+
/** 2D: rad/s; 3D: rad/s per axis. */
|
|
2335
|
+
angularVelocity(): R extends number ? number : Vec3$1;
|
|
2336
|
+
sleeping(): boolean;
|
|
2337
|
+
mass(): number;
|
|
2338
|
+
setEnabled(enabled: boolean): void;
|
|
2339
|
+
applyImpulse(impulse: V): void;
|
|
2340
|
+
setKinematicTarget(position: V, rotation: R): void;
|
|
2341
|
+
}
|
|
2342
|
+
type SimBody2D = SimBody<Vec2$1, number>;
|
|
2343
|
+
type SimBody3D = SimBody<Vec3$1, Quat>;
|
|
2344
|
+
interface SimWorld<V, B, S> {
|
|
2345
|
+
addBody(spec: S): B;
|
|
2346
|
+
addJoint(a: B, b: B, spec: JointSpec<V>): void;
|
|
2347
|
+
step(dt: number): void;
|
|
2348
|
+
/** Pairs that started touching during the last step. */
|
|
2349
|
+
drainCollisionStarts(): Array<[B, B]>;
|
|
2350
|
+
free(): void;
|
|
2351
|
+
}
|
|
2352
|
+
type SimWorld2D = SimWorld<Vec2$1, SimBody2D, BodySpec2D>;
|
|
2353
|
+
type SimWorld3D = SimWorld<Vec3$1, SimBody3D, BodySpec3D>;
|
|
2354
|
+
interface PhysicsBackend {
|
|
2355
|
+
createWorld2D(gravity: Vec2$1): SimWorld2D;
|
|
2356
|
+
createWorld3D(gravity: Vec3$1): SimWorld3D;
|
|
2357
|
+
}
|
|
2358
|
+
//#endregion
|
|
2359
|
+
//#region src/physics/core.d.ts
|
|
2360
|
+
/**
|
|
2361
|
+
* A value read every simulated frame: a number, a signal (sampled at the
|
|
2362
|
+
* composition frame, like `.signal()` tracks), or `(frame) => value` where
|
|
2363
|
+
* `frame` is the composition frame.
|
|
2364
|
+
*/
|
|
2365
|
+
type PhysicsDriver = number | ((frame: number) => number) | {
|
|
2366
|
+
get(ctx?: FrameContext): number;
|
|
2367
|
+
};
|
|
2368
|
+
interface PhysicsWorldOptions {
|
|
2369
|
+
/** Composition frame rate. */
|
|
2370
|
+
fps: number;
|
|
2371
|
+
/** How many frames to simulate. Signals hold the last frame afterwards. */
|
|
2372
|
+
frames: number;
|
|
2373
|
+
/**
|
|
2374
|
+
* Composition frame the simulation's frame 0 lands on (default 0). Set it
|
|
2375
|
+
* to a scene's start so a world inside that scene starts with it.
|
|
2376
|
+
*/
|
|
2377
|
+
startFrame?: number;
|
|
2378
|
+
/** Pixels per physics meter (default 100). Only changes how stiff and heavy things feel. */
|
|
2379
|
+
pixelsPerMeter?: number;
|
|
2380
|
+
/** Solver steps per frame (default 4). Raise for fast, thin or stacked bodies. */
|
|
2381
|
+
substeps?: number;
|
|
2382
|
+
/** Frames an impact envelope takes to fall to ~37% (default 8). */
|
|
2383
|
+
impactDecay?: number;
|
|
2384
|
+
/** Velocity change, px/s, that reads as impact 1 (default 1500). */
|
|
2385
|
+
impactReference?: number;
|
|
2386
|
+
}
|
|
2387
|
+
interface BodyCommonOptions {
|
|
2388
|
+
/** `"dynamic"` (default) falls and collides; `"fixed"` never moves; `"kinematic"` follows `follow` and pushes others. */
|
|
2389
|
+
type?: "dynamic" | "fixed" | "kinematic";
|
|
2390
|
+
/** Bounciness, 0–1 (default 0.3). */
|
|
2391
|
+
restitution?: number;
|
|
2392
|
+
/** Default 0.6. */
|
|
2393
|
+
friction?: number;
|
|
2394
|
+
/** Mass per area/volume (default 1). Heavier bodies push lighter ones. */
|
|
2395
|
+
density?: number;
|
|
2396
|
+
/** Velocity damping per second (default 0). */
|
|
2397
|
+
linearDamping?: number;
|
|
2398
|
+
/** Spin damping per second (default 0). */
|
|
2399
|
+
angularDamping?: number;
|
|
2400
|
+
/** Multiplies world gravity for this body (default 1; 0 floats). */
|
|
2401
|
+
gravityScale?: number;
|
|
2402
|
+
/** Never rotates. */
|
|
2403
|
+
lockRotation?: boolean;
|
|
2404
|
+
/** Continuous collision detection for very fast bodies (default false). */
|
|
2405
|
+
ccd?: boolean;
|
|
2406
|
+
/** Collides with nothing; still moves, still reports contacts (triggers). */
|
|
2407
|
+
sensor?: boolean;
|
|
2408
|
+
/** Simulation frame the body wakes up; it holds its place before (default 0). */
|
|
2409
|
+
startFrame?: number;
|
|
2410
|
+
/**
|
|
2411
|
+
* How the result reaches the layer: `"signals"` (default) binds the
|
|
2412
|
+
* body's signals, `"keyframes"` writes plain keyframes, `"none"` leaves
|
|
2413
|
+
* the layer alone (read the signals yourself).
|
|
2414
|
+
*/
|
|
2415
|
+
output?: "signals" | "keyframes" | "none";
|
|
2416
|
+
}
|
|
2417
|
+
/** What `world.live()` needs from a composition. */
|
|
2418
|
+
interface LiveHost {
|
|
2419
|
+
onPrepareFrame(callback: (ctx: {
|
|
2420
|
+
frame: number;
|
|
2421
|
+
}) => Promise<void> | void): unknown;
|
|
2422
|
+
prepareVision?(frame: number): Promise<void>;
|
|
2423
|
+
}
|
|
2424
|
+
interface PhysicsCollision<B> {
|
|
2425
|
+
/** Composition frame of first contact. */
|
|
2426
|
+
frame: number;
|
|
2427
|
+
/** The other body. */
|
|
2428
|
+
with: B;
|
|
2429
|
+
/** Velocity change of the harder-hit body, px/s. */
|
|
2430
|
+
speed: number;
|
|
2431
|
+
}
|
|
2432
|
+
interface PhysicsBakeOptions {
|
|
2433
|
+
/** Largest error a dropped keyframe may leave, px (default 0.25). Degrees use a fifth of it. */
|
|
2434
|
+
tolerance?: number;
|
|
2435
|
+
}
|
|
2436
|
+
/**
|
|
2437
|
+
* Per-frame recordings of one body, indexed by composition frame. Arrays are
|
|
2438
|
+
* filled when the world simulates; reading a signal before that simulates.
|
|
2439
|
+
*/
|
|
2440
|
+
declare class Recording {
|
|
2441
|
+
readonly length: number;
|
|
2442
|
+
private readonly fps;
|
|
2443
|
+
private readonly ensure;
|
|
2444
|
+
readonly channels: Map<string, Float32Array<ArrayBufferLike>>;
|
|
2445
|
+
private readonly signals;
|
|
2446
|
+
constructor(length: number, fps: number, ensure: () => void);
|
|
2447
|
+
channel(name: string): Float32Array;
|
|
2448
|
+
/**
|
|
2449
|
+
* A per-frame signal over a channel. Creating it does nothing; the first
|
|
2450
|
+
* value read runs the simulation (offline worlds), so signals can be bound
|
|
2451
|
+
* while bodies are still being added.
|
|
2452
|
+
*/
|
|
2453
|
+
signal(name: string): FrameSignal<number>;
|
|
2454
|
+
}
|
|
2455
|
+
/** What the shared stepping loop needs from a 2D or 3D body. */
|
|
2456
|
+
interface CoreBody<V extends number[], R> {
|
|
2457
|
+
readonly sim: SimBody<V, R>;
|
|
2458
|
+
readonly type: "dynamic" | "fixed" | "kinematic";
|
|
2459
|
+
readonly startFrame: number;
|
|
2460
|
+
readonly gravityScale: number;
|
|
2461
|
+
/** Unset: signals, or keyframes under `bakeKeyframes()`. */
|
|
2462
|
+
readonly output?: "signals" | "keyframes" | "none";
|
|
2463
|
+
readonly recording: Recording;
|
|
2464
|
+
readonly collisions: PhysicsCollision<unknown>[];
|
|
2465
|
+
readonly layer?: Record<string, unknown>;
|
|
2466
|
+
/** Kinematic pose (backend units) at a composition frame, if it follows drivers. */
|
|
2467
|
+
kinematicTarget?(frame: number): {
|
|
2468
|
+
position: V;
|
|
2469
|
+
rotation: R;
|
|
2470
|
+
} | undefined;
|
|
2471
|
+
/** Writes the body's state for one composition frame into its recording. */
|
|
2472
|
+
record(index: number, previousIndex: number): void;
|
|
2473
|
+
/** Props bound to the layer, with the recording channel each one reads. */
|
|
2474
|
+
boundChannels(): Array<[AnimatableProp, string]>;
|
|
2475
|
+
}
|
|
2476
|
+
interface ForceEntry<V> {
|
|
2477
|
+
body: CoreBody<number[], unknown>;
|
|
2478
|
+
accel: (frame: number) => V;
|
|
2479
|
+
}
|
|
2480
|
+
interface ImpulseEntry<V> {
|
|
2481
|
+
body: CoreBody<number[], unknown>;
|
|
2482
|
+
frame: number;
|
|
2483
|
+
dv: V;
|
|
2484
|
+
}
|
|
2485
|
+
/**
|
|
2486
|
+
* Stepping, recording, impacts and output shared by `PhysicsWorld2D` and
|
|
2487
|
+
* `PhysicsWorld3D`. V is a vector in backend units (meters).
|
|
2488
|
+
*/
|
|
2489
|
+
declare abstract class WorldCore<V extends number[], R, B extends CoreBody<V, R>> {
|
|
2490
|
+
protected readonly sim: SimWorld<V, SimBody<V, R>, unknown>;
|
|
2491
|
+
protected readonly gravity: V;
|
|
2492
|
+
readonly fps: number;
|
|
2493
|
+
readonly frames: number;
|
|
2494
|
+
readonly startFrame: number;
|
|
2495
|
+
readonly pixelsPerMeter: number;
|
|
2496
|
+
protected readonly substeps: number;
|
|
2497
|
+
protected readonly impactDecay: number;
|
|
2498
|
+
protected readonly impactReference: number;
|
|
2499
|
+
protected readonly bodies: B[];
|
|
2500
|
+
protected readonly forces: ForceEntry<V>[];
|
|
2501
|
+
protected readonly impulses: ImpulseEntry<V>[];
|
|
2502
|
+
protected readonly fields: Array<{
|
|
2503
|
+
targets?: Set<B>;
|
|
2504
|
+
accel: (body: B, frame: number) => V | null | undefined;
|
|
2505
|
+
}>;
|
|
2506
|
+
private readonly worldRecording;
|
|
2507
|
+
private readonly allCollisions;
|
|
2508
|
+
/** No more bodies, joints or forces: the world has started (or finished). */
|
|
2509
|
+
private locked;
|
|
2510
|
+
private liveMode;
|
|
2511
|
+
private stepper?;
|
|
2512
|
+
private chain;
|
|
2513
|
+
protected constructor(sim: SimWorld<V, SimBody<V, R>, unknown>, gravity: V, options: PhysicsWorldOptions);
|
|
2514
|
+
/** First contacts so far (all of them once simulated), in frame order. */
|
|
2515
|
+
get collisions(): ReadonlyArray<PhysicsCollision<B> & {
|
|
2516
|
+
body: B;
|
|
2517
|
+
}>;
|
|
2518
|
+
/** Loudest impact envelope of any body each frame: camera shake, flashes, hit sounds. */
|
|
2519
|
+
get impact(): FrameSignal<number>;
|
|
2520
|
+
/** Runs the whole simulation now (once) and binds every body's layer per its `output`. */
|
|
2521
|
+
simulate(): this;
|
|
2522
|
+
/** Like {@link simulate}, but writes keyframes for every body whose `output` was left at its default. */
|
|
2523
|
+
bakeKeyframes(options?: PhysicsBakeOptions): this;
|
|
2524
|
+
/**
|
|
2525
|
+
* Steps the world as the composition renders instead of all at once: before
|
|
2526
|
+
* each frame draws, the world advances to it, after the composition's
|
|
2527
|
+
* vision clips (`comp.vision`) and any `inputs` have that frame ready. Use
|
|
2528
|
+
* it when bodies follow a performer, so nothing is analysed up front and a
|
|
2529
|
+
* preview starts at once. Frames already simulated are kept, so scrubbing
|
|
2530
|
+
* back costs nothing; jumping ahead simulates the frames in between.
|
|
2531
|
+
* Signals only; `bakeKeyframes()` needs the whole run up front.
|
|
2532
|
+
*/
|
|
2533
|
+
live(comp: LiveHost, options?: {
|
|
2534
|
+
inputs?: ReadonlyArray<{
|
|
2535
|
+
ready(frame: number): Promise<void>;
|
|
2536
|
+
}>;
|
|
2537
|
+
}): this;
|
|
2538
|
+
/**
|
|
2539
|
+
* Live worlds: simulates up to composition frame `frame` (no-op when it
|
|
2540
|
+
* already has). Calls queue, so frames are stepped once, in order.
|
|
2541
|
+
*/
|
|
2542
|
+
advanceTo(frame: number): Promise<void>;
|
|
2543
|
+
private prepareInputs?;
|
|
2544
|
+
private bakeDefault?;
|
|
2545
|
+
protected newRecording(): Recording;
|
|
2546
|
+
protected assertOpen(): void;
|
|
2547
|
+
protected addBody(body: B): B;
|
|
2548
|
+
protected addForce(body: B, accel: (frame: number) => V): void;
|
|
2549
|
+
protected addField(accel: (body: B, frame: number) => V | null | undefined, targets?: readonly B[]): void;
|
|
2550
|
+
protected addImpulse(body: B, frame: number, dv: V): void;
|
|
2551
|
+
protected ensureSimulated(): void;
|
|
2552
|
+
/** Records frame 0 and sets every channel to it, so frames not simulated yet hold the start pose. */
|
|
2553
|
+
private begin;
|
|
2554
|
+
private stepFrame;
|
|
2555
|
+
protected abstract lerpRotation(a: R, b: R, t: number): R;
|
|
2556
|
+
private bind;
|
|
2557
|
+
}
|
|
2558
|
+
//#endregion
|
|
2559
|
+
//#region src/particles.d.ts
|
|
2560
|
+
type Range = number | [number, number];
|
|
2561
|
+
interface ParticlesOptions {
|
|
2562
|
+
/** Particle layer box in composition px (the particles' own space; default the whole canvas). */
|
|
2563
|
+
x?: number;
|
|
2564
|
+
y?: number;
|
|
2565
|
+
width: number;
|
|
2566
|
+
height: number;
|
|
2567
|
+
id?: string;
|
|
2568
|
+
startFrame?: number;
|
|
2569
|
+
durationFrames?: number;
|
|
2570
|
+
zIndex?: number;
|
|
2571
|
+
/** Most particles alive at once (default 20000). Costs GPU memory, not time when idle. */
|
|
2572
|
+
max?: number;
|
|
2573
|
+
seed?: number;
|
|
2574
|
+
emitter?: {
|
|
2575
|
+
/** `"rect"` (default, the whole layer), `"point"`, `"line"`, `"circle"` (area) or `"ring"` (edge). Layer px. */
|
|
2576
|
+
shape?: EmitterShape;
|
|
2577
|
+
/** Emitter position (layer px). A driver moves it: `(f) => person.point("rightWrist", f).x` paints with light. */
|
|
2578
|
+
x?: PhysicsDriver;
|
|
2579
|
+
y?: PhysicsDriver;
|
|
2580
|
+
width?: number;
|
|
2581
|
+
height?: number;
|
|
2582
|
+
radius?: number;
|
|
2583
|
+
/** Aim away from the emitter's center instead of along `direction`. */
|
|
2584
|
+
radial?: boolean;
|
|
2585
|
+
/** Particles per second (default 1000); a driver for bursts of activity. */
|
|
2586
|
+
rate?: PhysicsDriver;
|
|
2587
|
+
/** Extra particles at given layer frames. */
|
|
2588
|
+
bursts?: Array<{
|
|
2589
|
+
frame: number;
|
|
2590
|
+
count: number;
|
|
2591
|
+
}>;
|
|
2592
|
+
};
|
|
2593
|
+
/** Seconds each particle lives (default [2, 4]). */
|
|
2594
|
+
lifetime?: Range;
|
|
2595
|
+
/** Launch speed, px/s (default [40, 160]). */
|
|
2596
|
+
speed?: Range;
|
|
2597
|
+
/** Launch direction, degrees (0 = right, -90 = up; default -90). */
|
|
2598
|
+
direction?: number;
|
|
2599
|
+
/** Spread around `direction`, degrees (default 360). */
|
|
2600
|
+
spread?: number;
|
|
2601
|
+
/** px/s². A single driver pulls down. */
|
|
2602
|
+
gravity?: PhysicsDriver | [PhysicsDriver, PhysicsDriver];
|
|
2603
|
+
/** Velocity damping per second (default 0.4). Higher reads as thicker air or liquid. */
|
|
2604
|
+
drag?: PhysicsDriver;
|
|
2605
|
+
/** Swirling, divergence-free flow (curl noise): smoke, ink, flow fields. */
|
|
2606
|
+
noise?: {
|
|
2607
|
+
strength?: PhysicsDriver;
|
|
2608
|
+
scale?: number;
|
|
2609
|
+
speed?: number;
|
|
2610
|
+
};
|
|
2611
|
+
/** Points that pull (positive) or push (negative), px/s² at the center, falling off over `radius`. Layer px. Up to 8. */
|
|
2612
|
+
attractors?: Array<{
|
|
2613
|
+
x: PhysicsDriver;
|
|
2614
|
+
y: PhysicsDriver;
|
|
2615
|
+
strength: PhysicsDriver;
|
|
2616
|
+
radius?: number;
|
|
2617
|
+
}>;
|
|
2618
|
+
/**
|
|
2619
|
+
* A performer pushes particles out of their silhouette, harder where it
|
|
2620
|
+
* is sweeping in: `person` from `comp.vision(clip).person.place(…)`.
|
|
2621
|
+
*/
|
|
2622
|
+
push?: {
|
|
2623
|
+
person: PersonTrack;
|
|
2624
|
+
strength?: PhysicsDriver;
|
|
2625
|
+
sweep?: PhysicsDriver;
|
|
2626
|
+
};
|
|
2627
|
+
/** What happens at the layer's edges: `"none"` (default), `"kill"`, `"bounce"`, `"wrap"`. */
|
|
2628
|
+
bounds?: ParticleBounds;
|
|
2629
|
+
/** A floor line in layer px that particles bounce on. */
|
|
2630
|
+
floor?: number;
|
|
2631
|
+
/** Bounciness at the floor and bounced edges (default 0.3). */
|
|
2632
|
+
bounce?: number;
|
|
2633
|
+
/** px at birth → death (default [6, 0]). */
|
|
2634
|
+
size?: Range;
|
|
2635
|
+
/** Random size variation, 0–1 (default 0.5). */
|
|
2636
|
+
sizeJitter?: number;
|
|
2637
|
+
/** Fractions of life to fade in and out (default [0.1, 0.3]). */
|
|
2638
|
+
fade?: [number, number];
|
|
2639
|
+
/** `"circle"` (default), `"soft"` (glow), `"square"`, `"spark"` (streaks along motion). */
|
|
2640
|
+
shape?: ParticleShape;
|
|
2641
|
+
/** Spark length per px/s (default 0.04). */
|
|
2642
|
+
stretch?: number;
|
|
2643
|
+
/** `"normal"` (default), `"add"` (glows build up), `"screen"`. */
|
|
2644
|
+
blend?: ParticleBlend;
|
|
2645
|
+
/** One color, or up to 8 spread over each particle's life (default white). */
|
|
2646
|
+
color?: string | string[];
|
|
2647
|
+
/** Color by speed instead of age: the px/s that reaches the last color. */
|
|
2648
|
+
colorBySpeed?: number;
|
|
2649
|
+
opacity?: number;
|
|
2650
|
+
/** Solver steps per frame (default 2). */
|
|
2651
|
+
substeps?: number;
|
|
2652
|
+
/** Seconds simulated before the first frame, so it starts already full. */
|
|
2653
|
+
prewarm?: number;
|
|
2654
|
+
}
|
|
2655
|
+
/**
|
|
2656
|
+
* A GPU particle system: tens of thousands of particles simulated in a
|
|
2657
|
+
* compute shader and drawn in one call. Used through `Layer.particles()`.
|
|
2658
|
+
* It steps as the composition renders (snapshots make scrubbing back
|
|
2659
|
+
* cheap), and its drivers are read every frame.
|
|
2660
|
+
*/
|
|
2661
|
+
declare class Particles extends Effect$1<Record<string, never>> implements ParticleProgram {
|
|
2662
|
+
readonly op = "Particles";
|
|
2663
|
+
readonly particleStatic: ParticleStatic;
|
|
2664
|
+
particleState?: unknown;
|
|
2665
|
+
private readonly options;
|
|
2666
|
+
constructor(options: ParticlesOptions);
|
|
2667
|
+
particleFrame(frame: number, fps: number): ParticleFrame;
|
|
2668
|
+
}
|
|
2669
|
+
//#endregion
|
|
1885
2670
|
//#region src/shapes3d.d.ts
|
|
1886
2671
|
/** Physically based surface options every 3D builder accepts. */
|
|
1887
2672
|
interface Surface3DOptions {
|
|
@@ -2542,6 +3327,524 @@ declare const Lighting: {
|
|
|
2542
3327
|
dramatic: (options?: LightingRigOptions) => AnimatableNode<LightNode>[];
|
|
2543
3328
|
};
|
|
2544
3329
|
//#endregion
|
|
3330
|
+
//#region src/physics/world2d.d.ts
|
|
3331
|
+
interface World2DOptions extends PhysicsWorldOptions {
|
|
3332
|
+
/** px/s², y down. A number pulls straight down. Default 2400. */
|
|
3333
|
+
gravity?: number | [number, number];
|
|
3334
|
+
}
|
|
3335
|
+
/** A plain rectangle for bodies with no layer (invisible obstacles, funnels). */
|
|
3336
|
+
interface PhysicsRect {
|
|
3337
|
+
x: number;
|
|
3338
|
+
y: number;
|
|
3339
|
+
width: number;
|
|
3340
|
+
height: number;
|
|
3341
|
+
rotation?: number;
|
|
3342
|
+
borderRadius?: number;
|
|
3343
|
+
}
|
|
3344
|
+
interface Body2DOptions extends BodyCommonOptions {
|
|
3345
|
+
/**
|
|
3346
|
+
* Collider: `"auto"` (default) reads the layer — circles stay circles,
|
|
3347
|
+
* rounded boxes keep their radius, polygons/stars/paths use their convex
|
|
3348
|
+
* hull. Force `"box"`, `"circle"` or `"hull"` (the shape's outline).
|
|
3349
|
+
*/
|
|
3350
|
+
shape?: "auto" | "box" | "circle" | "hull";
|
|
3351
|
+
/** Collider size override `[width, height]`, px. Text layers are measured when they have no size. */
|
|
3352
|
+
size?: [number, number];
|
|
3353
|
+
/** px/s. */
|
|
3354
|
+
velocity?: [number, number];
|
|
3355
|
+
/** Degrees per second, clockwise. */
|
|
3356
|
+
angularVelocity?: number;
|
|
3357
|
+
/**
|
|
3358
|
+
* Kinematic bodies: where the layer is each frame, as its own `x` / `y`
|
|
3359
|
+
* (top-left) and `rotation` (degrees). Missing ones keep the start pose.
|
|
3360
|
+
*/
|
|
3361
|
+
follow?: {
|
|
3362
|
+
x?: PhysicsDriver;
|
|
3363
|
+
y?: PhysicsDriver;
|
|
3364
|
+
rotation?: PhysicsDriver;
|
|
3365
|
+
};
|
|
3366
|
+
}
|
|
3367
|
+
type LayerLike$1 = Record<string, unknown> & {
|
|
3368
|
+
kind?: string;
|
|
3369
|
+
animate?: (...a: unknown[]) => unknown;
|
|
3370
|
+
};
|
|
3371
|
+
/**
|
|
3372
|
+
* A simulated body. Its signals hold one value per composition frame; bind
|
|
3373
|
+
* them to any prop or effect uniform (`.signal("opacity", body.impact)`).
|
|
3374
|
+
* Reading a signal runs the simulation if it has not run yet.
|
|
3375
|
+
*/
|
|
3376
|
+
declare class PhysicsBody2D implements CoreBody<Vec2$1, number> {
|
|
3377
|
+
/** @internal */readonly world: PhysicsWorld2D;
|
|
3378
|
+
readonly type: "dynamic" | "fixed" | "kinematic";
|
|
3379
|
+
readonly layer: LayerLike$1 | undefined;
|
|
3380
|
+
/** Layer box size (unscaled), scale and pivot, to turn the center back into x/y. */
|
|
3381
|
+
private readonly frame;
|
|
3382
|
+
private readonly options;
|
|
3383
|
+
readonly collisions: PhysicsCollision<PhysicsBody2D>[];
|
|
3384
|
+
/** @internal */
|
|
3385
|
+
readonly recording: Recording;
|
|
3386
|
+
/** @internal */
|
|
3387
|
+
readonly sim: SimBody2D;
|
|
3388
|
+
/** @internal */
|
|
3389
|
+
constructor(/** @internal */world: PhysicsWorld2D, sim: SimBody2D, type: "dynamic" | "fixed" | "kinematic", layer: LayerLike$1 | undefined, /** Layer box size (unscaled), scale and pivot, to turn the center back into x/y. */
|
|
3390
|
+
frame: {
|
|
3391
|
+
width: number;
|
|
3392
|
+
height: number;
|
|
3393
|
+
scale: number;
|
|
3394
|
+
anchorX: number;
|
|
3395
|
+
anchorY: number;
|
|
3396
|
+
rotation: number;
|
|
3397
|
+
}, options: Body2DOptions, recording: Recording);
|
|
3398
|
+
get startFrame(): number;
|
|
3399
|
+
get gravityScale(): number;
|
|
3400
|
+
get output(): Body2DOptions["output"];
|
|
3401
|
+
/** The layer's `x` (top-left) every frame. */
|
|
3402
|
+
get x(): FrameSignal<number>;
|
|
3403
|
+
/** The layer's `y` (top-left) every frame. */
|
|
3404
|
+
get y(): FrameSignal<number>;
|
|
3405
|
+
/** Degrees, clockwise, continuous (no jump at 360). */
|
|
3406
|
+
get rotation(): FrameSignal<number>;
|
|
3407
|
+
/** Body center, px. */
|
|
3408
|
+
get centerX(): FrameSignal<number>;
|
|
3409
|
+
get centerY(): FrameSignal<number>;
|
|
3410
|
+
/** px/s. */
|
|
3411
|
+
get vx(): FrameSignal<number>;
|
|
3412
|
+
get vy(): FrameSignal<number>;
|
|
3413
|
+
/** px/s. */
|
|
3414
|
+
get speed(): FrameSignal<number>;
|
|
3415
|
+
/** Degrees per second. */
|
|
3416
|
+
get angularVelocity(): FrameSignal<number>;
|
|
3417
|
+
/**
|
|
3418
|
+
* Hit envelope: jumps on each new contact (1 ≈ a 1500 px/s velocity
|
|
3419
|
+
* change, see `impactReference`) and decays over `impactDecay` frames.
|
|
3420
|
+
*/
|
|
3421
|
+
get impact(): FrameSignal<number>;
|
|
3422
|
+
/** 1 while the body is at rest, else 0. */
|
|
3423
|
+
get sleeping(): FrameSignal<number>;
|
|
3424
|
+
/** @internal */
|
|
3425
|
+
kinematicTarget(frame: number): {
|
|
3426
|
+
position: Vec2$1;
|
|
3427
|
+
rotation: number;
|
|
3428
|
+
} | undefined;
|
|
3429
|
+
private initialLayerXY;
|
|
3430
|
+
/** @internal */
|
|
3431
|
+
record(index: number, previous: number): void;
|
|
3432
|
+
/** @internal */
|
|
3433
|
+
boundChannels(): Array<[AnimatableProp, string]>;
|
|
3434
|
+
/** @internal World-space point (px) → this body's local frame (meters), at the start pose. */
|
|
3435
|
+
localAnchor(point: Vec2$1 | undefined): Vec2$1;
|
|
3436
|
+
/** @internal Start-pose center in px. */
|
|
3437
|
+
center(): Vec2$1;
|
|
3438
|
+
}
|
|
3439
|
+
/** What a {@link PhysicsWorld2D.field} sees for one body. */
|
|
3440
|
+
interface FieldSample2D {
|
|
3441
|
+
/** Body center, px. */
|
|
3442
|
+
x: number;
|
|
3443
|
+
y: number;
|
|
3444
|
+
/** px/s. */
|
|
3445
|
+
vx: number;
|
|
3446
|
+
vy: number;
|
|
3447
|
+
/** Composition frame. */
|
|
3448
|
+
frame: number;
|
|
3449
|
+
body: PhysicsBody2D;
|
|
3450
|
+
}
|
|
3451
|
+
interface PhysicsSpringOptions {
|
|
3452
|
+
/** Rest length, px (default: the distance at the start). */
|
|
3453
|
+
length?: number;
|
|
3454
|
+
/** Oscillations per second (default 2). Higher is stiffer. */
|
|
3455
|
+
frequency?: number;
|
|
3456
|
+
/** 0 bounces forever, 1 settles without overshoot (default 0.2). */
|
|
3457
|
+
dampingRatio?: number;
|
|
3458
|
+
/** Attachment point on body A, world px at the start (default its center). */
|
|
3459
|
+
anchorA?: [number, number];
|
|
3460
|
+
/** Attachment point on body B (or the world point), world px. */
|
|
3461
|
+
anchorB?: [number, number];
|
|
3462
|
+
}
|
|
3463
|
+
interface PhysicsRopeOptions {
|
|
3464
|
+
/** Maximum length, px (default: the distance at the start). */
|
|
3465
|
+
length?: number;
|
|
3466
|
+
anchorA?: [number, number];
|
|
3467
|
+
anchorB?: [number, number];
|
|
3468
|
+
}
|
|
3469
|
+
interface PhysicsGroundOptions {
|
|
3470
|
+
/** Top edge of the ground, px. */
|
|
3471
|
+
y: number;
|
|
3472
|
+
friction?: number;
|
|
3473
|
+
restitution?: number;
|
|
3474
|
+
}
|
|
3475
|
+
interface PhysicsWallsOptions {
|
|
3476
|
+
x?: number;
|
|
3477
|
+
y?: number;
|
|
3478
|
+
width: number;
|
|
3479
|
+
height: number;
|
|
3480
|
+
/** Close the top too (default false: things can fall in). */
|
|
3481
|
+
ceiling?: boolean;
|
|
3482
|
+
/** Wall thickness outside the box, px (default 400). */
|
|
3483
|
+
thickness?: number;
|
|
3484
|
+
friction?: number;
|
|
3485
|
+
restitution?: number;
|
|
3486
|
+
}
|
|
3487
|
+
/**
|
|
3488
|
+
* A deterministic 2D rigid-body world (Rapier) in layer pixels. Build it,
|
|
3489
|
+
* add bodies from layers, then `simulate()`: each body's layer is bound to
|
|
3490
|
+
* its simulated `x` / `y` / `rotation`, and every body exposes signals
|
|
3491
|
+
* (`impact`, `speed`, …) for driving anything else. The simulation runs
|
|
3492
|
+
* once while the composition is built, so frames render in any order and
|
|
3493
|
+
* identically on every machine.
|
|
3494
|
+
*/
|
|
3495
|
+
declare class PhysicsWorld2D extends WorldCore<Vec2$1, number, PhysicsBody2D> {
|
|
3496
|
+
/** @internal */
|
|
3497
|
+
constructor(backend: PhysicsBackend, options: World2DOptions);
|
|
3498
|
+
/**
|
|
3499
|
+
* Adds a body for a layer (absolutely positioned: `x`, `y`, and a size)
|
|
3500
|
+
* or for a plain rectangle. The layer's current pose is the start pose.
|
|
3501
|
+
*/
|
|
3502
|
+
body(target: LayoutNode | PhysicsRect, options?: Body2DOptions): PhysicsBody2D;
|
|
3503
|
+
/** A fixed, very wide floor whose top edge sits at `y`. */
|
|
3504
|
+
ground(options: PhysicsGroundOptions): PhysicsBody2D;
|
|
3505
|
+
/** Fixed floor, left and right walls (and optionally a ceiling) around a box, e.g. the canvas. */
|
|
3506
|
+
walls(options: PhysicsWallsOptions): {
|
|
3507
|
+
floor: PhysicsBody2D;
|
|
3508
|
+
left: PhysicsBody2D;
|
|
3509
|
+
right: PhysicsBody2D;
|
|
3510
|
+
ceiling?: PhysicsBody2D;
|
|
3511
|
+
};
|
|
3512
|
+
/** Pins a body to the world at a point (default its center); it can still swing around it. */
|
|
3513
|
+
pin(body: PhysicsBody2D, at?: [number, number]): this;
|
|
3514
|
+
/** Joins two bodies at a world point so they swing around it (a hinge). */
|
|
3515
|
+
hinge(a: PhysicsBody2D, b: PhysicsBody2D, at: [number, number]): this;
|
|
3516
|
+
/** Glues two bodies together rigidly. */
|
|
3517
|
+
weld(a: PhysicsBody2D, b: PhysicsBody2D): this;
|
|
3518
|
+
/** A damped spring between two bodies, or from a body to a world point. */
|
|
3519
|
+
spring(a: PhysicsBody2D, b: PhysicsBody2D | [number, number], options?: PhysicsSpringOptions): this;
|
|
3520
|
+
/** A rope: never longer than `length`, slack when closer. */
|
|
3521
|
+
rope(a: PhysicsBody2D, b: PhysicsBody2D | [number, number], options?: PhysicsRopeOptions): this;
|
|
3522
|
+
/** A steady push, px/s² (mass-independent): wind, magnets, audio. Drivers are read every frame. */
|
|
3523
|
+
force(body: PhysicsBody2D, accel: {
|
|
3524
|
+
x?: PhysicsDriver;
|
|
3525
|
+
y?: PhysicsDriver;
|
|
3526
|
+
}): this;
|
|
3527
|
+
/**
|
|
3528
|
+
* A force field: called for every awake dynamic body (or just `bodies`)
|
|
3529
|
+
* each solver step with its center and velocity in px, px/s; returns an
|
|
3530
|
+
* acceleration `[ax, ay]` px/s² (or nothing). Wind, vortices, magnets,
|
|
3531
|
+
* flow fields, a dancer's silhouette pushing particles.
|
|
3532
|
+
*/
|
|
3533
|
+
field(accel: (sample: FieldSample2D) => [number, number] | null | undefined, options?: {
|
|
3534
|
+
bodies?: readonly PhysicsBody2D[];
|
|
3535
|
+
}): this;
|
|
3536
|
+
/** An instant kick at a simulation frame: adds `[vx, vy]` px/s to the body's velocity. */
|
|
3537
|
+
impulse(body: PhysicsBody2D, frame: number, velocity: [number, number]): this;
|
|
3538
|
+
protected lerpRotation(a: number, b: number, t: number): number;
|
|
3539
|
+
private joint;
|
|
3540
|
+
private anchorBody;
|
|
3541
|
+
private endpoints;
|
|
3542
|
+
}
|
|
3543
|
+
//#endregion
|
|
3544
|
+
//#region src/physics/world3d.d.ts
|
|
3545
|
+
interface World3DOptions extends PhysicsWorldOptions {
|
|
3546
|
+
/** px/s², y down. A number pulls straight down. Default 2400. */
|
|
3547
|
+
gravity?: number | [number, number, number];
|
|
3548
|
+
}
|
|
3549
|
+
/** A plain box for bodies with no layer (invisible obstacles). Centered on x/y/z like Layer3D. */
|
|
3550
|
+
interface PhysicsBox3D {
|
|
3551
|
+
x: number;
|
|
3552
|
+
y: number;
|
|
3553
|
+
z: number;
|
|
3554
|
+
width: number;
|
|
3555
|
+
height: number;
|
|
3556
|
+
depth: number;
|
|
3557
|
+
rotateX?: number;
|
|
3558
|
+
rotateY?: number;
|
|
3559
|
+
rotateZ?: number;
|
|
3560
|
+
}
|
|
3561
|
+
interface Body3DOptions extends Omit<BodyCommonOptions, "lockRotation"> {
|
|
3562
|
+
/**
|
|
3563
|
+
* Never rotates (`true`), or only around some axes: `{ x: true, y: true }`
|
|
3564
|
+
* keeps a card facing the camera while it still spins in the picture plane.
|
|
3565
|
+
*/
|
|
3566
|
+
lockRotation?: boolean | {
|
|
3567
|
+
x?: boolean;
|
|
3568
|
+
y?: boolean;
|
|
3569
|
+
z?: boolean;
|
|
3570
|
+
};
|
|
3571
|
+
/**
|
|
3572
|
+
* Collider: `"auto"` (default) reads the Layer3D primitive (box, sphere,
|
|
3573
|
+
* cylinder) and falls back to the mesh's convex hull for models and
|
|
3574
|
+
* tapered or uneven shapes. Force `"box"`, `"sphere"`, `"cylinder"` or `"hull"`.
|
|
3575
|
+
*/
|
|
3576
|
+
shape?: "auto" | "box" | "sphere" | "cylinder" | "hull";
|
|
3577
|
+
/** Collider size override `[width, height, depth]`, px (before the layer's scale). */
|
|
3578
|
+
size?: [number, number, number];
|
|
3579
|
+
/** px/s. */
|
|
3580
|
+
velocity?: [number, number, number];
|
|
3581
|
+
/** Degrees per second around x, y, z. */
|
|
3582
|
+
angularVelocity?: [number, number, number];
|
|
3583
|
+
/** Kinematic bodies: the layer's `x` / `y` / `z` and `rotateX/Y/Z` each frame. */
|
|
3584
|
+
follow?: {
|
|
3585
|
+
x?: PhysicsDriver;
|
|
3586
|
+
y?: PhysicsDriver;
|
|
3587
|
+
z?: PhysicsDriver;
|
|
3588
|
+
rotateX?: PhysicsDriver;
|
|
3589
|
+
rotateY?: PhysicsDriver;
|
|
3590
|
+
rotateZ?: PhysicsDriver;
|
|
3591
|
+
};
|
|
3592
|
+
}
|
|
3593
|
+
type LayerLike = Record<string, unknown> & {
|
|
3594
|
+
kind?: string;
|
|
3595
|
+
};
|
|
3596
|
+
/** Quaternion of the renderer's Euler order: R = Rz · Ry · Rx (degrees). */
|
|
3597
|
+
|
|
3598
|
+
/**
|
|
3599
|
+
* A simulated 3D body. Like {@link PhysicsBody2D}, its signals hold one
|
|
3600
|
+
* value per composition frame and reading one runs the simulation.
|
|
3601
|
+
*/
|
|
3602
|
+
declare class PhysicsBody3D implements CoreBody<Vec3$1, Quat> {
|
|
3603
|
+
/** @internal */readonly world: PhysicsWorld3D;
|
|
3604
|
+
readonly type: "dynamic" | "fixed" | "kinematic";
|
|
3605
|
+
readonly layer: LayerLike | undefined;
|
|
3606
|
+
private readonly start;
|
|
3607
|
+
private readonly options;
|
|
3608
|
+
readonly collisions: PhysicsCollision<PhysicsBody3D>[];
|
|
3609
|
+
/** @internal */
|
|
3610
|
+
readonly recording: Recording;
|
|
3611
|
+
/** @internal */
|
|
3612
|
+
readonly sim: SimBody3D;
|
|
3613
|
+
/** @internal */
|
|
3614
|
+
constructor(/** @internal */world: PhysicsWorld3D, sim: SimBody3D, type: "dynamic" | "fixed" | "kinematic", layer: LayerLike | undefined, start: {
|
|
3615
|
+
position: Vec3$1;
|
|
3616
|
+
rotation: Vec3$1;
|
|
3617
|
+
}, options: Body3DOptions, recording: Recording);
|
|
3618
|
+
get startFrame(): number;
|
|
3619
|
+
get gravityScale(): number;
|
|
3620
|
+
get output(): Body3DOptions["output"];
|
|
3621
|
+
/** Center, px (what Layer3D's `x` / `y` / `z` mean). */
|
|
3622
|
+
get x(): FrameSignal<number>;
|
|
3623
|
+
get y(): FrameSignal<number>;
|
|
3624
|
+
get z(): FrameSignal<number>;
|
|
3625
|
+
/** Degrees, continuous. */
|
|
3626
|
+
get rotateX(): FrameSignal<number>;
|
|
3627
|
+
get rotateY(): FrameSignal<number>;
|
|
3628
|
+
get rotateZ(): FrameSignal<number>;
|
|
3629
|
+
/** px/s. */
|
|
3630
|
+
get vx(): FrameSignal<number>;
|
|
3631
|
+
get vy(): FrameSignal<number>;
|
|
3632
|
+
get vz(): FrameSignal<number>;
|
|
3633
|
+
get speed(): FrameSignal<number>;
|
|
3634
|
+
/** Hit envelope, as on 2D bodies. */
|
|
3635
|
+
get impact(): FrameSignal<number>;
|
|
3636
|
+
/** 1 while the body is at rest, else 0. */
|
|
3637
|
+
get sleeping(): FrameSignal<number>;
|
|
3638
|
+
/** @internal */
|
|
3639
|
+
kinematicTarget(frame: number): {
|
|
3640
|
+
position: Vec3$1;
|
|
3641
|
+
rotation: Quat;
|
|
3642
|
+
} | undefined;
|
|
3643
|
+
/** @internal */
|
|
3644
|
+
record(index: number, previous: number): void;
|
|
3645
|
+
/** @internal */
|
|
3646
|
+
boundChannels(): Array<[AnimatableProp, string]>;
|
|
3647
|
+
/** @internal World point (px) → local frame (meters) at the start pose. */
|
|
3648
|
+
localAnchor(point: Vec3$1 | undefined): Vec3$1;
|
|
3649
|
+
/** @internal Start-pose center, px. */
|
|
3650
|
+
center(): Vec3$1;
|
|
3651
|
+
}
|
|
3652
|
+
/** What a {@link PhysicsWorld3D.field} sees for one body. */
|
|
3653
|
+
interface FieldSample3D {
|
|
3654
|
+
x: number;
|
|
3655
|
+
y: number;
|
|
3656
|
+
z: number;
|
|
3657
|
+
vx: number;
|
|
3658
|
+
vy: number;
|
|
3659
|
+
vz: number;
|
|
3660
|
+
frame: number;
|
|
3661
|
+
body: PhysicsBody3D;
|
|
3662
|
+
}
|
|
3663
|
+
interface PhysicsSpring3DOptions {
|
|
3664
|
+
length?: number;
|
|
3665
|
+
frequency?: number;
|
|
3666
|
+
dampingRatio?: number;
|
|
3667
|
+
anchorA?: Vec3$1;
|
|
3668
|
+
anchorB?: Vec3$1;
|
|
3669
|
+
}
|
|
3670
|
+
interface PhysicsRope3DOptions {
|
|
3671
|
+
length?: number;
|
|
3672
|
+
anchorA?: Vec3$1;
|
|
3673
|
+
anchorB?: Vec3$1;
|
|
3674
|
+
}
|
|
3675
|
+
/**
|
|
3676
|
+
* A deterministic 3D rigid-body world (Rapier) for Layer3D primitives and
|
|
3677
|
+
* models, in the 3D scene's pixels (y down). Same flow as 2D: add bodies,
|
|
3678
|
+
* `simulate()`, and each layer's `x/y/z` and `rotateX/Y/Z` follow the
|
|
3679
|
+
* simulation; bodies expose signals for everything else.
|
|
3680
|
+
*/
|
|
3681
|
+
declare class PhysicsWorld3D extends WorldCore<Vec3$1, Quat, PhysicsBody3D> {
|
|
3682
|
+
/** @internal */
|
|
3683
|
+
constructor(backend: PhysicsBackend, options: World3DOptions);
|
|
3684
|
+
/** Adds a body for a Layer3D primitive or model (centered on its `x/y/z`), or a plain box. */
|
|
3685
|
+
body(target: LayoutNode | PhysicsBox3D, options?: Body3DOptions): PhysicsBody3D;
|
|
3686
|
+
/** A fixed, very large floor whose top face sits at `y`. */
|
|
3687
|
+
ground(options: {
|
|
3688
|
+
y: number;
|
|
3689
|
+
friction?: number;
|
|
3690
|
+
restitution?: number;
|
|
3691
|
+
}): PhysicsBody3D;
|
|
3692
|
+
/** Fixed floor and four walls around a box centered on `x`/`z`, floor at `y + height/2`. */
|
|
3693
|
+
walls(options: {
|
|
3694
|
+
x?: number;
|
|
3695
|
+
y?: number;
|
|
3696
|
+
z?: number;
|
|
3697
|
+
width: number;
|
|
3698
|
+
height: number;
|
|
3699
|
+
depth: number;
|
|
3700
|
+
thickness?: number;
|
|
3701
|
+
friction?: number;
|
|
3702
|
+
restitution?: number;
|
|
3703
|
+
}): PhysicsBody3D[];
|
|
3704
|
+
/** Pins a body to the world at a point (default its center); it can still turn around it. */
|
|
3705
|
+
pin(body: PhysicsBody3D, at?: Vec3$1): this;
|
|
3706
|
+
/** Joins two bodies at a world point, turning only around `axis` (default z, facing the camera). */
|
|
3707
|
+
hinge(a: PhysicsBody3D, b: PhysicsBody3D, at: Vec3$1, axis?: Vec3$1): this;
|
|
3708
|
+
/** Glues two bodies together rigidly. */
|
|
3709
|
+
weld(a: PhysicsBody3D, b: PhysicsBody3D): this;
|
|
3710
|
+
spring(a: PhysicsBody3D, b: PhysicsBody3D | Vec3$1, options?: PhysicsSpring3DOptions): this;
|
|
3711
|
+
rope(a: PhysicsBody3D, b: PhysicsBody3D | Vec3$1, options?: PhysicsRope3DOptions): this;
|
|
3712
|
+
/** A steady push, px/s² (mass-independent). Drivers are read every frame. */
|
|
3713
|
+
force(body: PhysicsBody3D, accel: {
|
|
3714
|
+
x?: PhysicsDriver;
|
|
3715
|
+
y?: PhysicsDriver;
|
|
3716
|
+
z?: PhysicsDriver;
|
|
3717
|
+
}): this;
|
|
3718
|
+
/** A force field, as in 2D: returns `[ax, ay, az]` px/s² for a body at `x/y/z` px. */
|
|
3719
|
+
field(accel: (sample: FieldSample3D) => Vec3$1 | null | undefined, options?: {
|
|
3720
|
+
bodies?: readonly PhysicsBody3D[];
|
|
3721
|
+
}): this;
|
|
3722
|
+
/** An instant kick at a simulation frame: adds `[vx, vy, vz]` px/s. */
|
|
3723
|
+
impulse(body: PhysicsBody3D, frame: number, velocity: Vec3$1): this;
|
|
3724
|
+
protected lerpRotation(a: Quat, b: Quat, t: number): Quat;
|
|
3725
|
+
private joint;
|
|
3726
|
+
private anchorBody;
|
|
3727
|
+
private endpoints;
|
|
3728
|
+
}
|
|
3729
|
+
//#endregion
|
|
3730
|
+
//#region src/physics/index.d.ts
|
|
3731
|
+
/**
|
|
3732
|
+
* Rigid-body physics baked into signals. A world simulates once, while the
|
|
3733
|
+
* composition is built (Rapier's deterministic build, so every machine gets
|
|
3734
|
+
* the same motion), and replays as per-frame signals: layers follow their
|
|
3735
|
+
* bodies, and `impact`, `speed`, … drive any other prop or effect.
|
|
3736
|
+
*
|
|
3737
|
+
* ```ts
|
|
3738
|
+
* const world = await Physics.world2d({ fps: 30, frames: 150 });
|
|
3739
|
+
* world.walls({ width: W, height: H });
|
|
3740
|
+
* const card = world.body(cardLayer, { restitution: 0.4 });
|
|
3741
|
+
* world.simulate();
|
|
3742
|
+
* flash.animate(LayerAnimation.create().signal("opacity", card.impact));
|
|
3743
|
+
* ```
|
|
3744
|
+
*/
|
|
3745
|
+
declare const Physics: {
|
|
3746
|
+
/** A 2D world in layer pixels (y down). Loads the physics engine on first use. */
|
|
3747
|
+
world2d(options: World2DOptions): Promise<PhysicsWorld2D>;
|
|
3748
|
+
/** A 3D world for Layer3D primitives and models, in scene pixels (y down). */
|
|
3749
|
+
world3d(options: World3DOptions): Promise<PhysicsWorld3D>;
|
|
3750
|
+
};
|
|
3751
|
+
//#endregion
|
|
3752
|
+
//#region src/styles.d.ts
|
|
3753
|
+
type Look = Effect$1<object>[];
|
|
3754
|
+
declare const Styles: {
|
|
3755
|
+
/** 8-bit game: PICO-8 palette, chunky pixels, light dithering. */
|
|
3756
|
+
pixelArt: (o?: {
|
|
3757
|
+
pixelSize?: number;
|
|
3758
|
+
palette?: "pico8" | "c64" | "cga";
|
|
3759
|
+
}) => Look;
|
|
3760
|
+
/** Original Game Boy: four greens, dithered, big pixels. */
|
|
3761
|
+
gameBoy: (o?: {
|
|
3762
|
+
pixelSize?: number;
|
|
3763
|
+
}) => Look;
|
|
3764
|
+
/** Teletext / Ceefax: eight flat colors in big blocks. */
|
|
3765
|
+
teletext: (o?: {
|
|
3766
|
+
pixelSize?: number;
|
|
3767
|
+
}) => Look;
|
|
3768
|
+
/** LED wall: round lit pixels with gaps. */
|
|
3769
|
+
ledWall: (o?: {
|
|
3770
|
+
size?: number;
|
|
3771
|
+
}) => Look;
|
|
3772
|
+
/** Text-mode art: the clip drawn in characters. `matrix` makes it green phosphor. */
|
|
3773
|
+
ascii: (o?: {
|
|
3774
|
+
cellSize?: number;
|
|
3775
|
+
matrix?: boolean;
|
|
3776
|
+
}) => Look;
|
|
3777
|
+
/** 1-bit print: ordered dither in two inks. */
|
|
3778
|
+
oneBit: (o?: {
|
|
3779
|
+
dark?: string;
|
|
3780
|
+
light?: string;
|
|
3781
|
+
scale?: number;
|
|
3782
|
+
}) => Look;
|
|
3783
|
+
/** Riso print: two inks on paper, ordered dither, grain. */
|
|
3784
|
+
risograph: (o?: {
|
|
3785
|
+
inkA?: string;
|
|
3786
|
+
inkB?: string;
|
|
3787
|
+
paper?: string;
|
|
3788
|
+
}) => Look;
|
|
3789
|
+
/** Cartoon / cel shading with ink outlines. */
|
|
3790
|
+
cartoon: (o?: {
|
|
3791
|
+
levels?: number;
|
|
3792
|
+
ink?: string;
|
|
3793
|
+
}) => Look;
|
|
3794
|
+
/** Comic book: cel shading, ink lines and a halftone dot screen. */
|
|
3795
|
+
comic: (o?: {
|
|
3796
|
+
dotFrequency?: number;
|
|
3797
|
+
}) => Look;
|
|
3798
|
+
/** Thermal camera: brightness mapped to the ironbow palette. */
|
|
3799
|
+
thermal: () => Look;
|
|
3800
|
+
/** VHS tape: wobble, colour bleed, soft scanlines, grain. */
|
|
3801
|
+
vhs: (o?: {
|
|
3802
|
+
tracking?: number;
|
|
3803
|
+
}) => Look;
|
|
3804
|
+
/** An old CRT monitor: curved glass, scanlines, RGB mask. */
|
|
3805
|
+
crt: (o?: {
|
|
3806
|
+
curvature?: number;
|
|
3807
|
+
}) => Look;
|
|
3808
|
+
/** Glitch: hard RGB split plus tracking errors. Animate `amount` for hits. */
|
|
3809
|
+
glitch: (o?: {
|
|
3810
|
+
amount?: number;
|
|
3811
|
+
}) => Look;
|
|
3812
|
+
/** Oil painting. */
|
|
3813
|
+
oilPainting: (o?: {
|
|
3814
|
+
brush?: number;
|
|
3815
|
+
}) => Look;
|
|
3816
|
+
/** Watercolour: soft patches, pigment edges, paper. */
|
|
3817
|
+
watercolor: (o?: {
|
|
3818
|
+
brush?: number;
|
|
3819
|
+
}) => Look;
|
|
3820
|
+
/** Topographic map lines on paper. */
|
|
3821
|
+
topographic: (o?: {
|
|
3822
|
+
levels?: number;
|
|
3823
|
+
ink?: string;
|
|
3824
|
+
paper?: string;
|
|
3825
|
+
}) => Look;
|
|
3826
|
+
/** Kaleidoscope. Animate `rotation` on the returned effect, or pass a fixed angle. */
|
|
3827
|
+
kaleidoscope: (o?: {
|
|
3828
|
+
segments?: number;
|
|
3829
|
+
rotation?: number;
|
|
3830
|
+
}) => Look;
|
|
3831
|
+
/** Op art / line portrait: stripes bent by the image. */
|
|
3832
|
+
opArt: (o?: {
|
|
3833
|
+
pattern?: "stripes" | "rings" | "checker" | "waves";
|
|
3834
|
+
frequency?: number;
|
|
3835
|
+
}) => Look;
|
|
3836
|
+
/** Holographic foil sheen. Animate `shift` to make it move. */
|
|
3837
|
+
holographic: (o?: {
|
|
3838
|
+
strength?: number;
|
|
3839
|
+
shift?: number;
|
|
3840
|
+
}) => Look;
|
|
3841
|
+
/** Black-and-white film noir: crushed tones, grain, vignette. */
|
|
3842
|
+
noir: () => Look;
|
|
3843
|
+
/** Analog film: grain and a soft vignette. */
|
|
3844
|
+
film: () => Look;
|
|
3845
|
+
};
|
|
3846
|
+
type StyleName = keyof typeof Styles;
|
|
3847
|
+
//#endregion
|
|
2545
3848
|
//#region src/index.d.ts
|
|
2546
3849
|
interface SectionOptions {
|
|
2547
3850
|
readonly id?: string;
|
|
@@ -2725,6 +4028,8 @@ declare class Composition {
|
|
|
2725
4028
|
audioTracks: MediaNode[];
|
|
2726
4029
|
signals: Record<string, unknown>;
|
|
2727
4030
|
private _frameHooks;
|
|
4031
|
+
private _prepareHooks;
|
|
4032
|
+
private readonly _clipVision;
|
|
2728
4033
|
private _visionConfig?;
|
|
2729
4034
|
private _visionBundle?;
|
|
2730
4035
|
private _effects;
|
|
@@ -2739,6 +4044,28 @@ declare class Composition {
|
|
|
2739
4044
|
* Returns the reactive VisionBundle (objects / masks / pose / classes signals).
|
|
2740
4045
|
*/
|
|
2741
4046
|
withVision(config?: VisionProps | Vision): VisionBundle;
|
|
4047
|
+
/**
|
|
4048
|
+
* Vision for a clip, analysed per frame on demand and shared by everything
|
|
4049
|
+
* that reads it (see {@link ClipVision}): `comp.vision("dancer.mp4").person`
|
|
4050
|
+
* gives pose keypoints and a silhouette at any frame. Each frame is
|
|
4051
|
+
* analysed just before it renders, so nothing runs up front. Results
|
|
4052
|
+
* persist on disk in Node. The same clip and options return one instance.
|
|
4053
|
+
*/
|
|
4054
|
+
vision(source: string, options?: ClipVisionOptions): ClipVision;
|
|
4055
|
+
/**
|
|
4056
|
+
* @internal Analyses every `comp.vision` clip up to a composition frame
|
|
4057
|
+
* (frames already analysed are skipped), so consumers that step frame by
|
|
4058
|
+
* frame — physics, particles — always find every frame before it.
|
|
4059
|
+
*/
|
|
4060
|
+
prepareVision(frame: number): Promise<void>;
|
|
4061
|
+
/**
|
|
4062
|
+
* Points matte-family `withVision` layers at the `comp.vision` clip they
|
|
4063
|
+
* show, so the cutout reuses that clip's per-frame subject instead of
|
|
4064
|
+
* segmenting the frame again during render. Only layers whose settings
|
|
4065
|
+
* would give the same subject are linked; the rest keep their own pass.
|
|
4066
|
+
*/
|
|
4067
|
+
private linkClipMattes;
|
|
4068
|
+
private clipForMatte;
|
|
2742
4069
|
/**
|
|
2743
4070
|
* One-shot, ffmpeg-free vision analysis of a media source.
|
|
2744
4071
|
*
|
|
@@ -2765,7 +4092,14 @@ declare class Composition {
|
|
|
2765
4092
|
* Invoked before rendering each frame so scripts or agents can mutate properties and signals.
|
|
2766
4093
|
*/
|
|
2767
4094
|
onRequestFrame(callback: (ctx: FrameContext) => void): this;
|
|
2768
|
-
|
|
4095
|
+
/**
|
|
4096
|
+
* Async work a frame needs before it is evaluated (vision, a live physics
|
|
4097
|
+
* world). Every render path awaits these, in order, before drawing the
|
|
4098
|
+
* frame; they may run more than once per frame, so keep them idempotent.
|
|
4099
|
+
*/
|
|
4100
|
+
onPrepareFrame(callback: (ctx: FrameContext) => Promise<void> | void): this;
|
|
4101
|
+
notifyFrame(ctx: FrameContext): Promise<void> | undefined;
|
|
4102
|
+
private hasFrameHooks;
|
|
2769
4103
|
constructor(options: CompositionOptions);
|
|
2770
4104
|
static create(options: CompositionOptions): Composition;
|
|
2771
4105
|
addSignal(name: string, signal: unknown): this;
|
|
@@ -2916,6 +4250,29 @@ declare const Layer: {
|
|
|
2916
4250
|
}) => AnimatableNode<ShapeNode>;
|
|
2917
4251
|
flex: (options?: Partial<FlexNode>) => AnimatableNode<FlexNode>;
|
|
2918
4252
|
box: (options?: Partial<BoxNode>) => AnimatableNode<BoxNode>;
|
|
4253
|
+
/**
|
|
4254
|
+
* A GPU particle system as a layer: tens of thousands of particles
|
|
4255
|
+
* simulated in a compute shader and drawn in one call (see
|
|
4256
|
+
* {@link ParticlesOptions}). Positions are in the layer's own px; drivers
|
|
4257
|
+
* (rate, gravity, noise, attractors) are read every frame, and a
|
|
4258
|
+
* performer can push particles with `push: { person }`.
|
|
4259
|
+
*/
|
|
4260
|
+
particles: (options: ParticlesOptions) => AnimatableNode<MediaNode>;
|
|
4261
|
+
/**
|
|
4262
|
+
* A procedural VFX layer (smoke, fire, rain, snow, aurora, …) drawn by
|
|
4263
|
+
* the GPU, transparent where there is no effect. Put it above or below
|
|
4264
|
+
* other layers like any clip.
|
|
4265
|
+
*/
|
|
4266
|
+
vfx: (options: Partial<ProceduralVFXProps> & {
|
|
4267
|
+
x?: number;
|
|
4268
|
+
y?: number;
|
|
4269
|
+
width: number;
|
|
4270
|
+
height: number;
|
|
4271
|
+
id?: string;
|
|
4272
|
+
startFrame?: number;
|
|
4273
|
+
durationFrames?: number;
|
|
4274
|
+
zIndex?: number;
|
|
4275
|
+
}) => AnimatableNode<MediaNode>;
|
|
2919
4276
|
section: (source: string | MediaNode | Composition, targetOrOptions?: ObjectTrackSignals | SectionOptions, options?: SectionOptions) => SectionNode;
|
|
2920
4277
|
trackedRegion: (source: string | MediaNode, target: ObjectTrackSignals, options?: TrackedRegionOptions) => SectionNode;
|
|
2921
4278
|
blurTrackedRegion: (source: string | MediaNode, target: ObjectTrackSignals, options?: Partial<BlurProps> & {
|
|
@@ -2985,6 +4342,7 @@ declare function blurRegion(sourceOrLayer: string | AnimatableNode<MediaNode>, t
|
|
|
2985
4342
|
}): AnimatableNode<MediaNode> | AnimatableNode<BoxNode>;
|
|
2986
4343
|
declare function editTrackedRegion(source: string | MediaNode, target: ObjectTrackSignals, options?: TrackedRegionOptions): SectionNode;
|
|
2987
4344
|
declare const Effect: typeof Effect$1 & {
|
|
4345
|
+
readonly ascii: (config?: AsciiProps) => Ascii;
|
|
2988
4346
|
readonly audioCompressor: (config?: AudioCompressorProps) => AudioCompressor;
|
|
2989
4347
|
readonly audioDelay: (config?: AudioDelayProps) => AudioDelay;
|
|
2990
4348
|
readonly audioFade: (config?: AudioFadeProps) => AudioFade;
|
|
@@ -2997,24 +4355,38 @@ declare const Effect: typeof Effect$1 & {
|
|
|
2997
4355
|
readonly channelSplitter: (config?: ChannelSplitterProps) => ChannelSplitter;
|
|
2998
4356
|
readonly colorBalance: (config?: ColorBalanceProps) => ColorBalance;
|
|
2999
4357
|
readonly colorKey: (config?: ColorKeyProps) => ColorKey;
|
|
4358
|
+
readonly contour: (config?: ContourProps) => Contour;
|
|
3000
4359
|
readonly cornerPin: (config?: CornerPinProps) => CornerPin;
|
|
4360
|
+
readonly cRT: (config?: CRTProps) => CRT;
|
|
4361
|
+
readonly datamosh: (config?: DatamoshProps) => Datamosh;
|
|
3001
4362
|
readonly displacementMap: (config?: DisplacementMapProps) => DisplacementMap;
|
|
4363
|
+
readonly dither: (config?: DitherProps) => Dither;
|
|
3002
4364
|
readonly extractLUT: (config?: ExtractLUTProps) => ExtractLUT;
|
|
3003
4365
|
readonly flip: (config?: FlipProps) => Flip;
|
|
4366
|
+
readonly gooey: (config?: GooeyProps) => Gooey;
|
|
4367
|
+
readonly iridescence: (config?: IridescenceProps) => Iridescence;
|
|
4368
|
+
readonly kaleidoscope: (config?: KaleidoscopeProps) => Kaleidoscope;
|
|
3004
4369
|
readonly kenBurns: (config?: KenBurnsProps) => KenBurns;
|
|
3005
4370
|
readonly layerStyle: (config?: LayerStyleProps) => LayerStyle;
|
|
3006
4371
|
readonly liquify: (config?: LiquifyProps) => Liquify;
|
|
3007
4372
|
readonly maskMath: (config?: MaskMathProps) => MaskMath;
|
|
3008
4373
|
readonly meshWarp: (config?: MeshWarpProps) => MeshWarp;
|
|
3009
4374
|
readonly noiseGenerator: (config?: NoiseGeneratorProps) => NoiseGenerator;
|
|
4375
|
+
readonly opArt: (config?: OpArtProps) => OpArt;
|
|
3010
4376
|
readonly paint: (config?: PaintProps) => Paint;
|
|
4377
|
+
readonly painterly: (config?: PainterlyProps) => Painterly;
|
|
3011
4378
|
readonly patchHeal: (config?: PatchHealProps) => PatchHeal;
|
|
4379
|
+
readonly pixelate: (config?: PixelateProps) => Pixelate;
|
|
4380
|
+
readonly posterize: (config?: PosterizeProps) => Posterize;
|
|
3012
4381
|
readonly proceduralVFX: (config?: ProceduralVFXProps) => ProceduralVFX;
|
|
3013
4382
|
readonly refineEdge: (config?: RefineEdgeProps) => RefineEdge;
|
|
3014
4383
|
readonly refractionCaustics3D: (config?: RefractionCaustics3DProps) => RefractionCaustics3D;
|
|
3015
4384
|
readonly resizerScaler: (config?: ResizerScalerProps) => ResizerScaler;
|
|
4385
|
+
readonly rGBSplit: (config?: RGBSplitProps) => RGBSplit;
|
|
3016
4386
|
readonly rotate: (config?: RotateProps) => Rotate;
|
|
3017
4387
|
readonly stereoPanning: (config?: StereoPanningProps) => StereoPanning;
|
|
4388
|
+
readonly toon: (config?: ToonProps) => Toon;
|
|
4389
|
+
readonly trails: (config?: TrailsProps) => Trails;
|
|
3018
4390
|
readonly vignette: (config?: VignetteProps) => Vignette;
|
|
3019
4391
|
} & {
|
|
3020
4392
|
blur: (config?: BlurProps) => Blur;
|
|
@@ -3045,5 +4417,5 @@ declare const Effect: typeof Effect$1 & {
|
|
|
3045
4417
|
};
|
|
3046
4418
|
type Effect<TConfig extends object = Record<string, unknown>> = Effect$1<TConfig>;
|
|
3047
4419
|
//#endregion
|
|
3048
|
-
export { type AETextAnimator, AETextAnimatorSchema, type AdvancedTextAnimator, AdvancedTextAnimatorBuilder, AdvancedTextAnimatorSchema, type AnchorGrouping, AnchorGroupingSchema, type AnchorPreset, AnchorPresetSchema, type AnimatableGlyphProps, AnimatableGlyphPropsSchema, AnimatableNode, type AnimatableProp, type AnimationClip3D, type AnimationTrack, AnimationType, AnimationTypeSchema, AnyOutputUnion, AnyOutputUnionSchema, ApplyLUT, type ApplyLUTProps, type ArcLengthLUTEntry, AudioCompressor, type AudioCompressorProps, AudioDelay, type AudioDelayProps, AudioExtractorSignalData, AudioExtractorSignalDataSchema, AudioFade, type AudioFadeProps, type AudioLatentData, AudioLatentEngine, AudioLatentTrackCache, AudioMeshDeformPipeline, AudioNoiseGate, type AudioNoiseGateProps, AudioParametricEq, type AudioParametricEqProps, type AudioQaStats, AudioReverb, type AudioReverbProps, AudioSignal, AudioSignalExtractor, type AudioSignalExtractorProps, type AudioSignalOptions, type AudioSpectrumTypography, AudioSpectrumTypographySchema, BaseMediaOperationProps, BaseMediaOperationPropsSchema, BaseVideoLayerProps, BaseVideoLayerPropsSchema, BezierSegment3D, type BlendMode, type BlockNode, type BloomConfig, BloomConfigSchema, Blur, type BlurProps, type Bone3D, type BoxNode, BoxNodeSchema, CAPTION_LAYER_DEFAULTS, COCO17_BONES, COCO17_KEYPOINTS, COCO17_KEYPOINT_NAMES, COCO_CLASSES, COMPOSITE_OPERATIONS, COMPOSITOR_DEFAULTS, Camera3D, Camera3DPose, CameraAnimation, type CameraDoF, type CameraLens, type CameraNode, CameraNodeSchema, CameraParallax3D, type CameraParallax3DProps, type CameraShake, CameraShakeOptions, CannyComputePipeline, type CannyOptions, type Carousel3DOptions, type CarrierHandoffConfig, CarrierHandoffConfigSchema, type CarrierState, CatmullRomOptions, ChannelMerger, type ChannelMergerProps, ChannelSplitter, type ChannelSplitterProps, type ChartAnimationOptions, type ChartAxisOptions, type ChartCandle, type ChartDatum, type ChartOptions, type ChartPadding, type ChartSeries, type ChartSlice, type ChartType, type ChartX, type ChromaticGlitchConfig, ChromaticGlitchConfigSchema, CirclePathOptions, Color, ColorBalance, type ColorBalanceProps, ColorKey, type ColorKeyProps, type ColorSignalOptions, type ColorStop, ColorStopLike, ColorStopSchema, Composition, CompositionOptions, type CompositorProgramConfig, CompositorProgramSchema, type CompositorToProgramOptions, ConfigHandle, ConfigHandleSchema, ConfigSchemaRegistry, ConnectedInput, type ControlNetConditioningOutputs, ControlNetMultiplexer, CornerPin, type CornerPinProps, Crop, type CropProps, type Cube3DOptions, type CubeFaceConfig, type CubeFaceInput, type CubicBezierSegment, CubicBezierSegmentSchema, Curves, type CurvesChannelPoint, type CurvesProps, CustomEffect, type Cylinder3DOptions, DATA_TYPE_EXTENSIONS, DEFAULT_CHART_COLORS, DEFAULT_DURATION_MS, DEFAULT_FPS, DEFAULT_MEDIA_DIMENSION, DataForType, DataType, DataTypeEnum, DataTypeVal, DataTypes, type DeflickerOptions, type DeflickerProps, DepthNormalsComputePipeline, type DepthNormalsOptions, DepthOfField, type DepthOfFieldProps, type DetectedObject, DisplacementMap, type DisplacementMapProps, type DynamicStrokeProperties, DynamicStrokePropertiesSchema, ENVIRONMENT_PRESETS, type EaseRef, Easing, EditableObjectTrack, Effect, EffectConfig, EffectConfigValue, EffectPipeline, type EnhancedTextNode, EnhancedTextNodeSchema, Environment3DFog, Environment3DOptions, type EnvironmentFog, EnvironmentFogSchema, EnvironmentOptions, type EnvironmentPreset, EnvironmentPresetSchema, ExportResult, ExportResultSchema, type ExpressionEvaluationContext, type ExpressionSelector, ExpressionSelectorSchema, type ExtendedGlyphProperties, ExtendedGlyphPropertiesSchema, ExtendedLayer, ExtendedLayerSchema, ExtractLUT, type ExtractLUTProps, type ExtractedAudioSignalsBundle, type ExtrudedText3DOptions, FaceLandmarksOptions, FileAsset, FileAssetSchema, FileData, FileDataSchema, FilmGrain, type FilmGrainProps, type FlexNode, FlexNodeSchema, Flip, type FlipProps, FontManager, FrameContext, type FrameGridOptions, type FrameGridRenderable, type FrameSamplePoint, type FrameSignal, type FromToOptions, FrustumPlane, FrustumPlanes, type GPULightData, GPUTextureBinding, GateSignalOptions, GeneratorSignalData, GeneratorSignalDataSchema, GlassPipeline, GlobalCompositeOperation, type GlyphAnchorGrouping, GlyphAnchorGroupingSchema, type GlyphAnchorPoint, GlyphAnchorPointSchema, type GpuAdapterDescription, Gradient, GradientMap, type GradientMapProps, type GradientMapStop, GradientType, type Grid3DOptions, type HalftoneDotShape, type HalftoneMode, HalftoneScreen, type HalftoneScreenProps, HandleType, HandleTypeVal, HeadlessMediaRenderer, HeadlessWebGPURenderer, HelixOptions, HighPass, type HighPassProps, type InstanceMask, InterpolateOptions, JsonArray, JsonObject, JsonValue, JsonValueSchema, KenBurns, type KenBurnsProps, type Keyframe, type KeyframeTuple, type KineticMarqueeConfig, KineticMarqueeConfigSchema, LIGHT_UNIFORM_SIZE_BYTES, type Landmark3D, type LandmarkCoordinateSignals, Layer, Layer3D, LayerAnimation, LayerStyle, type LayerStyleProps, type LayoutNode, LayoutNodeSchema, type LevelChannel, Levels, type LevelsProps, Light, Light3D, type Light3DOptions, LightKind, type LightNode, LightNodeSchema, type LightType, LightTypeSchema, Lighting, type LightingRig, type LightingRigOptions, LightsUniformData, type LineSpacingDynamics, LineSpacingDynamicsSchema, Liquify, type LiquifyProps, type LoadModelOptions, type LongShadowConfig, LongShadowConfigSchema, MAX_GRADIENT_STOPS, MAX_LIGHTS, MIME_TYPES, type MarkOptions, MaskMath, type MaskMathProps, type MaskTrackSignals, Mat4, type Material3D, type MaterialType, MaterialTypeSchema, Matrix4Math, type MatteMode, MatteModeSchema, type MeasureTextOptions, type MeasuredGlyph, Media, MediaMetadata, MediaMetadataSchema, type MediaNode, MediaNodeSchema, MediaOperation, MediaOperationSchema, MediaService, MediaSourceDescriptor, MediaSourceInput, MediaSourceSchema, type Mesh3DData, MeshAudioDeformConfig, MeshWarp, type MeshWarpProps, type Model3DData, type Model3DNode, Model3DNodeSchema, ModerationError, ModerationUnrefundableError, Modulate, type ModulateProps, MotionBlur, MotionBlurPipeline, type MotionBlurProps, MultiOutputGeneric, MultiOutputGenericSchema, type NodeAnimationTrack3D, NodeMetadata, NodeMetadataSchema, NodeProcessorContext, NodeProcessorParams, NodeResult, NodeResultSchema, NodeRunFunction, NodeValidationFn, NodeVisualConfig, NodeVisualConfigSchema, NoiseGenerator, type NoiseGeneratorProps, type NormalRelightingOptions, type NormalizedLandmarkList, type ObjectAnchorName, type ObjectAnchorsSignals, type ObjectBoundingBox, type ObjectBoundingBoxSignals, type ObjectCollectionSignals, type ObjectKinematicsSignals, type ObjectTrackSignals, OpticalFlowComputePipeline, type OpticalFlowOptions, Output, OutputItem, OutputItemSchema, PBRGlass, type PBRGlassProps, Paint, type PaintProps, ParsedGradient, ParsedGradientStop, type ParticleDissolveConfig, ParticleDissolveConfigSchema, PatchHeal, type PatchHealProps, Path3D, Path3DPoint, Path3DSample, type PathChainLUT, type PathChainLUTEntry, type PersonMatte, type PinToLandmarkOptions, type PinToObjectOptions, type Plane3DOptions, type PoseLandmarkSignals, type PoseResult, PoseSkeletonOptions, PoseSkeletonRenderer, type PreviewCloseReason, type PreviewOptions, type PreviewSession, type PreviewSource, type Primitive3DNodeOptions, type Prism3DOptions, ProceduralVFX, type ProceduralVFXProps, ProgrammaticSignal, ProgrammaticSignalOptions, type QaIssue, type QaSegment, RefineEdge, type RefineEdgeProps, RefractionCaustics3D, type RefractionCaustics3DProps, type RegisterFontOptions, type RegisteredFont, Relight3D, type Relight3DProps, type RenderContextValue, RenderDiagnostic, type RenderProgress, RenderVideoOptions, RenderVideoResult, type RenderedSfx, Renderer2D, Renderer3D, ResizerScaler, type ResizerScalerProps, ResolvedEnvironment, Rgba, Rotate, type RotateProps, type RoundedBox3DOptions, SSAO, SSAOPipeline, type SSAOProps, Scene, type SceneDefinition, SceneDefinitionSchema, type SceneOptions, type SceneSequenceOptions, type SceneTransitionType, SceneTransitionTypeSchema, SectionNode, SectionOptions, SegmentationOptions, type SegmentationResult, SegmentationTexturePool, SelectiveColor, type SelectiveColorAdjustment, type SelectiveColorProps, type SelectorBasedOn, SelectorBasedOnSchema, type SelectorMode, SelectorModeSchema, type SelectorShape, SelectorShapeSchema, type SelectorUnits, SelectorUnitsSchema, Sequence, type SequenceEntry, type SequenceNode, type SequenceOptions, type SequenceTimelineResult, type SfxRenderContext, type SfxTrigger, ShadowPipeline, ShadowUniformInfo, ShadowsHighlights, type ShadowsHighlightsProps, type Shape3DContainer, type ShapeNode, ShapeNodeSchema, Signal, SignalBuilderConfig, SignalChannelMeta, SignalChannelMetaSchema, type SignalContext, SignalData, SignalDataSchema, SignalGateData, SignalGateDataSchema, SignalMathData, SignalMathDataSchema, SignalStats, SignalStatsSchema, type SignalTrackOptions, type SignalValue, type SineSignalOptions, SingleOutputGeneric, SingleOutputGenericSchema, type Skeleton3D, type SkewProperties, SkewPropertiesSchema, SlugFontCache, SlugPipeline, SmartFramingOptions, SourceOperationSchema, type Spatial3DProperties, Spatial3DPropertiesSchema, SpatialLandmarkTransformer, type Sphere3DOptions, SpringConfig, type SpringOptions, type SpringPhysics, SpringPhysicsSchema, StereoPanning, type StereoPanningProps, StorageService, StrokeRect, SubjectOutlineOptions, SubjectSandwichOptions, type Surface3DOptions, TEXT_LAYER_DEFAULTS, TemporalDeflicker, TemporalDeflickerPipeline, TemporalObjectTracker, TensorData, type TensorDimensions, type TensorFormat, type TensorNode, TensorPipeline, type TensorPipelineConfig, type TensorSource, type TensorViewExport, type Text3DOptions, type TextAnchorConfig, TextAnchorConfigSchema, TextAnimator, TextAnimatorBuilder, TextAnimatorSchema, type TextCursorConfig, TextCursorConfigSchema, type TextCursorStyle, TextCursorStyleSchema, TextMeasureResult, TextMeasureStyle, type TextMetrics, type TextNode, TextNodeSchema, TextOperationSchema, TextPathBuilder, type TextPathOptions, TextPathOptionsSchema, type TextPathSource, TextPathSourceSchema, type TextRangeSelector, TextRangeSelectorSchema, type TextScrambleConfig, TextScrambleConfigSchema, type TextSelector, TextSelectorSchema, type TextSignalSelector, TextSignalSelectorSchema, type TextSpan, type TextSpanItem, type TextSpanMark, TextSpanMarkSchema, TextSpanSchema, type TextWigglySelector, TextWigglySelectorSchema, TileOffset, type TileOffsetEdgeMode, type TileOffsetProps, TimelineSegmentSchema, TimelineTransform, TimelineTransformSchema, type ToneMapping, ToneMappingSchema, TrackEditing, type TrackSource, type TrackedObject, TrackedRegionOptions, Transition, type TransitionDirection, TransitionSchema, type TransitionSpec, TransitionType, TransitionTypeSchema, type TypewriterAnimator, TypewriterAnimatorSchema, type TypingCadence, TypingCadenceSchema, UnsharpMask, type UnsharpMaskProps, type VariableFontAxes, VariableFontAxesSchema, type Vec2, Vec2Schema, Vec3, Vector3Math, VideoAnimation, VideoAnimationSchema, VideoLayerType, VideoLayerTypeSchema, type VideoQaOptions, type VideoQaReport, type VideoQaStats, VideoSpatialPropsSchema, VideoStylePropsSchema, VideoTextPropsSchema, VideoTimingPropsSchema, Vignette, type VignetteProps, VirtualMediaData, VirtualMediaDataSchema, Vision, type VisionAnalysisReport, VisionBundle, type VisionConfig, VisionNode, VisionNodeSpec, type VisionProps, VisionRunner, type VisionTask, type VisionVariant, type VolumetricFormationConfig, VolumetricFormationConfigSchema, type VolumetricFormationMode, VolumetricFormationModeSchema, type WiggleOptions, WritableSignal, XYPosition, accent, analyzeSequence, appendOperation, applyStaggerToChildren, bezier, blurRegion, bold, buildPathLUT, calculateSequenceTimeline, checkNodeResultCache, code, collectNodeOps, color, compositorToProgram, computeAnchorPivotOffset, computeCarrierContinuity, computeGridLayout, computeLayout, computeLayoutSync, computeLineLeadingDisplacement, computeRangeSelectorWeight, computeStaggerDelay, computeStrokeRect, computeVideoCropRenderProps, computed, cosineSignal, createOutputItemSchema, createVirtualMedia, dataTypeColors, describeGpu, deserializeSignalData, deterministicWigglyNoise, distanceToCurveParameter, editTrackedRegion, effectFactories, effectMeta, ellipseToCubicBeziers, encodeStereoWav, ensureDevice, evaluateAnimationAtFrame, evaluateCubicBezier, evaluateCubicBezierDerivative, evaluateExpressionSelector, evaluateMarqueeOffset, evaluateSelectorCombination, evaluateSkewMatrix, evaluateSpringProgress, evaluateTrackAtFrame, evaluateTypewriterState, evaluateVolumetricFormation, extractSvgDimensions, findSourceAsset, formatHex, formatQaReport, frameArraySignal, frameSignal, generateArcLengthLUT, generateId, generatePathSegments, getActiveMediaMetadata, getFileDataMetadata, getFingerprint, getLeafMediaType, getMediaType, getRenderFingerprint, getScramblePool, getShuffledOrder, gradientStopsToOklab, hasOnlySingleSource, hoistMattes, inputStore, interpolate, isCssGradient, isEqual, isSignal, isVirtualMediaData, italic, limitGradientStops, lintComposition, loadFBX, loadModel3D, loadOBJ, lutStore, mapBlendModeToSkia, mark, measureSpring, measureText, measureTextAsync, mergeAnimationTracks, mixAudioTracks, mixColors, mixSfxInto, normalizeColorStops, normalizeTextSpans, oklabToRgb, parseColorToRgb, parseCssColor, parseCssGradient, parseFBX, parseMTL, parseMarkup, parseOBJ, parseSvgPathToCubicBeziers, pinNodeToLandmark, pinNodeToObject, preloadCompositionFonts, preloadFont, programmaticSignal, progressSignal, registerSignalDependency, renderFrameGrid, renderSemaphore, renderSfx, reportRenderDiagnostic, requiresIsolation, resetRenderCaches, resolveBoolean, resolveEnvironment, resolveMediaMimeType, resolveNumber, resolveParam, resolveSamplePoints, resolveString, rgbToOklab, rich, sampleAudioSpectrumScale, sampleColorStops, sampleCurveGeometry, samplePathChainGeometry, section, serializeSignalData, shaderStore, signal, signalBuilder, signalRegistry, sineSignal, size, softLimit, span, spring, springCalculation, stampResult, startPreview, sub, sup, takeRenderDiagnostics, textureCache, timeSignal, updateClockSignals, waveToCubicBeziers };
|
|
4420
|
+
export { type AETextAnimator, AETextAnimatorSchema, type AdvancedTextAnimator, AdvancedTextAnimatorBuilder, AdvancedTextAnimatorSchema, type AnchorGrouping, AnchorGroupingSchema, type AnchorPreset, AnchorPresetSchema, type AnimatableGlyphProps, AnimatableGlyphPropsSchema, AnimatableNode, type AnimatableProp, type AnimationClip3D, type AnimationTrack, AnimationType, AnimationTypeSchema, AnyOutputUnion, AnyOutputUnionSchema, ApplyLUT, type ApplyLUTProps, type ArcLengthLUTEntry, Ascii, type AsciiProps, AudioCompressor, type AudioCompressorProps, AudioDelay, type AudioDelayProps, AudioExtractorSignalData, AudioExtractorSignalDataSchema, AudioFade, type AudioFadeProps, type AudioLatentData, AudioLatentEngine, AudioLatentTrackCache, AudioMeshDeformPipeline, AudioNoiseGate, type AudioNoiseGateProps, AudioParametricEq, type AudioParametricEqProps, type AudioQaStats, AudioReverb, type AudioReverbProps, AudioSignal, AudioSignalExtractor, type AudioSignalExtractorProps, type AudioSignalOptions, type AudioSpectrumTypography, AudioSpectrumTypographySchema, BaseMediaOperationProps, BaseMediaOperationPropsSchema, BaseVideoLayerProps, BaseVideoLayerPropsSchema, BezierSegment3D, type BlendMode, type BlockNode, type BloomConfig, BloomConfigSchema, Blur, type BlurProps, type Body2DOptions, type Body3DOptions, type BodyCommonOptions, type Bone3D, type BoxNode, BoxNodeSchema, CAPTION_LAYER_DEFAULTS, COCO17_BONES, COCO17_KEYPOINTS, COCO17_KEYPOINT_NAMES, COCO_CLASSES, COMPOSITE_OPERATIONS, COMPOSITOR_DEFAULTS, CRT, type CRTProps, Camera3D, Camera3DPose, CameraAnimation, type CameraDoF, type CameraLens, type CameraNode, CameraNodeSchema, CameraParallax3D, type CameraParallax3DProps, type CameraShake, CameraShakeOptions, CannyComputePipeline, type CannyOptions, type Carousel3DOptions, type CarrierHandoffConfig, CarrierHandoffConfigSchema, type CarrierState, CatmullRomOptions, ChannelMerger, type ChannelMergerProps, ChannelSplitter, type ChannelSplitterProps, type ChartAnimationOptions, type ChartAxisOptions, type ChartCandle, type ChartDatum, type ChartOptions, type ChartPadding, type ChartSeries, type ChartSlice, type ChartType, type ChartX, type ChromaticGlitchConfig, ChromaticGlitchConfigSchema, CirclePathOptions, ClipVision, type ClipVisionOptions, Color, ColorBalance, type ColorBalanceProps, ColorKey, type ColorKeyProps, type ColorSignalOptions, type ColorStop, ColorStopLike, ColorStopSchema, Composition, CompositionOptions, type CompositorProgramConfig, CompositorProgramSchema, type CompositorToProgramOptions, ConfigHandle, ConfigHandleSchema, ConfigSchemaRegistry, ConnectedInput, Contour, type ContourProps, type ControlNetConditioningOutputs, ControlNetMultiplexer, CornerPin, type CornerPinProps, Crop, type CropProps, type Cube3DOptions, type CubeFaceConfig, type CubeFaceInput, type CubicBezierSegment, CubicBezierSegmentSchema, Curves, type CurvesChannelPoint, type CurvesProps, CustomEffect, type Cylinder3DOptions, DATA_TYPE_EXTENSIONS, DEFAULT_CHART_COLORS, DEFAULT_DURATION_MS, DEFAULT_FPS, DEFAULT_MEDIA_DIMENSION, DataForType, DataType, DataTypeEnum, DataTypeVal, DataTypes, Datamosh, type DatamoshProps, type DeflickerOptions, type DeflickerProps, DepthNormalsComputePipeline, type DepthNormalsOptions, DepthOfField, type DepthOfFieldProps, type DetectedObject, DisplacementMap, type DisplacementMapProps, Dither, type DitherProps, type DynamicStrokeProperties, DynamicStrokePropertiesSchema, ENVIRONMENT_PRESETS, type EaseRef, Easing, EditableObjectTrack, Effect, EffectConfig, EffectConfigValue, EffectPipeline, type EmitterShape, type EnhancedTextNode, EnhancedTextNodeSchema, Environment3DFog, Environment3DOptions, type EnvironmentFog, EnvironmentFogSchema, EnvironmentOptions, type EnvironmentPreset, EnvironmentPresetSchema, ExportResult, ExportResultSchema, type ExpressionEvaluationContext, type ExpressionSelector, ExpressionSelectorSchema, type ExtendedGlyphProperties, ExtendedGlyphPropertiesSchema, ExtendedLayer, ExtendedLayerSchema, ExtractLUT, type ExtractLUTProps, type ExtractedAudioSignalsBundle, type ExtrudedText3DOptions, FaceLandmarksOptions, type FieldSample2D, type FieldSample3D, FileAsset, FileAssetSchema, FileData, FileDataSchema, FilmGrain, type FilmGrainProps, type FlexNode, FlexNodeSchema, Flip, type FlipProps, FontManager, FrameContext, type FrameGridOptions, type FrameGridRenderable, type FrameSamplePoint, type FrameSignal, type FromToOptions, FrustumPlane, FrustumPlanes, type GPULightData, GPUTextureBinding, GateSignalOptions, GeneratorSignalData, GeneratorSignalDataSchema, GlassPipeline, GlobalCompositeOperation, type GlyphAnchorGrouping, GlyphAnchorGroupingSchema, type GlyphAnchorPoint, GlyphAnchorPointSchema, Gooey, type GooeyProps, type GpuAdapterDescription, Gradient, GradientMap, type GradientMapProps, type GradientMapStop, GradientType, type Grid3DOptions, type HalftoneDotShape, type HalftoneMode, HalftoneScreen, type HalftoneScreenProps, HandleType, HandleTypeVal, HeadlessMediaRenderer, HeadlessWebGPURenderer, HelixOptions, HighPass, type HighPassProps, type InstanceMask, InterpolateOptions, Iridescence, type IridescenceProps, JsonArray, JsonObject, JsonValue, JsonValueSchema, Kaleidoscope, type KaleidoscopeProps, KenBurns, type KenBurnsProps, type Keyframe, type KeyframeTuple, type KineticMarqueeConfig, KineticMarqueeConfigSchema, LIGHT_UNIFORM_SIZE_BYTES, type Landmark3D, type LandmarkCoordinateSignals, Layer, Layer3D, LayerAnimation, LayerStyle, type LayerStyleProps, type LayoutNode, LayoutNodeSchema, type LevelChannel, Levels, type LevelsProps, Light, Light3D, type Light3DOptions, LightKind, type LightNode, LightNodeSchema, type LightType, LightTypeSchema, Lighting, type LightingRig, type LightingRigOptions, LightsUniformData, type LineSpacingDynamics, LineSpacingDynamicsSchema, Liquify, type LiquifyProps, type LoadModelOptions, type LongShadowConfig, LongShadowConfigSchema, MAX_GRADIENT_STOPS, MAX_LIGHTS, MIME_TYPES, type MarkOptions, MaskMath, type MaskMathProps, type MaskTrackSignals, Mat4, type Material3D, type MaterialType, MaterialTypeSchema, Matrix4Math, type MatteMode, MatteModeSchema, type MeasureTextOptions, type MeasuredGlyph, Media, MediaMetadata, MediaMetadataSchema, type MediaNode, MediaNodeSchema, MediaOperation, MediaOperationSchema, MediaService, MediaSourceDescriptor, MediaSourceInput, MediaSourceSchema, type Mesh3DData, MeshAudioDeformConfig, MeshWarp, type MeshWarpProps, type Model3DData, type Model3DNode, Model3DNodeSchema, ModerationError, ModerationUnrefundableError, Modulate, type ModulateProps, MotionBlur, MotionBlurPipeline, type MotionBlurProps, MultiOutputGeneric, MultiOutputGenericSchema, type NodeAnimationTrack3D, NodeMetadata, NodeMetadataSchema, NodeProcessorContext, NodeProcessorParams, NodeResult, NodeResultSchema, NodeRunFunction, NodeValidationFn, NodeVisualConfig, NodeVisualConfigSchema, NoiseGenerator, type NoiseGeneratorProps, type NormalRelightingOptions, type NormalizedLandmarkList, type ObjectAnchorName, type ObjectAnchorsSignals, type ObjectBoundingBox, type ObjectBoundingBoxSignals, type ObjectCollectionSignals, type ObjectKinematicsSignals, type ObjectTrackSignals, OpArt, type OpArtProps, OpticalFlowComputePipeline, type OpticalFlowOptions, Output, OutputItem, OutputItemSchema, PBRGlass, type PBRGlassProps, Paint, type PaintProps, Painterly, type PainterlyProps, ParsedGradient, ParsedGradientStop, type ParticleBlend, type ParticleBounds, type ParticleDissolveConfig, ParticleDissolveConfigSchema, type ParticleShape, Particles, type ParticlesOptions, PatchHeal, type PatchHealProps, Path3D, Path3DPoint, Path3DSample, type PathChainLUT, type PathChainLUTEntry, type PersonMatte, type PersonPlacement, PersonTrack, Physics, type PhysicsBakeOptions, PhysicsBody2D, PhysicsBody3D, type PhysicsBox3D, type PhysicsCollision, type PhysicsDriver, type PhysicsGroundOptions, type PhysicsRect, type PhysicsRope3DOptions, type PhysicsRopeOptions, type PhysicsSpring3DOptions, type PhysicsSpringOptions, type PhysicsWallsOptions, PhysicsWorld2D, PhysicsWorld3D, type PhysicsWorldOptions, type PinToLandmarkOptions, type PinToObjectOptions, Pixelate, type PixelateProps, type Plane3DOptions, type PoseKeypointName, type PoseLandmarkSignals, type PoseResult, PoseSkeletonOptions, PoseSkeletonRenderer, Posterize, type PosterizeProps, type PreviewCloseReason, type PreviewOptions, type PreviewSession, type PreviewSource, type Primitive3DNodeOptions, type Prism3DOptions, ProceduralVFX, type ProceduralVFXProps, ProgrammaticSignal, ProgrammaticSignalOptions, type QaIssue, type QaSegment, RGBSplit, type RGBSplitProps, RefineEdge, type RefineEdgeProps, RefractionCaustics3D, type RefractionCaustics3DProps, type RegisterFontOptions, type RegisteredFont, Relight3D, type Relight3DProps, type RenderContextValue, RenderDiagnostic, type RenderProgress, RenderVideoOptions, RenderVideoResult, type RenderedSfx, Renderer2D, Renderer3D, ResizerScaler, type ResizerScalerProps, ResolvedEnvironment, Rgba, Rotate, type RotateProps, type RoundedBox3DOptions, SSAO, SSAOPipeline, type SSAOProps, Scene, type SceneDefinition, SceneDefinitionSchema, type SceneOptions, type SceneSequenceOptions, type SceneTransitionType, SceneTransitionTypeSchema, SectionNode, SectionOptions, SegmentationOptions, type SegmentationResult, SegmentationTexturePool, SelectiveColor, type SelectiveColorAdjustment, type SelectiveColorProps, type SelectorBasedOn, SelectorBasedOnSchema, type SelectorMode, SelectorModeSchema, type SelectorShape, SelectorShapeSchema, type SelectorUnits, SelectorUnitsSchema, Sequence, type SequenceEntry, type SequenceNode, type SequenceOptions, type SequenceTimelineResult, type SfxRenderContext, type SfxTrigger, ShadowPipeline, ShadowUniformInfo, ShadowsHighlights, type ShadowsHighlightsProps, type Shape3DContainer, type ShapeNode, ShapeNodeSchema, Signal, SignalBuilderConfig, SignalChannelMeta, SignalChannelMetaSchema, type SignalContext, SignalData, SignalDataSchema, SignalGateData, SignalGateDataSchema, SignalMathData, SignalMathDataSchema, SignalStats, SignalStatsSchema, type SignalTrackOptions, type SignalValue, type SineSignalOptions, SingleOutputGeneric, SingleOutputGenericSchema, type Skeleton3D, type SkewProperties, SkewPropertiesSchema, SlugFontCache, SlugPipeline, SmartFramingOptions, SourceOperationSchema, type Spatial3DProperties, Spatial3DPropertiesSchema, SpatialLandmarkTransformer, type Sphere3DOptions, SpringConfig, type SpringOptions, type SpringPhysics, SpringPhysicsSchema, StereoPanning, type StereoPanningProps, StorageService, StrokeRect, type StyleName, Styles, SubjectOutlineOptions, SubjectSandwichOptions, type Surface3DOptions, TEXT_LAYER_DEFAULTS, TemporalDeflicker, TemporalDeflickerPipeline, TemporalObjectTracker, TensorData, type TensorDimensions, type TensorFormat, type TensorNode, TensorPipeline, type TensorPipelineConfig, type TensorSource, type TensorViewExport, type Text3DOptions, type TextAnchorConfig, TextAnchorConfigSchema, TextAnimator, TextAnimatorBuilder, TextAnimatorSchema, type TextCursorConfig, TextCursorConfigSchema, type TextCursorStyle, TextCursorStyleSchema, TextMeasureResult, TextMeasureStyle, type TextMetrics, type TextNode, TextNodeSchema, TextOperationSchema, TextPathBuilder, type TextPathOptions, TextPathOptionsSchema, type TextPathSource, TextPathSourceSchema, type TextRangeSelector, TextRangeSelectorSchema, type TextScrambleConfig, TextScrambleConfigSchema, type TextSelector, TextSelectorSchema, type TextSignalSelector, TextSignalSelectorSchema, type TextSpan, type TextSpanItem, type TextSpanMark, TextSpanMarkSchema, TextSpanSchema, type TextWigglySelector, TextWigglySelectorSchema, TileOffset, type TileOffsetEdgeMode, type TileOffsetProps, TimelineSegmentSchema, TimelineTransform, TimelineTransformSchema, type ToneMapping, ToneMappingSchema, Toon, type ToonProps, TrackEditing, type TrackSource, type TrackedObject, TrackedRegionOptions, Trails, type TrailsProps, Transition, type TransitionDirection, TransitionSchema, type TransitionSpec, TransitionType, TransitionTypeSchema, type TypewriterAnimator, TypewriterAnimatorSchema, type TypingCadence, TypingCadenceSchema, UnsharpMask, type UnsharpMaskProps, type VariableFontAxes, VariableFontAxesSchema, type Vec2, Vec2Schema, Vec3, Vector3Math, VideoAnimation, VideoAnimationSchema, VideoLayerType, VideoLayerTypeSchema, type VideoQaOptions, type VideoQaReport, type VideoQaStats, VideoSpatialPropsSchema, VideoStylePropsSchema, VideoTextPropsSchema, VideoTimingPropsSchema, Vignette, type VignetteProps, VirtualMediaData, VirtualMediaDataSchema, Vision, type VisionAnalysisReport, VisionBundle, type VisionConfig, VisionNode, VisionNodeSpec, type VisionProps, VisionRunner, type VisionTask, type VisionVariant, type VolumetricFormationConfig, VolumetricFormationConfigSchema, type VolumetricFormationMode, VolumetricFormationModeSchema, type WiggleOptions, type World2DOptions, type World3DOptions, WritableSignal, XYPosition, accent, analyzeSequence, appendOperation, applyStaggerToChildren, bezier, blurRegion, bold, buildPathLUT, calculateSequenceTimeline, checkNodeResultCache, code, collectNodeOps, color, compositorToProgram, computeAnchorPivotOffset, computeCarrierContinuity, computeGridLayout, computeLayout, computeLayoutSync, computeLineLeadingDisplacement, computeRangeSelectorWeight, computeStaggerDelay, computeStrokeRect, computeVideoCropRenderProps, computed, cosineSignal, createOutputItemSchema, createVirtualMedia, dataTypeColors, describeGpu, deserializeSignalData, deterministicWigglyNoise, distanceToCurveParameter, editTrackedRegion, effectFactories, effectMeta, ellipseToCubicBeziers, encodeStereoWav, ensureDevice, evaluateAnimationAtFrame, evaluateCubicBezier, evaluateCubicBezierDerivative, evaluateExpressionSelector, evaluateMarqueeOffset, evaluateSelectorCombination, evaluateSkewMatrix, evaluateSpringProgress, evaluateTrackAtFrame, evaluateTypewriterState, evaluateVolumetricFormation, extractSvgDimensions, findSourceAsset, formatHex, formatQaReport, frameArraySignal, frameSignal, generateArcLengthLUT, generateId, generatePathSegments, getActiveMediaMetadata, getFileDataMetadata, getFingerprint, getLeafMediaType, getMediaType, getRenderFingerprint, getScramblePool, getShuffledOrder, gradientStopsToOklab, hasOnlySingleSource, hoistMattes, inputStore, interpolate, isCssGradient, isEqual, isSignal, isVirtualMediaData, italic, limitGradientStops, lintComposition, loadFBX, loadModel3D, loadOBJ, lutStore, mapBlendModeToSkia, mark, measureSpring, measureText, measureTextAsync, mergeAnimationTracks, mixAudioTracks, mixColors, mixSfxInto, normalizeColorStops, normalizeTextSpans, oklabToRgb, parseColorToRgb, parseCssColor, parseCssGradient, parseFBX, parseMTL, parseMarkup, parseOBJ, parseSvgPathToCubicBeziers, pinNodeToLandmark, pinNodeToObject, preloadCompositionFonts, preloadFont, programmaticSignal, progressSignal, registerSignalDependency, renderFrameGrid, renderSemaphore, renderSfx, reportRenderDiagnostic, requiresIsolation, resetRenderCaches, resolveBoolean, resolveEnvironment, resolveMediaMimeType, resolveNumber, resolveParam, resolveSamplePoints, resolveString, rgbToOklab, rich, sampleAudioSpectrumScale, sampleColorStops, sampleCurveGeometry, samplePathChainGeometry, section, serializeSignalData, shaderStore, signal, signalBuilder, signalRegistry, sineSignal, size, softLimit, span, spring, springCalculation, stampResult, startPreview, sub, sup, takeRenderDiagnostics, textureCache, timeSignal, updateClockSignals, waveToCubicBeziers };
|
|
3049
4421
|
//# sourceMappingURL=index.d.mts.map
|