@ignix-social/editor 0.1.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/LICENSE +190 -0
- package/NOTICE +54 -0
- package/README.md +23 -0
- package/bin/ignix-editor.mjs +8 -0
- package/package.json +53 -0
- package/patches/index.mjs +53 -0
- package/scripts/build-ffmpeg-macos.sh +35 -0
- package/scripts/build-whisper-macos.sh +21 -0
- package/scripts/vendor.mjs +41 -0
- package/skills/ignix-editor/SKILL.md +132 -0
- package/src/audio.mjs +31 -0
- package/src/binaries.json +46 -0
- package/src/binaries.mjs +83 -0
- package/src/cli.mjs +254 -0
- package/src/prepare.mjs +74 -0
- package/src/runtime/ignix-frame.js +92 -0
- package/src/transcribe.mjs +71 -0
- package/src/validate.mjs +71 -0
- package/templates/blank/index.html +41 -0
- package/vendor/hyperframes/README.md +181 -0
- package/vendor/hyperframes/UPSTREAM.json +12 -0
- package/vendor/hyperframes/bin/hyperframes-localize-fonts.mjs +12 -0
- package/vendor/hyperframes/bin/hyperframes.mjs +11 -0
- package/vendor/hyperframes/dist/add-LR3ZR2A5.js +79 -0
- package/vendor/hyperframes/dist/agentPromptGenerator-VIIPZCJ3.js +143 -0
- package/vendor/hyperframes/dist/animatedGifPrep-P2T6YM7Z.js +34 -0
- package/vendor/hyperframes/dist/asset-BE2DOV72.js +26 -0
- package/vendor/hyperframes/dist/assetCataloger-VBLPHX24.js +340 -0
- package/vendor/hyperframes/dist/auth-RCQB2ZT7.js +60 -0
- package/vendor/hyperframes/dist/autoUpdate-RJAX3DAZ.js +268 -0
- package/vendor/hyperframes/dist/backgroundChecks-H2LCUIMJ.js +61 -0
- package/vendor/hyperframes/dist/backgroundChecksWorker.js +26 -0
- package/vendor/hyperframes/dist/batchRender-FT7AP7XH.js +355 -0
- package/vendor/hyperframes/dist/beat-analyzer.global.js +338 -0
- package/vendor/hyperframes/dist/beats-Y2EOP72P.js +309 -0
- package/vendor/hyperframes/dist/benchmark-MZ7GY3JW.js +231 -0
- package/vendor/hyperframes/dist/browser-HUTAMRQE.js +237 -0
- package/vendor/hyperframes/dist/bundleWithLocalizedFonts-5QOPOB5D.js +52 -0
- package/vendor/hyperframes/dist/capture-RLZA6EMR.js +4079 -0
- package/vendor/hyperframes/dist/capture-SZZ4IYJK.js +290 -0
- package/vendor/hyperframes/dist/captureFile-LYOJOUIE.js +15 -0
- package/vendor/hyperframes/dist/captureTimeout-PA4FYWT5.js +27 -0
- package/vendor/hyperframes/dist/catalog-KYU55EWR.js +1001 -0
- package/vendor/hyperframes/dist/check-TCG4PXLR.js +1697 -0
- package/vendor/hyperframes/dist/checkBrowser-RPMO4OW5.js +1032 -0
- package/vendor/hyperframes/dist/chunk-2EAXUCCE.js +88 -0
- package/vendor/hyperframes/dist/chunk-2EGFTPWD.js +1077 -0
- package/vendor/hyperframes/dist/chunk-2PSPARWP.js +6058 -0
- package/vendor/hyperframes/dist/chunk-2YN64IN5.js +5747 -0
- package/vendor/hyperframes/dist/chunk-3GXQPCJC.js +682 -0
- package/vendor/hyperframes/dist/chunk-3ZP5DXE7.js +15 -0
- package/vendor/hyperframes/dist/chunk-4NWOGZZS.js +1990 -0
- package/vendor/hyperframes/dist/chunk-4PFZPP2N.js +587 -0
- package/vendor/hyperframes/dist/chunk-4THIAPBL.js +128 -0
- package/vendor/hyperframes/dist/chunk-4YYJOFKS.js +28 -0
- package/vendor/hyperframes/dist/chunk-54HJ63Q2.js +29 -0
- package/vendor/hyperframes/dist/chunk-5ETJX6WM.js +89 -0
- package/vendor/hyperframes/dist/chunk-5IAKAQA7.js +389 -0
- package/vendor/hyperframes/dist/chunk-5Z63TBTX.js +37 -0
- package/vendor/hyperframes/dist/chunk-6BEFEWFB.js +25 -0
- package/vendor/hyperframes/dist/chunk-6CSYCFQV.js +68 -0
- package/vendor/hyperframes/dist/chunk-6CTIGJY7.js +154 -0
- package/vendor/hyperframes/dist/chunk-7HG4BFIN.js +93 -0
- package/vendor/hyperframes/dist/chunk-7JZ4FXP2.js +118 -0
- package/vendor/hyperframes/dist/chunk-A2Z4Z4VL.js +2961 -0
- package/vendor/hyperframes/dist/chunk-AMKC3AXA.js +25 -0
- package/vendor/hyperframes/dist/chunk-AVUUN2XD.js +4847 -0
- package/vendor/hyperframes/dist/chunk-AWDFDFI3.js +46 -0
- package/vendor/hyperframes/dist/chunk-AWNBM3MZ.js +94 -0
- package/vendor/hyperframes/dist/chunk-BXCMXMJQ.js +73 -0
- package/vendor/hyperframes/dist/chunk-BZ56MTDX.js +6 -0
- package/vendor/hyperframes/dist/chunk-CFKU7HTK.js +171 -0
- package/vendor/hyperframes/dist/chunk-CWPVM2QV.js +308 -0
- package/vendor/hyperframes/dist/chunk-DPVXBVLL.js +31292 -0
- package/vendor/hyperframes/dist/chunk-DQBY7FRR.js +397 -0
- package/vendor/hyperframes/dist/chunk-E6RPWJVC.js +213 -0
- package/vendor/hyperframes/dist/chunk-EISRN4E6.js +294 -0
- package/vendor/hyperframes/dist/chunk-EOVYQ3IG.js +143 -0
- package/vendor/hyperframes/dist/chunk-F3WZGU7C.js +479 -0
- package/vendor/hyperframes/dist/chunk-FCSIGXXP.js +366 -0
- package/vendor/hyperframes/dist/chunk-FI4I7CME.js +56 -0
- package/vendor/hyperframes/dist/chunk-FLWXXDNS.js +15 -0
- package/vendor/hyperframes/dist/chunk-GK4AIFIH.js +11171 -0
- package/vendor/hyperframes/dist/chunk-GMECXFAN.js +57 -0
- package/vendor/hyperframes/dist/chunk-GULOKZLI.js +155 -0
- package/vendor/hyperframes/dist/chunk-H4YZZ2VQ.js +68 -0
- package/vendor/hyperframes/dist/chunk-H6QMKUYA.js +477 -0
- package/vendor/hyperframes/dist/chunk-HBBJFK6I.js +273 -0
- package/vendor/hyperframes/dist/chunk-HRUGC23L.js +212 -0
- package/vendor/hyperframes/dist/chunk-HVW7ABXD.js +19 -0
- package/vendor/hyperframes/dist/chunk-HW6OYASV.js +344 -0
- package/vendor/hyperframes/dist/chunk-HWKCIWQT.js +3578 -0
- package/vendor/hyperframes/dist/chunk-I465DBM6.js +1214 -0
- package/vendor/hyperframes/dist/chunk-IGLEPPTN.js +24 -0
- package/vendor/hyperframes/dist/chunk-IGNAAHS3.js +433 -0
- package/vendor/hyperframes/dist/chunk-IHFUKJOR.js +85 -0
- package/vendor/hyperframes/dist/chunk-IQ3OUQ5Z.js +213 -0
- package/vendor/hyperframes/dist/chunk-ISN5GRYI.js +20 -0
- package/vendor/hyperframes/dist/chunk-IUZFXWSV.js +446 -0
- package/vendor/hyperframes/dist/chunk-JH556Q42.js +647 -0
- package/vendor/hyperframes/dist/chunk-JTHMTOMQ.js +601 -0
- package/vendor/hyperframes/dist/chunk-K2EQN4VU.js +405 -0
- package/vendor/hyperframes/dist/chunk-K2FTXJYH.js +16044 -0
- package/vendor/hyperframes/dist/chunk-K4WIOZFP.js +32 -0
- package/vendor/hyperframes/dist/chunk-K4WKGXRC.js +18 -0
- package/vendor/hyperframes/dist/chunk-KBJUXVOJ.js +172 -0
- package/vendor/hyperframes/dist/chunk-KC5XXX3X.js +590 -0
- package/vendor/hyperframes/dist/chunk-KNU5COPB.js +29 -0
- package/vendor/hyperframes/dist/chunk-KZI44OPA.js +185 -0
- package/vendor/hyperframes/dist/chunk-L3YOGIPG.js +48 -0
- package/vendor/hyperframes/dist/chunk-LAOCA3MQ.js +189 -0
- package/vendor/hyperframes/dist/chunk-LCSMOLGX.js +312 -0
- package/vendor/hyperframes/dist/chunk-LFGJWOVA.js +61 -0
- package/vendor/hyperframes/dist/chunk-LHSR3M4M.js +498 -0
- package/vendor/hyperframes/dist/chunk-LYNI3FOL.js +123 -0
- package/vendor/hyperframes/dist/chunk-M2WBOQ2Q.js +54 -0
- package/vendor/hyperframes/dist/chunk-MRF4AMKD.js +104 -0
- package/vendor/hyperframes/dist/chunk-MWB3ZIFM.js +852 -0
- package/vendor/hyperframes/dist/chunk-NGKM64BP.js +39 -0
- package/vendor/hyperframes/dist/chunk-NXMYHJAL.js +43 -0
- package/vendor/hyperframes/dist/chunk-OAF4XJOW.js +192 -0
- package/vendor/hyperframes/dist/chunk-OFQWTKPW.js +117 -0
- package/vendor/hyperframes/dist/chunk-P6LJ4Y32.js +4662 -0
- package/vendor/hyperframes/dist/chunk-PBN6GBJE.js +108 -0
- package/vendor/hyperframes/dist/chunk-PDAMK4Q5.js +28 -0
- package/vendor/hyperframes/dist/chunk-PFCFR3KZ.js +20 -0
- package/vendor/hyperframes/dist/chunk-PJ3HDUCY.js +108 -0
- package/vendor/hyperframes/dist/chunk-PMRBLBUP.js +152 -0
- package/vendor/hyperframes/dist/chunk-PPQUYWTW.js +240 -0
- package/vendor/hyperframes/dist/chunk-Q5X2B5WT.js +29 -0
- package/vendor/hyperframes/dist/chunk-Q7IU7MOR.js +351 -0
- package/vendor/hyperframes/dist/chunk-QC4FJVLM.js +371 -0
- package/vendor/hyperframes/dist/chunk-QNYYOUU3.js +1318 -0
- package/vendor/hyperframes/dist/chunk-RDNNAKEP.js +161 -0
- package/vendor/hyperframes/dist/chunk-RMHUQGRK.js +657 -0
- package/vendor/hyperframes/dist/chunk-RQVDTPGD.js +6 -0
- package/vendor/hyperframes/dist/chunk-RVCWIIZ7.js +68 -0
- package/vendor/hyperframes/dist/chunk-S3D6GE5W.js +72 -0
- package/vendor/hyperframes/dist/chunk-S3S4TGEH.js +424 -0
- package/vendor/hyperframes/dist/chunk-S7NPLFWV.js +11395 -0
- package/vendor/hyperframes/dist/chunk-SHB5VDMH.js +51 -0
- package/vendor/hyperframes/dist/chunk-TCLGPL65.js +860 -0
- package/vendor/hyperframes/dist/chunk-THXFSPLV.js +40 -0
- package/vendor/hyperframes/dist/chunk-TJSTGSAW.js +354 -0
- package/vendor/hyperframes/dist/chunk-TQFG7HTI.js +1024 -0
- package/vendor/hyperframes/dist/chunk-TVCRUG2S.js +265 -0
- package/vendor/hyperframes/dist/chunk-TWWSYAKJ.js +24 -0
- package/vendor/hyperframes/dist/chunk-U7CZBDMV.js +27 -0
- package/vendor/hyperframes/dist/chunk-UEZXMWG3.js +139 -0
- package/vendor/hyperframes/dist/chunk-UYEZTK4U.js +61 -0
- package/vendor/hyperframes/dist/chunk-VC76R6W2.js +27 -0
- package/vendor/hyperframes/dist/chunk-VFCKXTBB.js +159 -0
- package/vendor/hyperframes/dist/chunk-VWG7OQKU.js +22 -0
- package/vendor/hyperframes/dist/chunk-VXVRPIJA.js +105 -0
- package/vendor/hyperframes/dist/chunk-WBLXWOYK.js +15 -0
- package/vendor/hyperframes/dist/chunk-WERLJGIC.js +20 -0
- package/vendor/hyperframes/dist/chunk-WMQNIQDJ.js +2057 -0
- package/vendor/hyperframes/dist/chunk-WPHMNO44.js +4528 -0
- package/vendor/hyperframes/dist/chunk-X5HWXQPU.js +113 -0
- package/vendor/hyperframes/dist/chunk-X7MTZ4T2.js +6 -0
- package/vendor/hyperframes/dist/chunk-XH4DSOS5.js +59 -0
- package/vendor/hyperframes/dist/chunk-XS4EJSKU.js +23 -0
- package/vendor/hyperframes/dist/chunk-XT5P4QMO.js +181 -0
- package/vendor/hyperframes/dist/chunk-XT7X6QCP.js +6 -0
- package/vendor/hyperframes/dist/chunk-XUHOIDKG.js +6 -0
- package/vendor/hyperframes/dist/chunk-XUXGIA7H.js +485 -0
- package/vendor/hyperframes/dist/chunk-XZABUQTX.js +113 -0
- package/vendor/hyperframes/dist/chunk-Y6W4DVPS.js +356 -0
- package/vendor/hyperframes/dist/chunk-YEIFI443.js +44 -0
- package/vendor/hyperframes/dist/chunk-YQZNILVH.js +375 -0
- package/vendor/hyperframes/dist/chunk-Z27A7NUB.js +65 -0
- package/vendor/hyperframes/dist/chunk-Z6B37SNM.js +3081 -0
- package/vendor/hyperframes/dist/chunk-ZJUKFZ2P.js +10954 -0
- package/vendor/hyperframes/dist/chunk-ZKDMAOFU.js +32 -0
- package/vendor/hyperframes/dist/chunk-ZMXUQLI2.js +17219 -0
- package/vendor/hyperframes/dist/chunk-ZTZ7NCJT.js +58 -0
- package/vendor/hyperframes/dist/chunk-ZTZA4UWZ.js +108 -0
- package/vendor/hyperframes/dist/clean-W57E5YQ3.js +293 -0
- package/vendor/hyperframes/dist/cli.js +495 -0
- package/vendor/hyperframes/dist/cloud-FFTJGZ24.js +70 -0
- package/vendor/hyperframes/dist/cloudrun-AJUTHUEA.js +763 -0
- package/vendor/hyperframes/dist/colors-HKWSZCGK.js +15 -0
- package/vendor/hyperframes/dist/commands/contrast-audit.browser.js +459 -0
- package/vendor/hyperframes/dist/commands/layout-audit.browser.js +2102 -0
- package/vendor/hyperframes/dist/commands/motion-sample.browser.js +74 -0
- package/vendor/hyperframes/dist/commands/motion-signature.browser.js +374 -0
- package/vendor/hyperframes/dist/compare-AYCTT55F.js +421 -0
- package/vendor/hyperframes/dist/compiler-QO36EXLS.js +121 -0
- package/vendor/hyperframes/dist/component-VFFR2O7T.js +176 -0
- package/vendor/hyperframes/dist/compositions-QTVN3U2A.js +228 -0
- package/vendor/hyperframes/dist/contactSheet-27SRU7A4.js +22 -0
- package/vendor/hyperframes/dist/delete-ZAKYCB7I.js +114 -0
- package/vendor/hyperframes/dist/deploy-MX76RZ36.js +101 -0
- package/vendor/hyperframes/dist/destroy-H2TZBYHH.js +42 -0
- package/vendor/hyperframes/dist/deterministicFonts-HAEMV4TM.js +50 -0
- package/vendor/hyperframes/dist/dist-EWXJGN63.js +129 -0
- package/vendor/hyperframes/dist/dist-FNNGCKFS.js +29 -0
- package/vendor/hyperframes/dist/dist-S3PJNPXQ.js +392 -0
- package/vendor/hyperframes/dist/docker/Dockerfile.render +65 -0
- package/vendor/hyperframes/dist/docs/compositions.md +67 -0
- package/vendor/hyperframes/dist/docs/data-attributes.md +27 -0
- package/vendor/hyperframes/dist/docs/examples.md +19 -0
- package/vendor/hyperframes/dist/docs/gsap.md +26 -0
- package/vendor/hyperframes/dist/docs/rendering.md +35 -0
- package/vendor/hyperframes/dist/docs/troubleshooting.md +29 -0
- package/vendor/hyperframes/dist/docs-QAPJEGLS.js +131 -0
- package/vendor/hyperframes/dist/doctor-AI7C3FON.js +67 -0
- package/vendor/hyperframes/dist/dom-IROKGVJI.js +14 -0
- package/vendor/hyperframes/dist/dotEnv-AECLXQSO.js +14 -0
- package/vendor/hyperframes/dist/events-7LALYNKZ.js +92 -0
- package/vendor/hyperframes/dist/events-FQY3HGKZ.js +88 -0
- package/vendor/hyperframes/dist/feedback-WCMDMSTK.js +472 -0
- package/vendor/hyperframes/dist/ffmpeg-QIUFEFTY.js +35 -0
- package/vendor/hyperframes/dist/figma-64WY462P.js +63 -0
- package/vendor/hyperframes/dist/fontData.generated-NXAOI4GH.js +13 -0
- package/vendor/hyperframes/dist/fontLocalizeCli.js +132 -0
- package/vendor/hyperframes/dist/get-FPOMJMZB.js +103 -0
- package/vendor/hyperframes/dist/gpuPolicy-2ZUZE5D6.js +38 -0
- package/vendor/hyperframes/dist/grade-compare-E2CKPST4.js +647 -0
- package/vendor/hyperframes/dist/gsapParser-DIYYX6JT.js +2846 -0
- package/vendor/hyperframes/dist/gsapParserAcorn-E3GEIRZB.js +28 -0
- package/vendor/hyperframes/dist/help-YRQIDDML.js +197 -0
- package/vendor/hyperframes/dist/history-PP5NDRV3.js +571 -0
- package/vendor/hyperframes/dist/hyperframe-runtime.js +1081 -0
- package/vendor/hyperframes/dist/hyperframe.manifest.json +22 -0
- package/vendor/hyperframes/dist/hyperframe.runtime.iife.js +1081 -0
- package/vendor/hyperframes/dist/hyperframes-player.global.js +474 -0
- package/vendor/hyperframes/dist/hyperframes-slideshow.global.js +149 -0
- package/vendor/hyperframes/dist/info-SEX3B7JL.js +153 -0
- package/vendor/hyperframes/dist/init-U3AKHO5B.js +1147 -0
- package/vendor/hyperframes/dist/inspect-Q3K6EDEK.js +97 -0
- package/vendor/hyperframes/dist/installer-K6O5WF44.js +37 -0
- package/vendor/hyperframes/dist/keyframes-DC64JCI3.js +2602 -0
- package/vendor/hyperframes/dist/lambda-D7UMN4DJ.js +451 -0
- package/vendor/hyperframes/dist/layout-XSPPDHOO.js +86 -0
- package/vendor/hyperframes/dist/lib-TPG2ZMAX.js +128 -0
- package/vendor/hyperframes/dist/lint-7DQZE7L3.js +164 -0
- package/vendor/hyperframes/dist/lintProject-OHBBM3DJ.js +27 -0
- package/vendor/hyperframes/dist/list-4K5MVDQX.js +162 -0
- package/vendor/hyperframes/dist/login-NTX4OWXL.js +377 -0
- package/vendor/hyperframes/dist/logout-Q654A3SI.js +100 -0
- package/vendor/hyperframes/dist/manager-67P2XFXQ.js +34 -0
- package/vendor/hyperframes/dist/manager-CT3D67CG.js +38 -0
- package/vendor/hyperframes/dist/manager-GFN75DM4.js +30 -0
- package/vendor/hyperframes/dist/media-treatment-5FYAOPNL.js +972 -0
- package/vendor/hyperframes/dist/media-use-4XXGABIL.js +113 -0
- package/vendor/hyperframes/dist/models-C4E4IWJD.js +137 -0
- package/vendor/hyperframes/dist/motionShot-S4MIGMT5.js +614 -0
- package/vendor/hyperframes/dist/normalize-O76AC4HE.js +333 -0
- package/vendor/hyperframes/dist/normalize-audio-CSFTXLXD.js +276 -0
- package/vendor/hyperframes/dist/open-2ZD6BHZG.js +115 -0
- package/vendor/hyperframes/dist/pipeline-TNGWUZQC.js +54 -0
- package/vendor/hyperframes/dist/play-CTMUXX6E.js +349 -0
- package/vendor/hyperframes/dist/policies-FSDZVS2E.js +292 -0
- package/vendor/hyperframes/dist/preflight-SMNV6RW2.js +45 -0
- package/vendor/hyperframes/dist/present-WQVHV5CR.js +350 -0
- package/vendor/hyperframes/dist/preview-JOJXTH75.js +1820 -0
- package/vendor/hyperframes/dist/producer-ECLEN5RP.js +13 -0
- package/vendor/hyperframes/dist/progress-FBIEEB7Y.js +73 -0
- package/vendor/hyperframes/dist/projectConfig-HYJMJ5BY.js +56 -0
- package/vendor/hyperframes/dist/publication-HQ5Y3KBM.js +29 -0
- package/vendor/hyperframes/dist/publish-VHDYQASC.js +430 -0
- package/vendor/hyperframes/dist/refresh-K24ETHMA.js +53 -0
- package/vendor/hyperframes/dist/remove-background-W2YX2NVH.js +253 -0
- package/vendor/hyperframes/dist/render-AO5VX3YI.js +177 -0
- package/vendor/hyperframes/dist/render-LNO62LEL.js +2367 -0
- package/vendor/hyperframes/dist/render-TTQI7TGN.js +796 -0
- package/vendor/hyperframes/dist/render-batch-YH7CTWNY.js +284 -0
- package/vendor/hyperframes/dist/renderCancellation-JPIHE47X.js +35 -0
- package/vendor/hyperframes/dist/renderSetupWorker.js +79 -0
- package/vendor/hyperframes/dist/resolver-IZ647GBZ.js +38 -0
- package/vendor/hyperframes/dist/runtimeVersion.js +18 -0
- package/vendor/hyperframes/dist/screenshotCapture-ECBTLCU6.js +179 -0
- package/vendor/hyperframes/dist/shaderTransitionWorker.js +44 -0
- package/vendor/hyperframes/dist/sherpa-KKLNW6U2.js +314 -0
- package/vendor/hyperframes/dist/sherpaWorker.js +77 -0
- package/vendor/hyperframes/dist/sites-TNVKZS73.js +52 -0
- package/vendor/hyperframes/dist/skill-ZHVLH7KX.js +15 -0
- package/vendor/hyperframes/dist/skills/hyperframes/SKILL.md +152 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/brief-contract.md +108 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/brief-format.md +72 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/capability-menu.md +47 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/frame-worker-core.md +80 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/intent-interview.md +73 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/pitch-round.md +40 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/plugin-installation.md +43 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/production-loop.md +26 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/review-loop.md +37 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/route-briefs.md +11 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/routes/embedded-captions.md +11 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/routes/faceless-explainer.md +12 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/routes/general-video.md +12 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/routes/motion-graphics.md +11 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/routes/music-to-video.md +12 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/routes/pr-to-video.md +28 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/routes/product-launch-video.md +13 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/routes/remotion-to-hyperframes.md +9 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/routes/slideshow.md +11 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/routes/talking-head-recut.md +11 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/script-format.md +52 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/skill-lifecycle.md +35 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/storyboard-format.md +99 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/subagent-dispatch.md +35 -0
- package/vendor/hyperframes/dist/skills/hyperframes/references/workflow-catalog.md +10 -0
- package/vendor/hyperframes/dist/skills/hyperframes/scripts/lib/frame-packets-core.mjs +194 -0
- package/vendor/hyperframes/dist/skills/hyperframes/scripts/plugin-cli.mjs +88 -0
- package/vendor/hyperframes/dist/skills/hyperframes/scripts/plugin-cli.test.mjs +117 -0
- package/vendor/hyperframes/dist/skills/hyperframes-cli/SKILL.md +189 -0
- package/vendor/hyperframes/dist/skills/hyperframes-cli/references/beats.md +19 -0
- package/vendor/hyperframes/dist/skills/hyperframes-cli/references/cloud.md +163 -0
- package/vendor/hyperframes/dist/skills/hyperframes-cli/references/cloudrun.md +62 -0
- package/vendor/hyperframes/dist/skills/hyperframes-cli/references/compare-and-batch.md +105 -0
- package/vendor/hyperframes/dist/skills/hyperframes-cli/references/doctor-browser.md +57 -0
- package/vendor/hyperframes/dist/skills/hyperframes-cli/references/init-and-scaffold.md +74 -0
- package/vendor/hyperframes/dist/skills/hyperframes-cli/references/lambda.md +185 -0
- package/vendor/hyperframes/dist/skills/hyperframes-cli/references/lint-validate-inspect.md +132 -0
- package/vendor/hyperframes/dist/skills/hyperframes-cli/references/preview-render.md +193 -0
- package/vendor/hyperframes/dist/skills/hyperframes-cli/references/upgrade-info-misc.md +134 -0
- package/vendor/hyperframes/dist/skills/media-use/SKILL.md +100 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/CREDITS.md +35 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/chime.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/click-soft.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/click.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/error.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/glitch-1.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/glitch-2.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/glitch-3.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/impact-bass-1.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/impact-bass-2.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/key-press.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/manifest.json +97 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/notification.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/ping.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/pop.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/riser.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/sparkle.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/typing.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/whoosh-cinematic.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/whoosh-short.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/assets/sfx/whoosh.mp3 +0 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/references/bgm.md +76 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/references/captions/authoring.md +163 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/references/captions/motion.md +87 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/references/captions/transcript-handling.md +97 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/references/remove-background.md +143 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/references/requirements.md +29 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/references/sfx.md +42 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/references/transcribe.md +52 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/references/tts-to-captions.md +35 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/references/tts.md +260 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/audio.mjs +311 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/audio.test.mjs +159 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/gemini-pipeline.test.mjs +131 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/heygen-tts.mjs +122 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/heygen-tts.test.mjs +38 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/heygen-voice.mjs +98 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/heygen-voice.test.mjs +233 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/audio-meta.mjs +39 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/audio-meta.test.mjs +136 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/bgm-volume.mjs +4 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/bgm.mjs +257 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/bgm.test.mjs +74 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/concurrency.mjs +14 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/concurrency.test.mjs +41 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/gemini-auth.mjs +43 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/gemini-auth.py +52 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/gemini-auth.test.mjs +86 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/gemini-auth_test.py +90 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/gemini-tts.mjs +122 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/gemini-tts.test.mjs +243 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/heygen.mjs +197 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +185 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/media-record.mjs +114 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/media-record.test.mjs +205 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/python.mjs +77 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/python.test.mjs +136 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/sfx.mjs +165 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/sfx.test.mjs +121 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/tts.mjs +389 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/tts.spawn.test.mjs +158 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +230 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/lyria-recipe.py +136 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/wait-bgm.mjs +175 -0
- package/vendor/hyperframes/dist/skills/media-use/audio/scripts/wait-bgm.test.mjs +108 -0
- package/vendor/hyperframes/dist/skills/media-use/luts/README.md +28 -0
- package/vendor/hyperframes/dist/skills/media-use/luts/index.json +57 -0
- package/vendor/hyperframes/dist/skills/media-use/references/audio.md +20 -0
- package/vendor/hyperframes/dist/skills/media-use/references/grading.md +160 -0
- package/vendor/hyperframes/dist/skills/media-use/references/media-treatment-recipes.md +929 -0
- package/vendor/hyperframes/dist/skills/media-use/references/media-treatments.md +202 -0
- package/vendor/hyperframes/dist/skills/media-use/references/memory.md +37 -0
- package/vendor/hyperframes/dist/skills/media-use/references/meta.md +61 -0
- package/vendor/hyperframes/dist/skills/media-use/references/operations.md +327 -0
- package/vendor/hyperframes/dist/skills/media-use/references/resolve.md +150 -0
- package/vendor/hyperframes/dist/skills/media-use/references/setup-providers.md +80 -0
- package/vendor/hyperframes/dist/skills/media-use/references/telemetry-dashboard.md +49 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/audio-duck.mjs +113 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/compatibility.test.mjs +96 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/dither.mjs +328 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/dither.test.mjs +176 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/eval.mjs +369 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/adopt.mjs +128 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/adopt.test.mjs +95 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/bgm-provider.mjs +20 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/brand-provider.mjs +59 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/bundled-sfx-provider.mjs +119 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/bundled-sfx-provider.test.mjs +139 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/cache.mjs +148 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/candidates.mjs +91 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/candidates.test.mjs +155 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/codex-provider.mjs +161 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/codex-provider.test.mjs +34 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/config-lock.d.mts +3 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/config-lock.mjs +45 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/config-lock.test.mjs +79 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/coverage.test.mjs +136 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/cube-build.mjs +181 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/cube-build.test.mjs +80 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/cube-validate.mjs +198 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/cube-validate.test.mjs +125 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/cutlist.mjs +184 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/cutlist.test.mjs +162 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/duck.mjs +95 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/duck.test.mjs +153 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/error-diffusion.mjs +230 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/error-diffusion.test.mjs +102 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/ff-binaries.mjs +37 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/freeze.mjs +72 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/freeze.test.mjs +138 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/grade-analyzer.mjs +265 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/grade-analyzer.test.mjs +285 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/heygen-cli.mjs +191 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/heygen-cli.test.mjs +301 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/heygen-search.mjs +45 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/heygen-search.test.mjs +49 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/heygen-video-provider.mjs +138 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/heygen-video-provider.test.mjs +435 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/image-provider.mjs +44 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/index-gen.mjs +63 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/local-media-search.mjs +32 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/local-models.mjs +318 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/local-models.test.mjs +220 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/local-run.mjs +78 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/local-run.test.mjs +121 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/logo-provider.mjs +244 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/logo-provider.test.mjs +298 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/ltx-video-provider.mjs +94 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/ltx-video-provider.test.mjs +316 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/lut-preset-provider.mjs +271 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/lut-preset-provider.test.mjs +199 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/manifest.d.mts +19 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/manifest.mjs +279 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/manifest.test.mjs +397 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/match.mjs +47 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/media-fetch.mjs +85 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/media-fetch.test.mjs +197 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/media-home.mjs +20 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/media-home.test.mjs +61 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/media-search.d.mts +9 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/media-search.mjs +107 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/mflux-provider.mjs +128 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/mflux-provider.test.mjs +174 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/misses.mjs +49 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/misses.test.mjs +89 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/npx-sync.mjs +31 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/npx-sync.test.mjs +50 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/parakeet-words.mjs +27 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/parakeet-words.test.mjs +44 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/prefs-store.mjs +180 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/prefs-store.test.mjs +189 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/probe.mjs +41 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/probe.test.mjs +148 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/providers.mjs +5 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/recipe-store.mjs +367 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/recipe-store.test.mjs +367 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/registry.mjs +212 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/registry.test.mjs +262 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/search.mjs +24 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/search.test.mjs +32 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/sfx-provider.mjs +23 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/specs.mjs +132 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/specs.test.mjs +157 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/stats.mjs +117 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/stats.test.mjs +165 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/svg-sanitize.mjs +21 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/telemetry.mjs +210 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/telemetry.test.mjs +437 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/test-home.test.mjs +10 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/transcriptCutFade.mjs +21 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/transcriptCutFade.test.mjs +33 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/tts-local-provider.mjs +94 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/tts-local-provider.test.mjs +72 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/usage.mjs +57 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/usage.test.mjs +54 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/voice-provider.mjs +57 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/voice-provider.test.mjs +46 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/lib/words.mjs +18 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/prefs.mjs +70 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/recipe.mjs +103 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/resolve-plugin.test.mjs +62 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/resolve.mjs +1369 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/transcribe.mjs +194 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/transcribe.test.mjs +112 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/transcript-cut.mjs +270 -0
- package/vendor/hyperframes/dist/skills/media-use/scripts/transcript-cut.test.mjs +117 -0
- package/vendor/hyperframes/dist/skills-MJ2J4GEM.js +808 -0
- package/vendor/hyperframes/dist/skillsUpdateCheck-TKTYQN5R.js +26 -0
- package/vendor/hyperframes/dist/slideshow-EJ4IMY6P.js +24 -0
- package/vendor/hyperframes/dist/snapshot-KIVDUUMN.js +875 -0
- package/vendor/hyperframes/dist/src-6YQBJGWR.js +202 -0
- package/vendor/hyperframes/dist/src-PVYUYV3M.js +471 -0
- package/vendor/hyperframes/dist/state-KAXGHF77.js +26 -0
- package/vendor/hyperframes/dist/staticProjectServer-7EU666GS.js +49 -0
- package/vendor/hyperframes/dist/status-YM52BQ6S.js +311 -0
- package/vendor/hyperframes/dist/studio/assets/hyperframes-player-Cp8e_Zst.js +473 -0
- package/vendor/hyperframes/dist/studio/assets/index-BX3KHhGX.js +71 -0
- package/vendor/hyperframes/dist/studio/assets/index-CASEBNy2.js +1 -0
- package/vendor/hyperframes/dist/studio/assets/index-D11atkBt.css +1 -0
- package/vendor/hyperframes/dist/studio/assets/index-DMTt9nTf.js +531 -0
- package/vendor/hyperframes/dist/studio/assets/index-oE1pOdAy.js +399 -0
- package/vendor/hyperframes/dist/studio/chunk-5VSXRGIX.js +948 -0
- package/vendor/hyperframes/dist/studio/chunk-5VSXRGIX.js.map +1 -0
- package/vendor/hyperframes/dist/studio/chunk-7UQWVN52.js +938 -0
- package/vendor/hyperframes/dist/studio/chunk-7UQWVN52.js.map +1 -0
- package/vendor/hyperframes/dist/studio/chunk-EEXSYY5F.js +190 -0
- package/vendor/hyperframes/dist/studio/chunk-EEXSYY5F.js.map +1 -0
- package/vendor/hyperframes/dist/studio/chunk-FOEID72M.js +1441 -0
- package/vendor/hyperframes/dist/studio/chunk-FOEID72M.js.map +1 -0
- package/vendor/hyperframes/dist/studio/chunk-PZ5AY32C.js +10 -0
- package/vendor/hyperframes/dist/studio/chunk-PZ5AY32C.js.map +1 -0
- package/vendor/hyperframes/dist/studio/chunk-TDWGXBUT.js +1103 -0
- package/vendor/hyperframes/dist/studio/chunk-TDWGXBUT.js.map +1 -0
- package/vendor/hyperframes/dist/studio/domEditingLayers-IEVLO54Z.js +47 -0
- package/vendor/hyperframes/dist/studio/domEditingLayers-IEVLO54Z.js.map +1 -0
- package/vendor/hyperframes/dist/studio/favicon.svg +14 -0
- package/vendor/hyperframes/dist/studio/icons/timeline/audio.svg +7 -0
- package/vendor/hyperframes/dist/studio/icons/timeline/captions.svg +5 -0
- package/vendor/hyperframes/dist/studio/icons/timeline/composition.svg +12 -0
- package/vendor/hyperframes/dist/studio/icons/timeline/image.svg +18 -0
- package/vendor/hyperframes/dist/studio/icons/timeline/music.svg +10 -0
- package/vendor/hyperframes/dist/studio/icons/timeline/text.svg +3 -0
- package/vendor/hyperframes/dist/studio/index.css +165 -0
- package/vendor/hyperframes/dist/studio/index.css.map +1 -0
- package/vendor/hyperframes/dist/studio/index.d.ts +4296 -0
- package/vendor/hyperframes/dist/studio/index.html +23 -0
- package/vendor/hyperframes/dist/studio/index.js +99693 -0
- package/vendor/hyperframes/dist/studio/index.js.map +1 -0
- package/vendor/hyperframes/dist/studio/player.d.ts +30 -0
- package/vendor/hyperframes/dist/studio/player.js +10 -0
- package/vendor/hyperframes/dist/studio/player.js.map +1 -0
- package/vendor/hyperframes/dist/studio/styles/tailwind-preset.d.ts +39 -0
- package/vendor/hyperframes/dist/studio/styles/tailwind-preset.js +50 -0
- package/vendor/hyperframes/dist/studio/styles/tailwind-preset.js.map +1 -0
- package/vendor/hyperframes/dist/studio/styles.css +1 -0
- package/vendor/hyperframes/dist/studio/ui.d.ts +296 -0
- package/vendor/hyperframes/dist/studio/ui.js +66 -0
- package/vendor/hyperframes/dist/studio/ui.js.map +1 -0
- package/vendor/hyperframes/dist/studio-api-PNQZRPX5.js +136 -0
- package/vendor/hyperframes/dist/studioSelectionClient-IUUPKUHZ.js +25 -0
- package/vendor/hyperframes/dist/studioServer-UWRBPIOJ.js +1457 -0
- package/vendor/hyperframes/dist/synthesize-K62TIZWI.js +182 -0
- package/vendor/hyperframes/dist/system-EZYZNUFD.js +44 -0
- package/vendor/hyperframes/dist/telemetry-2YC4SGQU.js +144 -0
- package/vendor/hyperframes/dist/telemetry-QMYM4WME.js +95 -0
- package/vendor/hyperframes/dist/templates/_shared/AGENTS.md +107 -0
- package/vendor/hyperframes/dist/templates/_shared/CLAUDE.md +107 -0
- package/vendor/hyperframes/dist/templates/blank/index.html +55 -0
- package/vendor/hyperframes/dist/templates/from-file/index.html +75 -0
- package/vendor/hyperframes/dist/templates/warm-grain/compositions/captions.html +154 -0
- package/vendor/hyperframes/dist/templates/warm-grain/compositions/graphics.html +162 -0
- package/vendor/hyperframes/dist/templates/warm-grain/compositions/intro.html +87 -0
- package/vendor/hyperframes/dist/templates/warm-grain/index.html +264 -0
- package/vendor/hyperframes/dist/templates/warm-grain/registry-item.json +34 -0
- package/vendor/hyperframes/dist/timeline-77Z3BBQM.js +1377 -0
- package/vendor/hyperframes/dist/tokens-OBGTYE4Z.js +92 -0
- package/vendor/hyperframes/dist/transcribe-7NVFHCGA.js +387 -0
- package/vendor/hyperframes/dist/transcribe-BNSJRR4M.js +62 -0
- package/vendor/hyperframes/dist/tts-P3LIPIL5.js +234 -0
- package/vendor/hyperframes/dist/updateCheck-UDWIJ4ZQ.js +39 -0
- package/vendor/hyperframes/dist/upgrade-CT3CPO3E.js +231 -0
- package/vendor/hyperframes/dist/urlDownloader-H6WRI2UE.js +39 -0
- package/vendor/hyperframes/dist/usage-EC3KFUIJ.js +2139 -0
- package/vendor/hyperframes/dist/validate-65QDZJWZ.js +70 -0
- package/vendor/hyperframes/dist/video-FGSGKRSV.js +261 -0
- package/vendor/hyperframes/dist/workspaceBuildCheck-TOLGAI4T.js +133 -0
- package/vendor/hyperframes/package.json +80 -0
|
@@ -0,0 +1,682 @@
|
|
|
1
|
+
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
+
var require = __hf_createRequire(import.meta.url);
|
|
5
|
+
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
|
|
8
|
+
// ../engine/src/utils/shaderTransitions.ts
|
|
9
|
+
var PQ_M1 = 0.1593017578125;
|
|
10
|
+
var PQ_M2 = 78.84375;
|
|
11
|
+
var PQ_C1 = 0.8359375;
|
|
12
|
+
var PQ_C2 = 18.8515625;
|
|
13
|
+
var PQ_C3 = 18.6875;
|
|
14
|
+
function pqEotf(signal) {
|
|
15
|
+
const sp = Math.pow(Math.max(0, signal), 1 / PQ_M2);
|
|
16
|
+
const num = Math.max(sp - PQ_C1, 0);
|
|
17
|
+
const den = PQ_C2 - PQ_C3 * sp;
|
|
18
|
+
return den > 0 ? Math.pow(num / den, 1 / PQ_M1) : 0;
|
|
19
|
+
}
|
|
20
|
+
function pqOetf(linear) {
|
|
21
|
+
const lp = Math.pow(Math.max(0, linear), PQ_M1);
|
|
22
|
+
return Math.pow((PQ_C1 + PQ_C2 * lp) / (1 + PQ_C3 * lp), PQ_M2);
|
|
23
|
+
}
|
|
24
|
+
function hlgEotf(signal) {
|
|
25
|
+
const a = 0.17883277;
|
|
26
|
+
const b = 1 - 4 * a;
|
|
27
|
+
const c = 0.5 - a * Math.log(4 * a);
|
|
28
|
+
if (signal <= 0.5) {
|
|
29
|
+
return signal * signal / 3;
|
|
30
|
+
}
|
|
31
|
+
return (Math.exp((signal - c) / a) + b) / 12;
|
|
32
|
+
}
|
|
33
|
+
function hlgOetf(linear) {
|
|
34
|
+
const a = 0.17883277;
|
|
35
|
+
const b = 1 - 4 * a;
|
|
36
|
+
const c = 0.5 - a * Math.log(4 * a);
|
|
37
|
+
if (linear <= 1 / 12) {
|
|
38
|
+
return Math.sqrt(3 * linear);
|
|
39
|
+
}
|
|
40
|
+
return a * Math.log(12 * linear - b) + c;
|
|
41
|
+
}
|
|
42
|
+
function buildLut(fn) {
|
|
43
|
+
const lut = new Uint16Array(65536);
|
|
44
|
+
for (let i = 0; i < 65536; i++) {
|
|
45
|
+
lut[i] = Math.round(fn(i / 65535) * 65535);
|
|
46
|
+
}
|
|
47
|
+
return lut;
|
|
48
|
+
}
|
|
49
|
+
var pqToLinearLut = null;
|
|
50
|
+
var linearToPqLut = null;
|
|
51
|
+
var hlgToLinearLut = null;
|
|
52
|
+
var linearToHlgLut = null;
|
|
53
|
+
function getPqToLinearLut() {
|
|
54
|
+
if (!pqToLinearLut) pqToLinearLut = buildLut(pqEotf);
|
|
55
|
+
return pqToLinearLut;
|
|
56
|
+
}
|
|
57
|
+
function getLinearToPqLut() {
|
|
58
|
+
if (!linearToPqLut) linearToPqLut = buildLut(pqOetf);
|
|
59
|
+
return linearToPqLut;
|
|
60
|
+
}
|
|
61
|
+
function getHlgToLinearLut() {
|
|
62
|
+
if (!hlgToLinearLut) hlgToLinearLut = buildLut(hlgEotf);
|
|
63
|
+
return hlgToLinearLut;
|
|
64
|
+
}
|
|
65
|
+
function getLinearToHlgLut() {
|
|
66
|
+
if (!linearToHlgLut) linearToHlgLut = buildLut(hlgOetf);
|
|
67
|
+
return linearToHlgLut;
|
|
68
|
+
}
|
|
69
|
+
function hdrToLinear(buf, transfer) {
|
|
70
|
+
const lut = transfer === "pq" ? getPqToLinearLut() : getHlgToLinearLut();
|
|
71
|
+
const len = buf.length / 2;
|
|
72
|
+
for (let i = 0; i < len; i++) {
|
|
73
|
+
const off = i * 2;
|
|
74
|
+
buf.writeUInt16LE(lut[buf.readUInt16LE(off)] ?? 0, off);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
function linearToHdr(buf, transfer) {
|
|
78
|
+
const lut = transfer === "pq" ? getLinearToPqLut() : getLinearToHlgLut();
|
|
79
|
+
const len = buf.length / 2;
|
|
80
|
+
for (let i = 0; i < len; i++) {
|
|
81
|
+
const off = i * 2;
|
|
82
|
+
buf.writeUInt16LE(lut[buf.readUInt16LE(off)] ?? 0, off);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
var HLG_OOTF_LW = 1e3;
|
|
86
|
+
var HLG_OOTF_GAMMA = 1.2 * Math.pow(1.111, Math.log2(HLG_OOTF_LW / 1e3));
|
|
87
|
+
function hlgSceneToPqDisplay(sceneLinear) {
|
|
88
|
+
const displayNits = HLG_OOTF_LW * Math.pow(Math.max(0, sceneLinear), HLG_OOTF_GAMMA);
|
|
89
|
+
return displayNits / 1e4;
|
|
90
|
+
}
|
|
91
|
+
function pqDisplayToHlgScene(displayNormalized) {
|
|
92
|
+
const displayNits = displayNormalized * 1e4;
|
|
93
|
+
return Math.pow(Math.max(0, displayNits / HLG_OOTF_LW), 1 / HLG_OOTF_GAMMA);
|
|
94
|
+
}
|
|
95
|
+
var hlgToPqLut = null;
|
|
96
|
+
var pqToHlgLut = null;
|
|
97
|
+
function getHlgToPqLut() {
|
|
98
|
+
if (!hlgToPqLut) hlgToPqLut = buildLut((v) => pqOetf(hlgSceneToPqDisplay(hlgEotf(v))));
|
|
99
|
+
return hlgToPqLut;
|
|
100
|
+
}
|
|
101
|
+
function getPqToHlgLut() {
|
|
102
|
+
if (!pqToHlgLut) pqToHlgLut = buildLut((v) => hlgOetf(pqDisplayToHlgScene(pqEotf(v))));
|
|
103
|
+
return pqToHlgLut;
|
|
104
|
+
}
|
|
105
|
+
function convertTransfer(buf, from, to) {
|
|
106
|
+
if (from === to) return;
|
|
107
|
+
const lut = from === "hlg" ? getHlgToPqLut() : getPqToHlgLut();
|
|
108
|
+
const len = buf.length / 2;
|
|
109
|
+
for (let i = 0; i < len; i++) {
|
|
110
|
+
const off = i * 2;
|
|
111
|
+
buf.writeUInt16LE(lut[buf.readUInt16LE(off)] ?? 0, off);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
function sampleRgb48le(buf, u, v, w, h) {
|
|
115
|
+
const uc = Math.max(0, Math.min(1, u));
|
|
116
|
+
const vc = Math.max(0, Math.min(1, v));
|
|
117
|
+
const sx = uc * (w - 1);
|
|
118
|
+
const sy = vc * (h - 1);
|
|
119
|
+
const x0 = Math.floor(sx);
|
|
120
|
+
const y0 = Math.floor(sy);
|
|
121
|
+
const x1 = Math.min(x0 + 1, w - 1);
|
|
122
|
+
const y1 = Math.min(y0 + 1, h - 1);
|
|
123
|
+
const fx = sx - x0;
|
|
124
|
+
const fy = sy - y0;
|
|
125
|
+
const w00 = (1 - fx) * (1 - fy);
|
|
126
|
+
const w10 = fx * (1 - fy);
|
|
127
|
+
const w01 = (1 - fx) * fy;
|
|
128
|
+
const w11 = fx * fy;
|
|
129
|
+
const off00 = (y0 * w + x0) * 6;
|
|
130
|
+
const off10 = (y0 * w + x1) * 6;
|
|
131
|
+
const off01 = (y1 * w + x0) * 6;
|
|
132
|
+
const off11 = (y1 * w + x1) * 6;
|
|
133
|
+
const r = Math.round(
|
|
134
|
+
buf.readUInt16LE(off00) * w00 + buf.readUInt16LE(off10) * w10 + buf.readUInt16LE(off01) * w01 + buf.readUInt16LE(off11) * w11
|
|
135
|
+
);
|
|
136
|
+
const g = Math.round(
|
|
137
|
+
buf.readUInt16LE(off00 + 2) * w00 + buf.readUInt16LE(off10 + 2) * w10 + buf.readUInt16LE(off01 + 2) * w01 + buf.readUInt16LE(off11 + 2) * w11
|
|
138
|
+
);
|
|
139
|
+
const b = Math.round(
|
|
140
|
+
buf.readUInt16LE(off00 + 4) * w00 + buf.readUInt16LE(off10 + 4) * w10 + buf.readUInt16LE(off01 + 4) * w01 + buf.readUInt16LE(off11 + 4) * w11
|
|
141
|
+
);
|
|
142
|
+
return [r, g, b];
|
|
143
|
+
}
|
|
144
|
+
function mix16(a, b, t) {
|
|
145
|
+
return Math.round(a * (1 - t) + b * t);
|
|
146
|
+
}
|
|
147
|
+
function clamp16(v) {
|
|
148
|
+
return Math.max(0, Math.min(65535, v));
|
|
149
|
+
}
|
|
150
|
+
function smoothstep(edge0, edge1, x) {
|
|
151
|
+
const t = Math.max(0, Math.min(1, (x - edge0) / (edge1 - edge0)));
|
|
152
|
+
return t * t * (3 - 2 * t);
|
|
153
|
+
}
|
|
154
|
+
function hash(x, y) {
|
|
155
|
+
return (Math.sin(x * 127.1 + y * 311.7) * 43758.5453 % 1 + 1) % 1;
|
|
156
|
+
}
|
|
157
|
+
function vnoise(px, py) {
|
|
158
|
+
const ix = Math.floor(px);
|
|
159
|
+
const iy = Math.floor(py);
|
|
160
|
+
let fx = px - ix;
|
|
161
|
+
let fy = py - iy;
|
|
162
|
+
fx = fx * fx * fx * (fx * (fx * 6 - 15) + 10);
|
|
163
|
+
fy = fy * fy * fy * (fy * (fy * 6 - 15) + 10);
|
|
164
|
+
const h00 = hash(ix, iy);
|
|
165
|
+
const h10 = hash(ix + 1, iy);
|
|
166
|
+
const h01 = hash(ix, iy + 1);
|
|
167
|
+
const h11 = hash(ix + 1, iy + 1);
|
|
168
|
+
return h00 * (1 - fx) * (1 - fy) + h10 * fx * (1 - fy) + h01 * (1 - fx) * fy + h11 * fx * fy;
|
|
169
|
+
}
|
|
170
|
+
var ROT_A = 0.8;
|
|
171
|
+
var ROT_B = 0.6;
|
|
172
|
+
function fbm(px, py) {
|
|
173
|
+
let value = 0;
|
|
174
|
+
let amplitude = 0.5;
|
|
175
|
+
let x = px;
|
|
176
|
+
let y = py;
|
|
177
|
+
for (let i = 0; i < 5; i++) {
|
|
178
|
+
value += amplitude * vnoise(x, y);
|
|
179
|
+
const nx = ROT_A * x - ROT_B * y;
|
|
180
|
+
const ny = ROT_B * x + ROT_A * y;
|
|
181
|
+
x = nx * 2.02;
|
|
182
|
+
y = ny * 2.02;
|
|
183
|
+
amplitude *= 0.5;
|
|
184
|
+
}
|
|
185
|
+
return value;
|
|
186
|
+
}
|
|
187
|
+
var TRANSITIONS = {};
|
|
188
|
+
var crossfade = (from, to, out, w, h, p) => {
|
|
189
|
+
const inv = 1 - p;
|
|
190
|
+
for (let i = 0; i < w * h; i++) {
|
|
191
|
+
const o = i * 6;
|
|
192
|
+
out.writeUInt16LE(Math.round(from.readUInt16LE(o) * inv + to.readUInt16LE(o) * p), o);
|
|
193
|
+
out.writeUInt16LE(
|
|
194
|
+
Math.round(from.readUInt16LE(o + 2) * inv + to.readUInt16LE(o + 2) * p),
|
|
195
|
+
o + 2
|
|
196
|
+
);
|
|
197
|
+
out.writeUInt16LE(
|
|
198
|
+
Math.round(from.readUInt16LE(o + 4) * inv + to.readUInt16LE(o + 4) * p),
|
|
199
|
+
o + 4
|
|
200
|
+
);
|
|
201
|
+
}
|
|
202
|
+
};
|
|
203
|
+
TRANSITIONS["crossfade"] = crossfade;
|
|
204
|
+
var flashThroughWhite = (from, to, out, w, h, p) => {
|
|
205
|
+
const toWhite = smoothstep(0, 0.45, p);
|
|
206
|
+
const fromWhite = 1 - smoothstep(0.5, 1, p);
|
|
207
|
+
const blend = smoothstep(0.35, 0.65, p);
|
|
208
|
+
for (let i = 0; i < w * h; i++) {
|
|
209
|
+
const o = i * 6;
|
|
210
|
+
const fromR = mix16(from.readUInt16LE(o), 65535, toWhite);
|
|
211
|
+
const fromG = mix16(from.readUInt16LE(o + 2), 65535, toWhite);
|
|
212
|
+
const fromB = mix16(from.readUInt16LE(o + 4), 65535, toWhite);
|
|
213
|
+
const toR = mix16(to.readUInt16LE(o), 65535, fromWhite);
|
|
214
|
+
const toG = mix16(to.readUInt16LE(o + 2), 65535, fromWhite);
|
|
215
|
+
const toB = mix16(to.readUInt16LE(o + 4), 65535, fromWhite);
|
|
216
|
+
out.writeUInt16LE(mix16(fromR, toR, blend), o);
|
|
217
|
+
out.writeUInt16LE(mix16(fromG, toG, blend), o + 2);
|
|
218
|
+
out.writeUInt16LE(mix16(fromB, toB, blend), o + 4);
|
|
219
|
+
}
|
|
220
|
+
};
|
|
221
|
+
TRANSITIONS["flash-through-white"] = flashThroughWhite;
|
|
222
|
+
var chromaticSplit = (from, to, out, w, h, p) => {
|
|
223
|
+
for (let i = 0; i < w * h; i++) {
|
|
224
|
+
const ux = i % w / w;
|
|
225
|
+
const uy = Math.floor(i / w) / h;
|
|
226
|
+
const o = i * 6;
|
|
227
|
+
const cx = ux - 0.5;
|
|
228
|
+
const cy = uy - 0.5;
|
|
229
|
+
const fromShift = p * 0.06;
|
|
230
|
+
const fr = sampleRgb48le(from, ux + cx * fromShift, uy + cy * fromShift, w, h)[0];
|
|
231
|
+
const fg = sampleRgb48le(from, ux, uy, w, h)[1];
|
|
232
|
+
const fb = sampleRgb48le(from, ux - cx * fromShift, uy - cy * fromShift, w, h)[2];
|
|
233
|
+
const toShift = (1 - p) * 0.06;
|
|
234
|
+
const tr = sampleRgb48le(to, ux - cx * toShift, uy - cy * toShift, w, h)[0];
|
|
235
|
+
const tg = sampleRgb48le(to, ux, uy, w, h)[1];
|
|
236
|
+
const tb = sampleRgb48le(to, ux + cx * toShift, uy + cy * toShift, w, h)[2];
|
|
237
|
+
out.writeUInt16LE(clamp16(mix16(fr, tr, p)), o);
|
|
238
|
+
out.writeUInt16LE(clamp16(mix16(fg, tg, p)), o + 2);
|
|
239
|
+
out.writeUInt16LE(clamp16(mix16(fb, tb, p)), o + 4);
|
|
240
|
+
}
|
|
241
|
+
};
|
|
242
|
+
TRANSITIONS["chromatic-split"] = chromaticSplit;
|
|
243
|
+
var sdfIris = (from, to, out, w, h, p) => {
|
|
244
|
+
const accentBright = [65535, 55e3, 35e3];
|
|
245
|
+
for (let i = 0; i < w * h; i++) {
|
|
246
|
+
const ux = i % w / w;
|
|
247
|
+
const uy = Math.floor(i / w) / h;
|
|
248
|
+
const o = i * 6;
|
|
249
|
+
const ax = (ux - 0.5) * (w / h);
|
|
250
|
+
const ay = uy - 0.5;
|
|
251
|
+
const d = Math.sqrt(ax * ax + ay * ay);
|
|
252
|
+
const radius = p * 1.2;
|
|
253
|
+
const fw = 3e-3;
|
|
254
|
+
const edge = smoothstep(radius + fw, radius - fw, d);
|
|
255
|
+
const ring1 = Math.exp(-Math.abs(d - radius) * 25);
|
|
256
|
+
const ring2 = Math.exp(-Math.abs(d - radius + 0.04) * 20) * 0.5;
|
|
257
|
+
const ring3 = Math.exp(-Math.abs(d - radius + 0.08) * 15) * 0.25;
|
|
258
|
+
const glow = (ring1 + ring2 + ring3) * p * (1 - p) * 4;
|
|
259
|
+
const [fromR, fromG, fromB] = sampleRgb48le(from, ux, uy, w, h);
|
|
260
|
+
const [toR, toG, toB] = sampleRgb48le(to, ux, uy, w, h);
|
|
261
|
+
out.writeUInt16LE(clamp16(mix16(fromR, toR, edge) + accentBright[0] * glow * 0.6), o);
|
|
262
|
+
out.writeUInt16LE(clamp16(mix16(fromG, toG, edge) + accentBright[1] * glow * 0.6), o + 2);
|
|
263
|
+
out.writeUInt16LE(clamp16(mix16(fromB, toB, edge) + accentBright[2] * glow * 0.6), o + 4);
|
|
264
|
+
}
|
|
265
|
+
};
|
|
266
|
+
TRANSITIONS["sdf-iris"] = sdfIris;
|
|
267
|
+
function glitchRand(x, y) {
|
|
268
|
+
return (Math.sin(x * 12.9898 + y * 78.233) * 43758.5453 % 1 + 1) % 1;
|
|
269
|
+
}
|
|
270
|
+
var glitch = (from, to, out, w, h, p) => {
|
|
271
|
+
const intensity = p * (1 - p) * 4;
|
|
272
|
+
for (let i = 0; i < w * h; i++) {
|
|
273
|
+
const ux = i % w / w;
|
|
274
|
+
const uy = Math.floor(i / w) / h;
|
|
275
|
+
const o = i * 6;
|
|
276
|
+
const lineY = Math.floor(uy * 60) / 60;
|
|
277
|
+
const lineDisp = (glitchRand(lineY, Math.floor(p * 17)) - 0.5) * 0.18 * intensity;
|
|
278
|
+
const blockX = Math.floor(ux * 12);
|
|
279
|
+
const blockY = Math.floor(uy * 8);
|
|
280
|
+
const progressStep = Math.floor(p * 11);
|
|
281
|
+
const br = glitchRand(blockX + progressStep, blockY + progressStep);
|
|
282
|
+
const ba = (br >= 0.83 ? 1 : 0) * intensity;
|
|
283
|
+
const bdx = (glitchRand(blockX * 2.1, blockY * 2.1) - 0.5) * 0.35 * ba;
|
|
284
|
+
const bdy = (glitchRand(blockX * 3.7, blockY * 3.7) - 0.5) * 0.35 * ba;
|
|
285
|
+
const uvx = Math.max(0, Math.min(1, ux + lineDisp + bdx));
|
|
286
|
+
const uvy = Math.max(0, Math.min(1, uy + bdy));
|
|
287
|
+
const shift = intensity * 0.035;
|
|
288
|
+
const r = sampleRgb48le(from, uvx + shift, uvy, w, h)[0];
|
|
289
|
+
const g = sampleRgb48le(from, uvx, uvy, w, h)[1];
|
|
290
|
+
const b = sampleRgb48le(from, uvx - shift, uvy, w, h)[2];
|
|
291
|
+
let cr = r / 65535;
|
|
292
|
+
let cg = g / 65535;
|
|
293
|
+
let cb = b / 65535;
|
|
294
|
+
const scanline = (uy * h * 0.5 % 1 + 1) % 1 >= 0.5 ? 0.05 * intensity : 0;
|
|
295
|
+
cr -= scanline;
|
|
296
|
+
cg -= scanline;
|
|
297
|
+
cb -= scanline;
|
|
298
|
+
const flicker = 1 + (glitchRand(Math.floor(p * 23), 0) - 0.5) * 0.3 * intensity;
|
|
299
|
+
cr *= flicker;
|
|
300
|
+
cg *= flicker;
|
|
301
|
+
cb *= flicker;
|
|
302
|
+
const levels = 256 - (256 - 8) * (intensity * 0.5);
|
|
303
|
+
cr = Math.floor(cr * levels) / levels;
|
|
304
|
+
cg = Math.floor(cg * levels) / levels;
|
|
305
|
+
cb = Math.floor(cb * levels) / levels;
|
|
306
|
+
const [toR, toG, toB] = sampleRgb48le(to, ux, uy, w, h);
|
|
307
|
+
out.writeUInt16LE(clamp16(mix16(Math.round(cr * 65535), toR, p)), o);
|
|
308
|
+
out.writeUInt16LE(clamp16(mix16(Math.round(cg * 65535), toG, p)), o + 2);
|
|
309
|
+
out.writeUInt16LE(clamp16(mix16(Math.round(cb * 65535), toB, p)), o + 4);
|
|
310
|
+
}
|
|
311
|
+
};
|
|
312
|
+
TRANSITIONS["glitch"] = glitch;
|
|
313
|
+
function aces(x) {
|
|
314
|
+
return Math.max(0, Math.min(1, x * (2.51 * x + 0.03) / (x * (2.43 * x + 0.59) + 0.14)));
|
|
315
|
+
}
|
|
316
|
+
var lightLeak = (from, to, out, w, h, p) => {
|
|
317
|
+
const accent = [5e4 / 65535, 25e3 / 65535, 5e3 / 65535];
|
|
318
|
+
const accentBright = [65535 / 65535, 55e3 / 65535, 35e3 / 65535];
|
|
319
|
+
const lpx = 1.3;
|
|
320
|
+
const lpy = -0.2;
|
|
321
|
+
for (let i = 0; i < w * h; i++) {
|
|
322
|
+
const ux = i % w / w;
|
|
323
|
+
const uy = Math.floor(i / w) / h;
|
|
324
|
+
const o = i * 6;
|
|
325
|
+
const dx = ux - lpx;
|
|
326
|
+
const dy = uy - lpy;
|
|
327
|
+
const dist = Math.sqrt(dx * dx + dy * dy);
|
|
328
|
+
const leak = Math.max(0, Math.min(1, Math.exp(-dist * 1.8) * p * 4));
|
|
329
|
+
const warmR = accent[0] + (accentBright[0] - accent[0]) * dist * 0.7;
|
|
330
|
+
const warmG = accent[1] + (accentBright[1] - accent[1]) * dist * 0.7;
|
|
331
|
+
const warmB = accent[2] + (accentBright[2] - accent[2]) * dist * 0.7;
|
|
332
|
+
const flare = Math.exp(-Math.abs(uy - (-0.2 + ux * 0.3)) * 15) * leak * 0.3;
|
|
333
|
+
const [fr, fg, fb] = sampleRgb48le(from, ux, uy, w, h);
|
|
334
|
+
const fromR = fr / 65535;
|
|
335
|
+
const fromG = fg / 65535;
|
|
336
|
+
const fromB = fb / 65535;
|
|
337
|
+
const overR = aces(fromR + warmR * leak * 3 + accentBright[0] * flare);
|
|
338
|
+
const overG = aces(fromG + warmG * leak * 3 + accentBright[1] * flare);
|
|
339
|
+
const overB = aces(fromB + warmB * leak * 3 + accentBright[2] * flare);
|
|
340
|
+
const [toR, toG, toB] = sampleRgb48le(to, ux, uy, w, h);
|
|
341
|
+
const blend = smoothstep(0.15, 0.85, p);
|
|
342
|
+
out.writeUInt16LE(clamp16(mix16(Math.round(overR * 65535), toR, blend)), o);
|
|
343
|
+
out.writeUInt16LE(clamp16(mix16(Math.round(overG * 65535), toG, blend)), o + 2);
|
|
344
|
+
out.writeUInt16LE(clamp16(mix16(Math.round(overB * 65535), toB, blend)), o + 4);
|
|
345
|
+
}
|
|
346
|
+
};
|
|
347
|
+
TRANSITIONS["light-leak"] = lightLeak;
|
|
348
|
+
var crossWarpMorph = (from, to, out, w, h, p) => {
|
|
349
|
+
for (let i = 0; i < w * h; i++) {
|
|
350
|
+
const ux = i % w / w;
|
|
351
|
+
const uy = Math.floor(i / w) / h;
|
|
352
|
+
const o = i * 6;
|
|
353
|
+
const dispX = fbm(ux * 3, uy * 3) - 0.5;
|
|
354
|
+
const dispY = fbm(ux * 3 + 7.3, uy * 3 + 3.7) - 0.5;
|
|
355
|
+
const fromUx = Math.max(0, Math.min(1, ux + dispX * p * 0.5));
|
|
356
|
+
const fromUy = Math.max(0, Math.min(1, uy + dispY * p * 0.5));
|
|
357
|
+
const toUx = Math.max(0, Math.min(1, ux - dispX * (1 - p) * 0.5));
|
|
358
|
+
const toUy = Math.max(0, Math.min(1, uy - dispY * (1 - p) * 0.5));
|
|
359
|
+
const [fromR, fromG, fromB] = sampleRgb48le(from, fromUx, fromUy, w, h);
|
|
360
|
+
const [toR, toG, toB] = sampleRgb48le(to, toUx, toUy, w, h);
|
|
361
|
+
const n = fbm(ux * 4 + 3.1, uy * 4 + 1.7);
|
|
362
|
+
const blend = smoothstep(0.4, 0.6, n + p * 1.2 - 0.6);
|
|
363
|
+
out.writeUInt16LE(clamp16(mix16(fromR, toR, blend)), o);
|
|
364
|
+
out.writeUInt16LE(clamp16(mix16(fromG, toG, blend)), o + 2);
|
|
365
|
+
out.writeUInt16LE(clamp16(mix16(fromB, toB, blend)), o + 4);
|
|
366
|
+
}
|
|
367
|
+
};
|
|
368
|
+
TRANSITIONS["cross-warp-morph"] = crossWarpMorph;
|
|
369
|
+
var whipPan = (from, to, out, w, h, p) => {
|
|
370
|
+
const fromOff = p * 1.5;
|
|
371
|
+
const toOff = (1 - p) * 1.5;
|
|
372
|
+
for (let i = 0; i < w * h; i++) {
|
|
373
|
+
const ux = i % w / w;
|
|
374
|
+
const uy = Math.floor(i / w) / h;
|
|
375
|
+
const o = i * 6;
|
|
376
|
+
let fromR = 0, fromG = 0, fromB = 0;
|
|
377
|
+
for (let s = 0; s < 10; s++) {
|
|
378
|
+
const f = s / 10;
|
|
379
|
+
const fuv = Math.max(0, Math.min(1, ux + fromOff + p * 0.08 * f));
|
|
380
|
+
const [r, g, b] = sampleRgb48le(from, fuv, uy, w, h);
|
|
381
|
+
fromR += r;
|
|
382
|
+
fromG += g;
|
|
383
|
+
fromB += b;
|
|
384
|
+
}
|
|
385
|
+
fromR /= 10;
|
|
386
|
+
fromG /= 10;
|
|
387
|
+
fromB /= 10;
|
|
388
|
+
let toR = 0, toG = 0, toB = 0;
|
|
389
|
+
for (let s = 0; s < 10; s++) {
|
|
390
|
+
const f = s / 10;
|
|
391
|
+
const tuv = Math.max(0, Math.min(1, ux - toOff - (1 - p) * 0.08 * f));
|
|
392
|
+
const [r, g, b] = sampleRgb48le(to, tuv, uy, w, h);
|
|
393
|
+
toR += r;
|
|
394
|
+
toG += g;
|
|
395
|
+
toB += b;
|
|
396
|
+
}
|
|
397
|
+
toR /= 10;
|
|
398
|
+
toG /= 10;
|
|
399
|
+
toB /= 10;
|
|
400
|
+
out.writeUInt16LE(clamp16(mix16(Math.round(fromR), Math.round(toR), p)), o);
|
|
401
|
+
out.writeUInt16LE(clamp16(mix16(Math.round(fromG), Math.round(toG), p)), o + 2);
|
|
402
|
+
out.writeUInt16LE(clamp16(mix16(Math.round(fromB), Math.round(toB), p)), o + 4);
|
|
403
|
+
}
|
|
404
|
+
};
|
|
405
|
+
TRANSITIONS["whip-pan"] = whipPan;
|
|
406
|
+
var cinematicZoom = (from, to, out, w, h, p) => {
|
|
407
|
+
const fromS = p * 0.08;
|
|
408
|
+
const toS = (1 - p) * 0.06;
|
|
409
|
+
for (let i = 0; i < w * h; i++) {
|
|
410
|
+
const ux = i % w / w;
|
|
411
|
+
const uy = Math.floor(i / w) / h;
|
|
412
|
+
const o = i * 6;
|
|
413
|
+
const dx = ux - 0.5;
|
|
414
|
+
const dy = uy - 0.5;
|
|
415
|
+
let fr = 0, fg = 0, fb = 0;
|
|
416
|
+
for (let s = 0; s < 12; s++) {
|
|
417
|
+
const f = s / 12;
|
|
418
|
+
const rr = sampleRgb48le(
|
|
419
|
+
from,
|
|
420
|
+
ux - dx * fromS * 1.06 * f,
|
|
421
|
+
uy - dy * fromS * 1.06 * f,
|
|
422
|
+
w,
|
|
423
|
+
h
|
|
424
|
+
)[0];
|
|
425
|
+
const gg = sampleRgb48le(from, ux - dx * fromS * f, uy - dy * fromS * f, w, h)[1];
|
|
426
|
+
const bb = sampleRgb48le(
|
|
427
|
+
from,
|
|
428
|
+
ux - dx * fromS * 0.94 * f,
|
|
429
|
+
uy - dy * fromS * 0.94 * f,
|
|
430
|
+
w,
|
|
431
|
+
h
|
|
432
|
+
)[2];
|
|
433
|
+
fr += rr;
|
|
434
|
+
fg += gg;
|
|
435
|
+
fb += bb;
|
|
436
|
+
}
|
|
437
|
+
fr /= 12;
|
|
438
|
+
fg /= 12;
|
|
439
|
+
fb /= 12;
|
|
440
|
+
let tr = 0, tg = 0, tb = 0;
|
|
441
|
+
for (let s = 0; s < 12; s++) {
|
|
442
|
+
const f = s / 12;
|
|
443
|
+
const rr = sampleRgb48le(to, ux + dx * toS * 1.06 * f, uy + dy * toS * 1.06 * f, w, h)[0];
|
|
444
|
+
const gg = sampleRgb48le(to, ux + dx * toS * f, uy + dy * toS * f, w, h)[1];
|
|
445
|
+
const bb = sampleRgb48le(to, ux + dx * toS * 0.94 * f, uy + dy * toS * 0.94 * f, w, h)[2];
|
|
446
|
+
tr += rr;
|
|
447
|
+
tg += gg;
|
|
448
|
+
tb += bb;
|
|
449
|
+
}
|
|
450
|
+
tr /= 12;
|
|
451
|
+
tg /= 12;
|
|
452
|
+
tb /= 12;
|
|
453
|
+
out.writeUInt16LE(clamp16(mix16(Math.round(fr), Math.round(tr), p)), o);
|
|
454
|
+
out.writeUInt16LE(clamp16(mix16(Math.round(fg), Math.round(tg), p)), o + 2);
|
|
455
|
+
out.writeUInt16LE(clamp16(mix16(Math.round(fb), Math.round(tb), p)), o + 4);
|
|
456
|
+
}
|
|
457
|
+
};
|
|
458
|
+
TRANSITIONS["cinematic-zoom"] = cinematicZoom;
|
|
459
|
+
var gravitationalLens = (from, to, out, w, h, p) => {
|
|
460
|
+
for (let i = 0; i < w * h; i++) {
|
|
461
|
+
const ux = i % w / w;
|
|
462
|
+
const uy = Math.floor(i / w) / h;
|
|
463
|
+
const o = i * 6;
|
|
464
|
+
const uvx = ux - 0.5;
|
|
465
|
+
const uvy = uy - 0.5;
|
|
466
|
+
const dist = Math.sqrt(uvx * uvx + uvy * uvy);
|
|
467
|
+
const pull = p * 2;
|
|
468
|
+
const warpStr = pull * 0.3 / (dist + 0.1);
|
|
469
|
+
const warpedX = Math.max(0, Math.min(1, ux - uvx * warpStr));
|
|
470
|
+
const warpedY = Math.max(0, Math.min(1, uy - uvy * warpStr));
|
|
471
|
+
const [, ag] = sampleRgb48le(from, warpedX, warpedY, w, h);
|
|
472
|
+
const horizon = smoothstep(0, 0.3, dist / (1 - p * 0.85 + 1e-3));
|
|
473
|
+
const shift = pull * 0.02 / (dist + 0.2);
|
|
474
|
+
const rSampX = Math.max(0, Math.min(1, ux - uvx * (warpStr + shift)));
|
|
475
|
+
const rSampY = Math.max(0, Math.min(1, uy - uvy * (warpStr + shift)));
|
|
476
|
+
const bSampX = Math.max(0, Math.min(1, ux - uvx * (warpStr - shift)));
|
|
477
|
+
const bSampY = Math.max(0, Math.min(1, uy - uvy * (warpStr - shift)));
|
|
478
|
+
const ar = sampleRgb48le(from, rSampX, rSampY, w, h)[0];
|
|
479
|
+
const ab = sampleRgb48le(from, bSampX, bSampY, w, h)[2];
|
|
480
|
+
const lensedR = Math.round(ar * horizon);
|
|
481
|
+
const lensedG = Math.round(ag * horizon);
|
|
482
|
+
const lensedB = Math.round(ab * horizon);
|
|
483
|
+
const [toR, toG, toB] = sampleRgb48le(to, ux, uy, w, h);
|
|
484
|
+
const blend = smoothstep(0.3, 0.9, p);
|
|
485
|
+
out.writeUInt16LE(clamp16(mix16(lensedR, toR, blend)), o);
|
|
486
|
+
out.writeUInt16LE(clamp16(mix16(lensedG, toG, blend)), o + 2);
|
|
487
|
+
out.writeUInt16LE(clamp16(mix16(lensedB, toB, blend)), o + 4);
|
|
488
|
+
}
|
|
489
|
+
};
|
|
490
|
+
TRANSITIONS["gravitational-lens"] = gravitationalLens;
|
|
491
|
+
var rippleWaves = (from, to, out, w, h, p) => {
|
|
492
|
+
const accentBright = [65535, 55e3, 35e3];
|
|
493
|
+
for (let i = 0; i < w * h; i++) {
|
|
494
|
+
const ux = i % w / w;
|
|
495
|
+
const uy = Math.floor(i / w) / h;
|
|
496
|
+
const o = i * 6;
|
|
497
|
+
const uvx = ux - 0.5;
|
|
498
|
+
const uvy = uy - 0.5;
|
|
499
|
+
const dist = Math.sqrt(uvx * uvx + uvy * uvy);
|
|
500
|
+
const nux = uvx + 1e-3;
|
|
501
|
+
const nuy = uvy + 1e-3;
|
|
502
|
+
const nlen = Math.sqrt(nux * nux + nuy * nuy);
|
|
503
|
+
const dirx = nux / nlen;
|
|
504
|
+
const diry = nuy / nlen;
|
|
505
|
+
const fromAmp = p * 0.04;
|
|
506
|
+
const fw1 = Math.exp(Math.sin(dist * 25 - p * 12) - 1);
|
|
507
|
+
const fw2 = Math.exp(Math.sin(dist * 50 - p * 18) - 1) * 0.5;
|
|
508
|
+
const fromUx = Math.max(0, Math.min(1, ux + dirx * (fw1 + fw2) * fromAmp));
|
|
509
|
+
const fromUy = Math.max(0, Math.min(1, uy + diry * (fw1 + fw2) * fromAmp));
|
|
510
|
+
const toAmp = (1 - p) * 0.04;
|
|
511
|
+
const tw1 = Math.exp(Math.sin(dist * 25 + p * 12) - 1);
|
|
512
|
+
const tw2 = Math.exp(Math.sin(dist * 50 + p * 18) - 1) * 0.5;
|
|
513
|
+
const toUx = Math.max(0, Math.min(1, ux - dirx * (tw1 + tw2) * toAmp));
|
|
514
|
+
const toUy = Math.max(0, Math.min(1, uy - diry * (tw1 + tw2) * toAmp));
|
|
515
|
+
const [fromR, fromG, fromB] = sampleRgb48le(from, fromUx, fromUy, w, h);
|
|
516
|
+
const [toR, toG, toB] = sampleRgb48le(to, toUx, toUy, w, h);
|
|
517
|
+
const peak = fw1 * p;
|
|
518
|
+
const tintR = accentBright[0] * peak * 0.1;
|
|
519
|
+
const tintG = accentBright[1] * peak * 0.1;
|
|
520
|
+
const tintB = accentBright[2] * peak * 0.1;
|
|
521
|
+
out.writeUInt16LE(clamp16(mix16(Math.round(fromR + tintR), toR, p)), o);
|
|
522
|
+
out.writeUInt16LE(clamp16(mix16(Math.round(fromG + tintG), toG, p)), o + 2);
|
|
523
|
+
out.writeUInt16LE(clamp16(mix16(Math.round(fromB + tintB), toB, p)), o + 4);
|
|
524
|
+
}
|
|
525
|
+
};
|
|
526
|
+
TRANSITIONS["ripple-waves"] = rippleWaves;
|
|
527
|
+
var swirlVortex = (from, to, out, w, h, p) => {
|
|
528
|
+
for (let i = 0; i < w * h; i++) {
|
|
529
|
+
const ux = i % w / w;
|
|
530
|
+
const uy = Math.floor(i / w) / h;
|
|
531
|
+
const o = i * 6;
|
|
532
|
+
const uvx = ux - 0.5;
|
|
533
|
+
const uvy = uy - 0.5;
|
|
534
|
+
const dist = Math.sqrt(uvx * uvx + uvy * uvy);
|
|
535
|
+
const warp = fbm(ux * 4, uy * 4) * 0.5;
|
|
536
|
+
const fromAng = p * (1 - dist) * 10 + warp * p * 3;
|
|
537
|
+
const fs = Math.sin(fromAng);
|
|
538
|
+
const fc = Math.cos(fromAng);
|
|
539
|
+
const fromUx = Math.max(0, Math.min(1, uvx * fc - uvy * fs + 0.5));
|
|
540
|
+
const fromUy = Math.max(0, Math.min(1, uvx * fs + uvy * fc + 0.5));
|
|
541
|
+
const toAng = -(1 - p) * (1 - dist) * 10 - warp * (1 - p) * 3;
|
|
542
|
+
const ts = Math.sin(toAng);
|
|
543
|
+
const tc = Math.cos(toAng);
|
|
544
|
+
const toUx = Math.max(0, Math.min(1, uvx * tc - uvy * ts + 0.5));
|
|
545
|
+
const toUy = Math.max(0, Math.min(1, uvx * ts + uvy * tc + 0.5));
|
|
546
|
+
const [fromR, fromG, fromB] = sampleRgb48le(from, fromUx, fromUy, w, h);
|
|
547
|
+
const [toR, toG, toB] = sampleRgb48le(to, toUx, toUy, w, h);
|
|
548
|
+
out.writeUInt16LE(clamp16(mix16(fromR, toR, p)), o);
|
|
549
|
+
out.writeUInt16LE(clamp16(mix16(fromG, toG, p)), o + 2);
|
|
550
|
+
out.writeUInt16LE(clamp16(mix16(fromB, toB, p)), o + 4);
|
|
551
|
+
}
|
|
552
|
+
};
|
|
553
|
+
TRANSITIONS["swirl-vortex"] = swirlVortex;
|
|
554
|
+
var thermalDistortion = (from, to, out, w, h, p) => {
|
|
555
|
+
const accentBright = [65535, 55e3, 35e3];
|
|
556
|
+
for (let i = 0; i < w * h; i++) {
|
|
557
|
+
const ux = i % w / w;
|
|
558
|
+
const uy = Math.floor(i / w) / h;
|
|
559
|
+
const o = i * 6;
|
|
560
|
+
const heat = p * 1.5;
|
|
561
|
+
const yFade = smoothstep(1, 0, uy);
|
|
562
|
+
const shimmer = Math.sin(uy * 40 + fbm(ux * 6, uy * 6) * 8) * fbm(ux * 3 + 0, uy * 3 + p * 2);
|
|
563
|
+
const dispX = shimmer * heat * 0.03 * yFade;
|
|
564
|
+
const fromUx = Math.max(0, Math.min(1, ux + dispX));
|
|
565
|
+
const [fromR, fromG, fromB] = sampleRgb48le(from, fromUx, uy, w, h);
|
|
566
|
+
const invShimmer = Math.sin(uy * 40 + fbm(ux * 6 + 3, uy * 6 + 3) * 8) * fbm(ux * 3 + 3, uy * 3 + p * 2);
|
|
567
|
+
const dispX2 = invShimmer * (1 - p) * 0.03 * yFade;
|
|
568
|
+
const toUx = Math.max(0, Math.min(1, ux + dispX2));
|
|
569
|
+
const [toR, toG, toB] = sampleRgb48le(to, toUx, uy, w, h);
|
|
570
|
+
const haze = heat * yFade * 0.15 * (1 - p);
|
|
571
|
+
out.writeUInt16LE(clamp16(mix16(fromR, toR, p) + Math.round(accentBright[0] * haze)), o);
|
|
572
|
+
out.writeUInt16LE(clamp16(mix16(fromG, toG, p) + Math.round(accentBright[1] * haze)), o + 2);
|
|
573
|
+
out.writeUInt16LE(clamp16(mix16(fromB, toB, p) + Math.round(accentBright[2] * haze)), o + 4);
|
|
574
|
+
}
|
|
575
|
+
};
|
|
576
|
+
TRANSITIONS["thermal-distortion"] = thermalDistortion;
|
|
577
|
+
var domainWarp = (from, to, out, w, h, p) => {
|
|
578
|
+
const accentDark = [25e3, 8e3, 2e3];
|
|
579
|
+
const accentBright = [65535, 55e3, 35e3];
|
|
580
|
+
for (let i = 0; i < w * h; i++) {
|
|
581
|
+
const ux = i % w / w;
|
|
582
|
+
const uy = Math.floor(i / w) / h;
|
|
583
|
+
const o = i * 6;
|
|
584
|
+
const qx = fbm(ux * 3, uy * 3);
|
|
585
|
+
const qy = fbm(ux * 3 + 5.2, uy * 3 + 1.3);
|
|
586
|
+
const rx = fbm(ux * 3 + qx * 4 + 1.7, uy * 3 + qy * 4 + 9.2);
|
|
587
|
+
const ry = fbm(ux * 3 + qx * 4 + 8.3, uy * 3 + qy * 4 + 2.8);
|
|
588
|
+
const n = fbm(ux * 3 + rx * 2, uy * 3 + ry * 2);
|
|
589
|
+
const warpDirX = (qx - 0.5) * 0.4;
|
|
590
|
+
const warpDirY = (qy - 0.5) * 0.4;
|
|
591
|
+
const aUx = Math.max(0, Math.min(1, ux + warpDirX * p));
|
|
592
|
+
const aUy = Math.max(0, Math.min(1, uy + warpDirY * p));
|
|
593
|
+
const bUx = Math.max(0, Math.min(1, ux - warpDirX * (1 - p)));
|
|
594
|
+
const bUy = Math.max(0, Math.min(1, uy - warpDirY * (1 - p)));
|
|
595
|
+
const [aR, aG, aB] = sampleRgb48le(from, aUx, aUy, w, h);
|
|
596
|
+
const [bR, bG, bB] = sampleRgb48le(to, bUx, bUy, w, h);
|
|
597
|
+
const e = smoothstep(p - 0.08, p + 0.08, n);
|
|
598
|
+
const ed = Math.abs(n - p);
|
|
599
|
+
const pStep = p >= 1 ? 1 : 0;
|
|
600
|
+
const em = smoothstep(0.1, 0, ed) * (1 - pStep);
|
|
601
|
+
const ecBlend = smoothstep(0, 0.1, ed);
|
|
602
|
+
const ecR = accentDark[0] + (accentBright[0] - accentDark[0]) * (1 - ecBlend);
|
|
603
|
+
const ecG = accentDark[1] + (accentBright[1] - accentDark[1]) * (1 - ecBlend);
|
|
604
|
+
const ecB = accentDark[2] + (accentBright[2] - accentDark[2]) * (1 - ecBlend);
|
|
605
|
+
out.writeUInt16LE(clamp16(mix16(bR, aR, e) + Math.round(ecR * em * 2)), o);
|
|
606
|
+
out.writeUInt16LE(clamp16(mix16(bG, aG, e) + Math.round(ecG * em * 2)), o + 2);
|
|
607
|
+
out.writeUInt16LE(clamp16(mix16(bB, aB, e) + Math.round(ecB * em * 2)), o + 4);
|
|
608
|
+
}
|
|
609
|
+
};
|
|
610
|
+
TRANSITIONS["domain-warp"] = domainWarp;
|
|
611
|
+
function ridged(px, py) {
|
|
612
|
+
let value = 0;
|
|
613
|
+
let amplitude = 0.5;
|
|
614
|
+
let x = px;
|
|
615
|
+
let y = py;
|
|
616
|
+
for (let i = 0; i < 5; i++) {
|
|
617
|
+
value += amplitude * Math.abs(vnoise(x, y) * 2 - 1);
|
|
618
|
+
const nx = ROT_A * x - ROT_B * y;
|
|
619
|
+
const ny = ROT_B * x + ROT_A * y;
|
|
620
|
+
x = nx * 2.02;
|
|
621
|
+
y = ny * 2.02;
|
|
622
|
+
amplitude *= 0.5;
|
|
623
|
+
}
|
|
624
|
+
return value;
|
|
625
|
+
}
|
|
626
|
+
var ridgedBurn = (from, to, out, w, h, p) => {
|
|
627
|
+
const accent = [5e4, 25e3, 5e3];
|
|
628
|
+
const accentDark = [25e3, 8e3, 2e3];
|
|
629
|
+
const accentBright = [65535, 55e3, 35e3];
|
|
630
|
+
for (let i = 0; i < w * h; i++) {
|
|
631
|
+
const ux = i % w / w;
|
|
632
|
+
const uy = Math.floor(i / w) / h;
|
|
633
|
+
const o = i * 6;
|
|
634
|
+
const [aR, aG, aB] = sampleRgb48le(from, ux, uy, w, h);
|
|
635
|
+
const [bR, bG, bB] = sampleRgb48le(to, ux, uy, w, h);
|
|
636
|
+
const n = ridged(ux * 4, uy * 4);
|
|
637
|
+
const e = smoothstep(p - 0.04, p + 0.04, n);
|
|
638
|
+
const heat = smoothstep(0.12, 0, Math.abs(n - p));
|
|
639
|
+
const pStep = p >= 1 ? 1 : 0;
|
|
640
|
+
const heatMasked = heat * (1 - pStep);
|
|
641
|
+
let burnR = accentDark[0] + (accent[0] - accentDark[0]) * smoothstep(0, 0.25, heatMasked);
|
|
642
|
+
let burnG = accentDark[1] + (accent[1] - accentDark[1]) * smoothstep(0, 0.25, heatMasked);
|
|
643
|
+
let burnB = accentDark[2] + (accent[2] - accentDark[2]) * smoothstep(0, 0.25, heatMasked);
|
|
644
|
+
const blend2 = smoothstep(0.25, 0.5, heatMasked);
|
|
645
|
+
burnR = burnR + (accentBright[0] - burnR) * blend2;
|
|
646
|
+
burnG = burnG + (accentBright[1] - burnG) * blend2;
|
|
647
|
+
burnB = burnB + (accentBright[2] - burnB) * blend2;
|
|
648
|
+
const blend3 = smoothstep(0.5, 1, heatMasked);
|
|
649
|
+
burnR = burnR + (65535 - burnR) * blend3;
|
|
650
|
+
burnG = burnG + (65535 - burnG) * blend3;
|
|
651
|
+
burnB = burnB + (65535 - burnB) * blend3;
|
|
652
|
+
const sparks = (vnoise(ux * 80, uy * 80) >= 0.92 ? 1 : 0) * heatMasked * 3;
|
|
653
|
+
out.writeUInt16LE(
|
|
654
|
+
clamp16(
|
|
655
|
+
mix16(bR, aR, e) + Math.round(burnR * heatMasked * 3.5) + Math.round(accentBright[0] * sparks)
|
|
656
|
+
),
|
|
657
|
+
o
|
|
658
|
+
);
|
|
659
|
+
out.writeUInt16LE(
|
|
660
|
+
clamp16(
|
|
661
|
+
mix16(bG, aG, e) + Math.round(burnG * heatMasked * 3.5) + Math.round(accentBright[1] * sparks)
|
|
662
|
+
),
|
|
663
|
+
o + 2
|
|
664
|
+
);
|
|
665
|
+
out.writeUInt16LE(
|
|
666
|
+
clamp16(
|
|
667
|
+
mix16(bB, aB, e) + Math.round(burnB * heatMasked * 3.5) + Math.round(accentBright[2] * sparks)
|
|
668
|
+
),
|
|
669
|
+
o + 4
|
|
670
|
+
);
|
|
671
|
+
}
|
|
672
|
+
};
|
|
673
|
+
TRANSITIONS["ridged-burn"] = ridgedBurn;
|
|
674
|
+
|
|
675
|
+
export {
|
|
676
|
+
hdrToLinear,
|
|
677
|
+
linearToHdr,
|
|
678
|
+
convertTransfer,
|
|
679
|
+
sampleRgb48le,
|
|
680
|
+
TRANSITIONS,
|
|
681
|
+
crossfade
|
|
682
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
+
var require = __hf_createRequire(import.meta.url);
|
|
5
|
+
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
|
|
8
|
+
// src/utils/producer.ts
|
|
9
|
+
async function loadProducer() {
|
|
10
|
+
return await import("./src-6YQBJGWR.js");
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export {
|
|
14
|
+
loadProducer
|
|
15
|
+
};
|