Skip to content

The open-source full-stack studio for Opus 5.5 motion video. Reverse engineering for any video. Code video with HTML: recreate, edit and render. BYOA + BYOK · Motion.md · Images, Video, Music & Voice.

12.9 KB
Raw Blame
const CONFIG={"mode": "w2-motion-editor", "demoTitle": "INSIDE OUT", "palette": ["#eef0e3", "#08130c", "#c1ff2c", "#e90096", "#ffffff"], "font": "无衬线界面文字与清晰大小层级", "stages": [{"start": 0.0, "label": "编辑画布与轨道"}, {"start": 0.8, "label": "果实展开队列"}, {"start": 2.7, "label": "窄体字"}, {"start": 3.5, "label": "果实特写"}, {"start": 4.5, "label": "纹理切片"}, {"start": 6.0, "label": "文字与果实"}, {"start": 8.0, "label": "修改后回放"}, {"start": 13.0, "label": "新一轮回放"}, {"start": 17.0, "label": "纹理与像素化"}], "objects": ["上方画布", "时间线", "指令面板", "果实主体", "纹理切片", "窄体文字"], "rules": ["画布始终与下方时间线、指令区域同时可见,展示制作关系", "果实从小主体展开为不同剖面,再变成细节纹理", "荧光绿、洋红、米白按镜头切换,主体位置与字形保持高对比"], "transfer": ["可换为产品解构动画,保留整体→剖面→材质的观察顺序", "换素材要有可辨认的整体与细节对应"], "unknown": ["输入是制作界面录像,不能当作纯成片;轨道内容未解析为原工程。", "HTML 为 authored 机制示例,不是完整原样复刻。"], "measureTexts": ["PITAYA", "HIGGSFIELD AI MOTION DESIGNER", "English adaptation"], "coverTime": 3.02, "labels": ["编辑画布与轨道", "果实展开队列", "窄体字", "果实特写", "纹理切片", "文字与果实", "修改后回放", "新一轮回放", "纹理与像素化"], "brand": "Higgsfield", "accent": "#c1ff2c", "sourceReview": {"status": "inferred", "basis": "reviewed prepared/overview.jpg and OCR index", "coverage": "最多24张代表帧;非逐帧语义检查"}, "translations": {"en": {"templateName": "Motion design workspace", "summary": "A fruit composition changes within an editor that exposes prompts and timeline tracks.", "styleDescription": "Chartreuse and magenta imagery with narrow type and dark editor chrome.", "reviewFocus": "Separate the changing composition from the persistent editing interface."}}, "creativeSummary": "画布始终与下方时间线、指令区域同时可见,展示制作关系。果实从小主体展开为不同剖面,再变成细节纹理。", "guideChapters": {"overview": "把作品和编辑过程同时展示", "composition": "主合成、轨道与提示栏", "motion": "作品变形时编辑器稳定", "rhythm": "按设计阶段切换画面", "transfer": "替换题材保留编辑关系"}, "guidePlan": {"intro": "把制作界面与正在变化的作品放在同一画面。上方合成展示果实从整体到剖面的变化,下方轨道和指令说明这些变化是可编辑的。", "sections": [{"title": "编辑器是持续存在的舞台", "text": ["主画布占上方大部分区域,时间线与指令栏留在下方。播放时让画布变化,编辑器布局保持稳定;修改时把焦点短暂移到指令,再回到画布。"], "demo": "sequence"}, {"title": "用整果、剖面和纹理建立连续性", "text": ["先展示可辨认的果实主体,再展开不同生长或切开状态,最后推近纹理。每次变化留下相同颜色、形状或切面特征,观众才能把细节和整体连起来。", "主体由小到大时,文字让出中心;主体变为纹理背景时,窄体大字重新进入。不要让字和果实在每一帧都抢占同一位置。"], "clip": [0.8, 8]}, {"title": "三种底色,统一一套字形", "text": ["荧光绿、洋红、米白按段落切换;黑色窄体字作为固定视觉线索。字形使用较窄、较重的展示体,行数保持少,编辑器文字仍用常规界面字体。", "时间轨道可沿用主画布的强调色,指令区维持深色底,让作品色彩和工具信息各有归属。"], "palette": true}, {"title": "换成另一件可被解构的产品", "text": ["准备整体、结构变化、剖面或局部材质,按整体到细节组织。替换文字与修改指令,使它们真的作用于新素材;保留画布与编辑过程并置的关系。"]}]}, "templateId": "V052", "name": "Higgsfield — Cursor for motion designers", "duration": 20.1, "initialTime": 3.02, "sourceCanvas": {"width": 1080, "height": 1080}, "actionRange": [0.8, 4.5]};
const DATA={"tracks": [{"id": "text-0.center", "target": "text-0", "property": "center", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[0, 20]], "samples": [[0, [592.0000005526997, 703.9999999161957]], [0.5, [704.9280607611196, 460.2755746344053]], [1, [592.00000055234, 703.9999999138578]], [3, [592.0000005477141, 703.9999998881551]], [3.5, [705.0000002321428, 459.99999994285713]], [4, [592.0000005510198, 703.9999999057809]], [11.5, [592.0000005526997, 703.9999999161957]], [12, [342.0000010185038, 388.99999990000003]], [12.5, [592.0000005526997, 703.9999999161957]], [13.5, [592.00000055, 703.9999999]], [14, [705.0000002321428, 459.99999994285713]], [14.5, [592.00000055234, 703.9999999138578]], [20, [592.0000005526997, 703.9999999161957]]], "maxCompressionErrorVsObservations": 1.9276967577752657e-08, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-0.height", "target": "text-0", "property": "height", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[0, 20]], "samples": [[0, 13.28702449798584], [0.5, 500.5511492954773], [1, 13.102298736572266], [3, 12.946659088134766], [3.5, 499.9999999142858], [4, 12.461366653442383], [11.5, 13.28702449798584], [12, 642.0], [12.5, 13.28702449798584], [13.5, 12.0], [14, 499.9999999142858], [14.5, 13.102298736572266], [20, 13.28702449798584]], "maxCompressionErrorVsObservations": 1.1694717407226562, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-0.text", "target": "text-0", "property": "text", "unit": "text", "space": "canvas", "status": "measured", "source": "video", "method": "text", "interpolation": "step", "valid": [[0, 20]], "samples": [[0, "PITAYA"], [0.5, "SPECIMEN: PITAYA-01\nPITAYA"], [1, "PITAYA"], [3.5, "SPECIMEN: PITAYA-01\nPITAYA"], [4, "PITAYA"], [12, "PITAYA\nPITAYA"], [12.5, "PITAYA"], [14, "SPECIMEN: PITAYA-01\nPITAYA"], [14.5, "PITAYA"], [20, "PITAYA"]], "maxCompressionErrorVsObservations": 0, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-0.width", "target": "text-0", "property": "width", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[0, 20]], "samples": [[0, 44.333435058593864], [0.5, 270.1438782910943], [1, 44.28775787353504], [3, 44.248695373535156], [3.5, 269.9999993642858], [4, 44.12358093261719], [11.5, 44.333435058593864], [12, 543.9999990629924], [12.5, 44.333435058593864], [13.5, 44.0], [14, 269.9999993642858], [14.5, 44.28775787353504], [20, 44.333435058593864]], "maxCompressionErrorVsObservations": 0.30436775901097946, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-1.center", "target": "text-1", "property": "center", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[0, 20]], "samples": [[0, [802.9999970624999, 59.00000011250002]], [7.5, [803.9999984666666, 57.99999976666664]], [9, [802.9999966428572, 59.00000010000002]], [9.5, [798.9999970125, 59.00000011250002]], [10, [803.00000118, 60.00000027999999]], [15.5, [802.99999602, 58.99999969999998]], [16, [798.9999970125, 59.00000011250002]], [16.5, [804.0000023399999, 58.99999989]], [17, [798.7499969062501, 60.749999493750046]], [17.5, [802.9999976500001, 59.00000011000002]], [19, [803.9999991333334, 60.00000023333332]], [19.5, [798.749996625, 60.749999595000055]], [20, [802.9999956199999, 60.00000027999999]]], "maxCompressionErrorVsObservations": 1.866667133888896, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-1.height", "target": "text-1", "property": "height", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[0, 20]], "samples": [[0, 25.999999999999943], [1.5, 27.99999999999998], [3.5, 25.999999999999943], [4, 32.00000000000004], [6, 27.99999999999997], [8, 30.00000000000002], [9, 25.99999999999995], [10.5, 30.000000000000014], [11, 27.99999999999997], [13, 30.000000000000007], [13.5, 25.99999999999995], [14.5, 27.99999999999997], [15, 25.99999999999995], [15.5, 30.000000000000014], [16, 25.999999999999943], [16.5, 25.999999999999943], [17, 40.499999999999986], [17.5, 30.000000000000014], [18.5, 27.99999999999997], [19, 28.0000000000001], [19.5, 40.499999999999986], [20, 28.0000000000001]], "maxCompressionErrorVsObservations": 1.5000000000000213, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-1.text", "target": "text-1", "property": "text", "unit": "text", "space": "canvas", "status": "measured", "source": "video", "method": "text", "interpolation": "step", "valid": [[0, 20]], "samples": [[0, "HIGGSFIELD AI MOTION DESIGNER"], [20, "HIGGSFIELD AI MOTION DESIGNER"]], "maxCompressionErrorVsObservations": 0, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-1.width", "target": "text-1", "property": "width", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[0, 20]], "samples": [[0, 469.9999999999999], [0.5, 468.0], [6, 472.0], [6.5, 468.0], [7.5, 467.9999999999998], [8, 472.0], [9, 470.0000000000001], [9.5, 478.0], [10, 470.0], [15.5, 470.0], [16, 478.0], [16.5, 467.9999999999998], [17, 481.5], [17.5, 470.0], [19, 468.0], [19.5, 481.5], [20, 469.9999999999999]], "maxCompressionErrorVsObservations": 2.0, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-2.center", "target": "text-2", "property": "center", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[0, 20]], "samples": [[0, [998.0000011499999, 703.9999999]], [20, [998.00000092, 703.9999999199999]]], "maxCompressionErrorVsObservations": 2.1274991013342515e-07, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-2.height", "target": "text-2", "property": "height", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[0, 20]], "samples": [[0, 12.0], [20, 12.0]], "maxCompressionErrorVsObservations": 0, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-2.text", "target": "text-2", "property": "text", "unit": "text", "space": "canvas", "status": "measured", "source": "video", "method": "text", "interpolation": "step", "valid": [[0, 20]], "samples": [[0, "English adaptation"], [20, "English adaptation"]], "maxCompressionErrorVsObservations": 0, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}, {"id": "text-2.width", "target": "text-2", "property": "width", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[0, 20]], "samples": [[0, 92.0], [20, 92.0]], "maxCompressionErrorVsObservations": 0, "outsideValid": "unknown; use declared state intervals only as inferred visibility", "interpretation": "OCR matched text and union geometry at observed timestamps; not a recovered layer or visibility curve."}]};