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.5 KB
Raw Blame
const CONFIG={"mode": "f3-rive-reel", "mechanism": "rive-reel", "demoTitle": "Interactive motion", "brand": "Rive", "palette": ["#070909", "#eaf1ee", "#55efba", "#d553a2", "#eac34f", "#8b68f5"], "accent": "#55efba", "font": "无衬线紧凑游戏标题与等宽状态数字;不同作品保留自身字体,外部舞台纯黑", "stages": [{"start": 0, "label": "竞速菜单"}, {"start": 2, "label": "轨道加速"}, {"start": 6, "label": "节奏游戏"}, {"start": 8.2, "label": "纸牌"}, {"start": 13, "label": "玻璃控件"}, {"start": 15, "label": "旋钮面板"}, {"start": 17, "label": "设计系统"}, {"start": 21, "label": "编辑器与旗帜"}, {"start": 25.6, "label": "步进音序器"}, {"start": 29.5, "label": "卡牌游戏"}, {"start": 31, "label": "黑场"}], "objects": ["竞速轨道", "节奏箭头", "纸牌列", "玻璃控件", "旋钮", "编辑器", "步进格子"], "rules": ["用一连串真正发生状态变化的作品说明交互能力:游戏、控件、设计系统和音序器各演示一个清楚动作。", "竞速轨道有前进速度,节奏游戏有击中反馈,纸牌有位置变化。每个作品独占一屏,不把所有案例缩成同时播放的小格。", "作品之间可有不同配色和字体,但四周保留黑色边距。状态数字、选中颜色与动作结果足够亮;控件的暗色基底不应吞掉边缘。"], "transfer": ["新主题可替换成不同应用,但每屏都要有输入、状态与反馈。多个作品可以共用外部框架,内部不必强行统一成同一风格。"], "unknown": ["时序与对象关系按所阅概览归纳,原始关键帧、缓动和字体文件未知。", "HTML 是 authored 机制示例,不是逐像素复刻;未进行 fresh agent 复刻。", "未分析音轨。", "原片包含多款独立作品,真实游戏逻辑和状态机未知;示例各以简化可定位动画演示。"], "measureTexts": ["FFFFFF", "HOSTILE", "The quick brown fox jumps over the lazy dog"], "labels": ["Interactive motion"], "coverTime": 27, "creativeSummary": "用一连串真正发生状态变化的作品说明交互能力:游戏、控件、设计系统和音序器各演示一个清楚动作。", "guidePlan": {"intro": "用一连串真正发生状态变化的作品说明交互能力:游戏、控件、设计系统和音序器各演示一个清楚动作。", "sections": [{"title": "先让观众看见动作,再换作品", "text": ["竞速轨道有前进速度,节奏游戏有击中反馈,纸牌有位置变化。每个作品独占一屏,不把所有案例缩成同时播放的小格。"], "timeline": true}, {"title": "黑色外部舞台统一不同视觉语言", "text": ["作品之间可有不同配色和字体,但四周保留黑色边距。状态数字、选中颜色与动作结果足够亮;控件的暗色基底不应吞掉边缘。"], "palette": true}, {"title": "音序器用扫描线串起格子反馈", "text": ["固定列宽与行距,亮格表示已编排步骤,播放头匀速横移。扫描到亮格时短促加强亮度,跨越空格时不改变其状态。"], "clip": [25.6, 28.8]}, {"title": "换案例时保留可见的交互因果", "text": ["新主题可替换成不同应用,但每屏都要有输入、状态与反馈。多个作品可以共用外部框架,内部不必强行统一成同一风格。"]}]}, "evidenceReview": {"kind": "prepared-overview", "fullOverviewReviewed": true, "ocrReviewed": true, "sampleCount": 24, "reviewedFrameIds": ["K0001", "K0006", "K0012", "K0017", "K0023", "K0028", "K0034", "K0039", "K0044", "K0050", "K0055", "K0061", "K0066", "K0072", "K0077", "K0083", "K0088", "K0093", "K0099", "K0104", "K0110", "K0115", "K0121", "K0126"], "note": "All frames visible in prepared/overview.jpg and text-index.json reviewed. Boundaries inferred between samples."}, "translations": {"en": {"templateName": "Rive — Interactive motion", "summary": "A black-framed showcase demonstrates distinct interactive mechanics, culminating in a step sequencer.", "styleDescription": "Sans-serif lettering with a restrained type hierarchy and source colors #070909, #eaf1ee, #55efba, #d553a2, #eac34f, #8b68f5.", "reviewFocus": "Preserve the named object relationships, stage order, typography hierarchy and content replacement rules. Demonstration is authored."}}, "templateId": "V384", "name": "Rive CLI — build Rive files with your agent", "duration": 31.266667, "initialTime": 27, "sourceCanvas": {"width": 1920, "height": 1080}, "actionRange": [2, 13]};
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": [[17.5, 18], [21.5, 23.5]], "samples": [[17.5, [397.67441946890307, 507.906976626052]], [18, [791.1553551086847, 870.7337611543562]], [21.5, [608.3720926325582, 366.97674412093033]], [22, [608.372092627907, 521.8604650477469]], [22.5, [608.372092627907, 500.9302324941861]], [23, [159.0697678535554, 489.767441902398]], [23.5, [159.0697678535554, 489.767441902398]]], "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.height", "target": "text-0", "property": "height", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[17.5, 18], [21.5, 23.5]], "samples": [[17.5, 17.39463615417486], [18, 161.93263861371918], [21.5, 320.9302322147412], [22, 630.6976740683742], [22.5, 53.02325547288058], [23, 973.953488224478], [23.5, 973.953488224478]], "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.text", "target": "text-0", "property": "text", "unit": "text", "space": "canvas", "status": "measured", "source": "video", "method": "text", "interpolation": "step", "valid": [[17.5, 18], [21.5, 23.5]], "samples": [[17.5, "#FFFFFFFF"], [18, "#14FFFFFF\n#1FFFFFFF\n#66FFFFFF"], [21.5, "FFFFFF\nFFFFFF\nFFFFFF\nNFFFFFF"], [22, "FFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\n•FFFFFF"], [22.5, "FFFFFF\nFFFFFF\nNFFFFFF"], [23, "FFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF"], [23.5, "FFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF\nFFFFFF"]], "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": [[17.5, 18], [21.5, 23.5]], "samples": [[17.5, 86.63516235351562], [18, 873.503239620805], [21.5, 161.86046404035915], [22.5, 161.86046403105684], [23, 167.4418606692916], [23.5, 167.4418606692916]], "maxCompressionErrorVsObservations": 1.0279067055307678e-06, "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": [[24, 25.5]], "samples": [[24, [967.0442531714513, 706.0465117047236]], [25.5, [966.9767451162791, 706.0465117686771]]], "maxCompressionErrorVsObservations": 0.0450063003474952, "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": [[24, 25.5]], "samples": [[24, 524.6511627128502], [25.5, 524.6511625849432]], "maxCompressionErrorVsObservations": 8.527138106728671e-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-1.text", "target": "text-1", "property": "text", "unit": "text", "space": "canvas", "status": "measured", "source": "video", "method": "text", "interpolation": "step", "valid": [[24, 25.5]], "samples": [[24, "HOSTILE\nHOSTILE\nHOSTILE\nHOSTILE\nHOSTILE\nHOSTILE\n• HOSTILE"], [25.5, "HOSTILE\nHOSTILE\nHOSTILE\nHOSTILE\nHOSTILE\nHOSTILE\n• HOSTILE"]], "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": [[24, 25.5]], "samples": [[24, 901.5303699018598], [25.5, 901.3953500705851]], "maxCompressionErrorVsObservations": 0.09001136038455115, "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": [[19, 19.5]], "samples": [[19, [1188.8372047973426, 623.9534884894946]], [19.5, [1188.8372093211983, 447.70930188372085]]], "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.height", "target": "text-2", "property": "height", "unit": "px", "space": "canvas", "status": "fitted", "source": "video", "method": "text", "interpolation": "linear", "valid": [[19, 19.5]], "samples": [[19, 472.0930236594261], [19.5, 293.41860456029417]], "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": [[19, 19.5]], "samples": [[19, "The quick brown fox jumps over the lazy dog\nThe quick brown fox jumps over the lazy dog\nThe quick brown fox jumps over the lazy dog\nThe quick brown fox jumps over the lazy dog\nThe quick brown fox jumps over the lazy dog\nThe quick brown fox jumps over the lazy dog\nThe quick brown fox jumps over the lazy dog\nThe quick brown fox jumps over the lazy dog\nThe quick brown fox jumps over the lazy dog\nThe quick brown fox jumps over the lazy dog\nThe quick brown fox jumps over the lazy dog"], [19.5, "The quick brown fox jumps over the lazy dog\nThe quick brown fox jumps over the lazy dog\nThe quick brown fox jumps over the lazy dog\nThe quick brown fox jumps over the lazy dog\nThe quick brown fox jumps over the lazy dog\nThe quick brown fox jumps over the lazy dog"]], "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": [[19, 19.5]], "samples": [[19, 630.697692871094], [19.5, 630.6976788492459]], "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."}]};