Opus 5.5 — 通用Intermediate
交互式镜头实验室(光圈与景深)
在 Canvas 上模拟薄透镜对焦、f 值、焦距与画幅,可拖拽主体并实时景深模糊。
Coding & simulationphysicsopticssimulationcanvas
查看详情在改动支付/积分等生产代码前,让 Opus 5.5 提取循环不变量、前后条件与安全重构步骤。
Analyze the supplied module for a safe refactor. Steps (show work): 1. List public entrypoints and side effects (DB, HTTP, filesystem). 2. For each non-trivial loop/recursion: state invariant, variant function, and termination argument. 3. Identify hidden coupling (shared mutable state, implicit ordering). 4. Propose refactor as small steps; each step must preserve observational equivalence for listed entrypoints. 5. Flag race conditions under concurrent calls. 6. Output test cases that would fail if invariants break (table: input, expected, property checked). Do NOT rewrite code until step 6 is approved. Use markdown headings.
每次粘贴一个 module 服务文件;对照现有测试;FIFO 积分逻辑特别适合分步推理。
在 Canvas 上模拟薄透镜对焦、f 值、焦距与画幅,可拖拽主体并实时景深模糊。
为抽卡式奖励时刻生成 Canvas/WebGL 粒子、屏闪、震屏与稀有度色带,目标中端机 60fps。
用 Canvas 与滚动叙事讲解自注意力、多头注意力与前馈层,实时标注张量维度并高亮 token。
可复用的系统提示词:缓动曲线、构图节奏、动画 12 原则、节拍对齐与 UI/品牌动效交付规范。