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.

13.4 KB
Raw Blame
const CONFIG={"mode": "w2-connector-cases", "demoTitle": "Google × Lovable", "palette": ["#101013", "#ffffff", "#ed3b99", "#778df2", "#fb6740"], "font": "无衬线界面文字与清晰大小层级", "stages": [{"start": 0.0, "label": "连接器图标围绕"}, {"start": 4.0, "label": "数据请求"}, {"start": 6.0, "label": "仪表盘"}, {"start": 10.0, "label": "选鞋应用"}, {"start": 15.0, "label": "预约请求"}, {"start": 18.0, "label": "日历选择"}, {"start": 22.0, "label": "邮件任务"}, {"start": 27.0, "label": "发送回复"}, {"start": 31.0, "label": "地图请求"}, {"start": 34.0, "label": "门店选择"}, {"start": 39.0, "label": "成果墙"}, {"start": 45.0, "label": "品牌"}], "objects": ["中心品牌", "外部工具图标", "请求卡", "成果界面", "指针"], "rules": ["多个工具图标先聚合,之后逐个成为提示框中的连接器标签", "每个请求后展示可操作结果,点击局部产生选择反馈", "结尾不同成果缩为墙面,强调同一连接系统覆盖多任务"], "transfer": ["主题迁移保留工具→请求→成果→操作的四拍结构", "替换实际工具和数据,同时替换结果类型,不能仅替换logo"], "unknown": ["未恢复全部界面内容、准确字体、声音与原工程曲线。", "HTML 为 authored 机制示例,不是完整原样复刻。"], "measureTexts": ["Select", "Alma St", "Cushioning"], "coverTime": 7.2, "labels": ["连接器图标围绕", "数据请求", "仪表盘", "选鞋应用", "预约请求", "日历选择", "邮件任务", "发送回复", "地图请求", "门店选择", "成果墙", "品牌"], "brand": "Lovable", "accent": "#ed3b99", "sourceReview": {"status": "inferred", "basis": "reviewed prepared/overview.jpg and OCR index", "coverage": "最多24张代表帧;非逐帧语义检查"}, "translations": {"en": {"templateName": "Connector-to-app cases", "summary": "Connected tools become prompt tags, usable results and a final work collection.", "styleDescription": "Dark gradient space, colorful tool marks and bright result windows.", "reviewFocus": "Retain tool, request, result and interaction as a complete unit."}}, "creativeSummary": "多个工具图标先聚合,之后逐个成为提示框中的连接器标签。每个请求后展示可操作结果,点击局部产生选择反馈。", "guideChapters": {"overview": "把连接器变成真实任务", "composition": "工具标记、提示卡与成果", "motion": "请求后展示可操作结果", "rhythm": "每个案例走完四拍", "transfer": "替换连接器也替换结果类型"}, "guidePlan": {"intro": "把连接器从图标变成可执行任务:每个工具先进入请求,再产生相应应用,最后把成果汇成一组。", "sections": [{"title": "先交代连接关系", "text": ["中心品牌周围分布外部工具标记,连线或轨道只表达连接。随后让其中一个工具变成输入框中的标签,把抽象连接带入第一个真实请求。", "深色背景与渐变柔光形成统一舞台,工具保持各自的品牌色。产品标题用无衬线粗体,输入、选项与界面数据用常规字重。"], "palette": true, "reference": 0}, {"title": "每种工具,给一种对应成果", "text": ["数据请求对应仪表盘,商品信息对应选择器,预约对应日历,邮件任务对应回复,地点请求对应地图。不要把所有工具的成果都画成柱状图。", "结果出现后留一个实际操作:选择尺码、挑选时间、确认回复或点选地点。点击之后必须有选中、确认或内容更新。"], "demo": "sequence"}, {"title": "请求与操作之间留阅读空间", "text": ["每个案例按工具标签、短请求、成果、局部操作推进。案例之间可以快切;一次点击的前后状态要能分清。结尾缩小不同成果拼成工作墙,强调同一入口覆盖多种任务。"], "timeline": true}, {"title": "换业务时,连工具一起换", "text": ["选择新业务需要的数据源与工具,再设计对应结果。提示词、连接器标签、数据内容、操作选项同时迁移;保留工具到任务、任务到成果的关系。"]}]}, "templateId": "V299", "name": "Lovable|Google 连接器", "duration": 46.166667, "initialTime": 7.2, "sourceCanvas": {"width": 1920, "height": 1080}, "actionRange": [4.0, 15.0]};
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": [[11.5, 13], [23, 23.5], [33.5, 37]], "samples": [[11.5, [246.97674224806207, 371.1395354734999]], [12, [246.97674200581397, 308.3720931453488]], [13, [248.37209055149503, 306.9767443056478]], [23, [1110.6976795348837, 881.6162790987257]], [23.5, [1116.2790750697673, 879.0697673488371]], [33.5, [724.1860464011628, 756.2790695581396]], [34, [724.1860459882532, 675.3488373953489]], [34.5, [774.4330921748208, 704.6511623070288]], [35, [1451.1627896611296, 803.7209298737541]], [35.5, [1452.558138479651, 675.3488368633721]], [36, [1451.1627905780729, 457.6744186046511]], [36.5, [1452.5581384784055, 34.88372059136213]], [37, [1448.3720943720928, 34.88372072093025]]], "maxCompressionErrorVsObservations": 0.6976744198505003, "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": [[11.5, 13], [23, 23.5], [33.5, 37]], "samples": [[11.5, 50.27906990051275], [13, 44.65116119384771], [23, 17.232558250427132], [23.5, 16.744186401367188], [33.5, 474.4186048664833], [34, 463.25581430834393], [34.5, 493.9534879828666], [35, 50.23255920410145], [35.5, 798.139534518742], [36, 803.7209320147329], [36.5, 47.44186019897454], [37, 47.44186019897454]], "maxCompressionErrorVsObservations": 1.875969568888344, "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": [[11.5, 13], [23, 23.5], [33.5, 37]], "samples": [[11.5, "Shoe Selector"], [13, "Shoe Selector"], [23, "QuickFeet Precision Shoe Selector Update"], [23.5, "QuickFeet Precision Shoe Selector Update"], [33.5, "Select\nSelect\nSelect"], [35, "Select"], [35.5, "Select\nSelect"], [36.5, "Select"], [37, "Select"]], "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": [[11.5, 13], [23, 23.5], [33.5, 37]], "samples": [[11.5, 348.83721923828125], [13, 346.0465087890625], [23, 306.976745605469], [23.5, 318.1395263671875], [33.5, 53.023255941042635], [34, 53.02325511522349], [34.5, 58.63362482345019], [35, 167.44186401367188], [35.5, 164.65115382608087], [36, 167.44186584755857], [37, 161.8604583740232]], "maxCompressionErrorVsObservations": 0.9302368164063068, "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": [[28.5, 30.5], [33.5, 34.5]], "samples": [[28.5, [594.7671226652807, 606.712327516917]], [29, [1037.1348282436074, 755.9460815455272]], [29.5, [1022.8041010756272, 742.4673702920011]], [30, [1290.4557054394852, 952.8458126258645]], [30.5, [1166.2492313732384, 851.8874607766516]], [33.5, [1488.6697671168902, 813.7116274328973]], [34, [1367.0399670314296, 680.8433549512235]], [34.5, [1455.8511632718978, 708.3906975892751]]], "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.height", "target": "text-1", "property": "height", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[28.5, 30.5], [33.5, 34.5]], "samples": [[28.5, 113.58904266357422], [29, 532.0069662061626], [29.5, 513.7719551119841], [30, 78.31697463989258], [30.5, 264.4573635306857], [33.5, 60.16744232177723], [34, 164.00917252400131], [34.5, 167.88837140361636]], "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.text", "target": "text-1", "property": "text", "unit": "text", "space": "canvas", "status": "measured", "source": "video", "method": "text", "interpolation": "step", "valid": [[28.5, 30.5], [33.5, 34.5]], "samples": [[28.5, "Alma St"], [29, "Alma St\nAlma St"], [30, "Alma St"], [30.5, "Alma St\nAlma St"], [33.5, "Alma St"], [34, "Alma St\nAlma St"], [34.5, "Alma St\nAlma St"]], "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": [[28.5, 30.5], [33.5, 34.5]], "samples": [[28.5, 162.57534790039062], [29, 710.8662362223986], [29.5, 641.7756471968992], [30, 91.5445556640625], [30.5, 326.13306783166297], [33.5, 68.76278686523438], [34, 199.11505889783916], [34.5, 208.2976756077844]], "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.center", "target": "text-2", "property": "center", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[12, 14], [17.5, 18], [19.5, 20]], "samples": [[12, [129.76744294946104, 947.4418603899443]], [13, [129.7674429498901, 947.441860396441]], [13.5, [111.62790770113389, 739.534883601814]], [14, [111.62790770232556, 739.5348836093024]], [17.5, [1580.9302315435702, 450.6976741869431]], [18, [1583.720929150576, 334.8837209902149]], [19.5, [1673.0232571859226, 227.44186077955413]], [20, [1624.1860452782648, 245.58139505884503]]], "maxCompressionErrorVsObservations": 1.395349304968022, "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": [[12, 14], [17.5, 18], [19.5, 20]], "samples": [[12, 20.388919830322266], [12.5, 23.827226638793945], [14, 16.744186401367188], [17.5, 20.602855682373047], [18, 17.52608299255371], [19.5, 44.084022521972685], [20, 40.69766235351565]], "maxCompressionErrorVsObservations": 1.6124839782714844, "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": [[12, 14], [17.5, 18], [19.5, 20]], "samples": [[12, "Cushioning"], [14, "Cushioning"], [17.5, "Cushioning"], [18, "Cushioning"], [19.5, "Cushioning"], [20, "Cushioning"]], "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": [[12, 14], [17.5, 18], [19.5, 20]], "samples": [[12, 108.98725128173828], [13, 109.09673309326172], [13.5, 72.72721099853516], [14, 72.55813598632812], [17.5, 86.74650573730469], [18, 86.65955352783203], [19.5, 198.59735107421875], [20, 184.5244598388672]], "maxCompressionErrorVsObservations": 0.09329986572265625, "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."}]};