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.

15.6 KB
Raw Blame
const CONFIG={"mode": "w3-charts", "demoTitle": "Explore your answers visually", "brand": "Perplexity", "palette": ["#fafaf7", "#171917", "#2c8587", "#dbe4df", "#ffffff"], "accent": "#2c8587", "font": "衬线主张标题搭配无衬线界面文字;大留白、细边框", "stages": [{"start": 0, "label": "主张"}, {"start": 5, "label": "输入金融问题"}, {"start": 12, "label": "等待"}, {"start": 16, "label": "金融曲线"}, {"start": 27, "label": "交互主张"}, {"start": 32, "label": "第二次提问"}, {"start": 38, "label": "三段短句"}, {"start": 43, "label": "潮汐提问"}, {"start": 48, "label": "潮汐图解"}, {"start": 54, "label": "总结与品牌"}], "objects": ["输入框", "金融曲线", "指针提示", "科学模拟", "说明标题"], "rules": ["结果包含可操作图表;指针进入后数据提示响应,不能只让图表整体缩放。", "三类问题保留统一请求入口,结果视觉类型分别变化。"], "transfer": ["可替换金融指标和科学主题;必须提供与问题相关的交互反馈。", "曲线值为示意数据,迁移时不能当原始金融数据使用。"], "unknown": ["阶段时间来自代表帧推断,尚未恢复原工程关键帧及缓动。", "示例仅重写关键关系,不包含原产品功能、精确字体和完整内部素材;未进行 fresh agent 复刻。", "未分析音轨,声音与动作同步关系未知。"], "measureTexts": ["Computer", "What do you want to know?", "Neap"], "labels": ["Explore your answers visually"], "coverTime": 12, "mechanism": "charts", "translations": {"en": {"templateName": "Perplexity — Explore your answers visually", "summary": "Questions resolve into interactive charts and explanatory diagrams.", "styleDescription": "Source-specific typography, palette and composition; exact font files are not recovered.", "reviewFocus": "Retain distinct output types and pointer-driven feedback. HTML is an authored explanation, not a full reconstruction."}}, "evidenceReview": {"status": "inferred", "sampledOverview": "worker3-review/V080.jpg", "sampleCount": 12, "note": "12-frame time coverage reviewed for all sources; full selected overview reviewed only where fullOverviewReviewed is true.", "fullOverviewReviewed": false, "ocrReviewed": true}, "creativeSummary": "结果包含可操作图表;指针进入后数据提示响应,不能只让图表整体缩放。", "guideChapters": {"overview": "Explore your answers visually · 动作语言", "composition": "构图与对象关系", "motion": "状态变化与动作依赖", "rhythm": "段落节奏与场景交接", "transfer": "主题替换与制作约束"}, "guidePlan": {"intro": "用统一提问入口串起不同的可交互答案:问题负责设定任务,图表里的具体反馈负责证明答案可以继续探索。", "sections": [{"title": "同一入口,不同答案形态", "text": ["先用金融问题建立操作方式,再切入科学问题。输入区域的尺寸、对齐和按钮位置保持一致;输出从曲线换成模拟图时,留一段简短主张作为转场。"], "demo": "storyboard"}, {"title": "曲线响应指针,而不只是出现", "text": ["曲线先进入,指针随后选择具体位置;提示、读数或辅助线与命中点同步更新。图表坐标和标题固定,反馈只发生在被操作的数据位置。"], "clip": [16, 27]}, {"title": "科学图解展示参数如何影响结果", "text": ["把天体位置、运动关系和说明分层绘制。改变参数后立即更新相关对象,仍保留参照物,使观众能比较前后差异;无关对象不跟着一起移动。"], "clip": [43, 54]}, {"title": "保留轻量工具的阅读感", "text": ["浅暖背景、深色文字和青绿色强调色贯穿两类答案。衬线标题放在主张页,图表轴标与控件使用清楚的无衬线字;主图居中,辅助说明靠近对应数据。"], "palette": true}, {"title": "把问题与交互成对替换", "text": ["改主题时先写一个能操作的问题,再选择合适答案形式。趋势用曲线,空间关系用示意图,分类对比用表格;标题、单位、数值和操作反馈须一起更新。"]}]}, "templateId": "V080", "name": "Computer 能生成交互图表", "duration": 61.6, "initialTime": 12, "sourceCanvas": {"width": 1280, "height": 720}, "actionRange": [5, 27]};
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": [[3.5, 12], [29, 34.5], [42.5, 47.5]], "samples": [[3.5, [691.0000006710081, 400.00000033800615]], [4, [650.8814461405578, 400.5447346891692]], [4.5, [643.9999980711258, 399.99999964495703]], [5.5, [646.9999984615268, 402.9999977979003]], [6, [928.0000043733332, 573.4999990975505]], [6.5, [925.99999845, 571.999999625]], [7, [896.062748328048, 575.1843155082261]], [7.5, [850.0000024888889, 574.9999998999999]], [8, [726.9592612196816, 571.4122847571837]], [8.5, [443.959205557333, 558.9991683631846]], [9, [361.6735735887847, 535.4404142980734]], [9.5, [381.9999980333333, 496.0000000333333]], [10, [290.9892323028945, 302.4468924305563]], [10.5, [328.2961200531708, 308.31821263537125]], [11, [336.3024535889963, 311.3559720214222]], [11.5, [342.9571234149545, 302.7804667317679]], [12, [339.9884352629972, 231.94180433083076]], [29, [393.9925700404617, 333.62611038451024]], [29.5, [392.97860007097484, 321.39711041150383]], [30.5, [394.63688004649066, 320.3560213264689]], [31, [388.99999994999996, 318.0000005217519]], [32.5, [385.9692734201052, 316.8514106193089]], [33.5, [391.63018712757, 318.32298370490696]], [34, [387.98345729588095, 318.4185409116036]], [34.5, [383.98675948623924, 307.9366267508288]], [42.5, [393.9809115188134, 325.8948580401181]], [43, [393.9818234748329, 321.4150990923731]], [44, [395.6602822310257, 321.46515940344005]], [44.5, [390.01675481290476, 318.1251604429685]], [47, [387.96647932191365, 317.8132002861006]], [47.5, [386.99999946666674, 308.00000022175186]]], "maxCompressionErrorVsObservations": 1.8462517364310997, "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": [[3.5, 12], [29, 34.5], [42.5, 47.5]], "samples": [[3.5, 69.25462341308594], [4, 69.39237976074219], [4.5, 81.94243621826172], [5, 79.94496917724604], [5.5, 88.48836135864263], [6, 59.0], [6.5, 60.0], [7, 99.70195770263672], [7.5, 58.0], [8, 69.48139190673828], [8.5, 62.55287170410156], [9, 45.2727165222168], [9.5, 36.0], [10, 345.1062156993419], [10.5, 301.36357483170707], [12, 284.11639118833847], [29, 239.41444486186347], [30.5, 245.28795744951185], [31, 239.9999995564961], [32.5, 242.29717816138228], [33.5, 249.354032825969], [34, 249.16291841257578], [34.5, 244.12674639834233], [42.5, 244.21028285309717], [44.5, 240.42639259181433], [47.5, 239.99999895649614]], "maxCompressionErrorVsObservations": 1.8334960476803417, "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": [[3.5, 12], [29, 34.5], [42.5, 47.5]], "samples": [[3.5, "in Computer"], [6, "@ Computer v"], [7, "• Computer v"], [7.5, "@ Computer v"], [8, "• Computer v"], [9, "Computer v"], [10, "Computer\n@ Computer v"], [12, "Computer\n@ Computer v"], [29, "Computer\n+Q Search @ Computerv"], [29.5, "Computer\n+ Q Search @Computer v"], [30, "Computer\n+Q Search (@Computer v"], [30.5, "Computer\n+QSearch (@Computer v"], [31, "Computer\nComputer v"], [31.5, "Computer\n• Computer v"], [33, "Computer\n+ Q Search (@ Computer v"], [34.5, "Computer\n• Computer v"], [42.5, "Computer\n+ Q Search (@ Computer v"], [44, "Computer\n+ Q Search @ Computer v"], [44.5, "Computer\nComputer v"], [46, "Computer\n• Computer v"], [47.5, "Computer\n• Computer v"]], "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": [[3.5, 12], [29, 34.5], [42.5, 47.5]], "samples": [[3.5, 422.2003479003906], [5, 444.3375549316406], [5.5, 474.4451599121094], [6, 437.33331298828125], [7, 452.83135986328125], [8, 439.9671325683594], [8.5, 417.2972106933593], [9, 304.84942626953114], [9.5, 236.0], [10, 474.0215423275443], [10.5, 420.7410892766876], [11, 404.72842675796636], [11.5, 402.08575261716123], [12, 392.02313367400575], [29, 332.01485801321707], [30.5, 341.392917773685], [31, 329.9999996333333], [32.5, 332.0614505597898], [33, 342.03458566288236], [33.5, 347.40628059980764], [34, 344.033093808238], [34.5, 336.0264846275214], [42.5, 332.03816785651384], [43.5, 334.0267620133827], [44, 339.3461134046149], [44.5, 328.0713766429253], [47.5, 333.9999986000001]], "maxCompressionErrorVsObservations": 1.6007537841796875, "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": [[10, 12], [29, 34.5], [42.5, 47.5]], "samples": [[10, [343.9999989749999, 203.00000028749997]], [10.5, [374.0000031999999, 220.99999986250003]], [11, [379.99999914999995, 226.00000024999997]], [11.5, [385.0000037499999, 217.99999966666672]], [12, [383.9999984000001, 149.49999989755045]], [29, [430.0319741393557, 262.01536562164586]], [29.5, [426.6666728888887, 247.99999937777775]], [33.5, [423.9999981333334, 248.00000062222216]], [34, [424.0000031999999, 245.9999997]], [34.5, [423.9999991714286, 239.00000024285714]], [42.5, [430.00000309999996, 253.9999997]], [43, [429.0000037399999, 249.99999963999994]], [44.5, [426.6666728888887, 247.99999937777775]], [47, [426.0000031666666, 247.9999997]], [47.5, [425.99999588000014, 239.00000006]]], "maxCompressionErrorVsObservations": 1.666668268888884, "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": [[10, 12], [29, 34.5], [42.5, 47.5]], "samples": [[10, 46.000000000000085], [11, 39.99999999999994], [12, 43.0], [29, 40.72292327880862], [30, 33.99999999999994], [31, 38.0], [33.5, 37.99999999999997], [34.5, 34.00000000000003], [42.5, 35.99999999999997], [43.5, 32.00000000000006], [44, 32.00000000000006], [44.5, 37.99999999999994], [46, 38.0], [47.5, 33.99999999999997]], "maxCompressionErrorVsObservations": 1.999999999999993, "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": [[10, 12], [29, 34.5], [42.5, 47.5]], "samples": [[10, "What do you want to know?"], [12, "What do you want to know?"], [29, "What do you want to know?"], [34.5, "What do you want to know?"], [42.5, "What do you want to know?"], [47.5, "What do you want to know?"]], "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": [[10, 12], [29, 34.5], [42.5, 47.5]], "samples": [[10, 580.0], [10.5, 512.0], [11, 491.9999999999999], [11.5, 486.0], [12, 490.6666564941407], [29, 408.6312561035157], [29.5, 416.0], [30, 408.0], [30.5, 416.0], [31, 416.0], [31.5, 410.0], [32.5, 412.0], [33, 421.33331298828125], [34.5, 416.0], [42.5, 404.0], [44, 406.0], [44.5, 416.0], [46, 416.0], [46.5, 410.0], [47.5, 412.00000000000006]], "maxCompressionErrorVsObservations": 1.77777099609375, "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": [[48, 51.5]], "samples": [[48, [613.9822151548088, 349.9174067173693]], [48.5, [698.0000003600001, 579.9999998433333]], [51, [700.0000009935037, 583.0000000833334]], [51.5, [699.000000025, 576.999999875]]], "maxCompressionErrorVsObservations": 0.8000001300682698, "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": [[48, 51.5]], "samples": [[48, 556.1651867652613], [48.5, 80.0000001533333], [49, 82.36385270949086], [49.5, 80.00000003333332], [51.5, 82.00000005000004]], "maxCompressionErrorVsObservations": 0.5929928324574121, "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": [[48, 51.5]], "samples": [[48, "Neap tides\nNeap\nNeap"], [48.5, "Neap\nNeap\nNeap"], [51.5, "Neap\nNeap\nNeap"]], "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": [[48, 51.5]], "samples": [[48, 640.0355668497002], [48.5, 476.00000007999995], [49, 480.12498302239294], [51, 483.99999914632554], [51.5, 481.99999925]], "maxCompressionErrorVsObservations": 1.0937372200427262, "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."}]};