phelpsyacht/dshmath-manim
phelpsyacht★ 0PythonLast synced: 2026-08-14
deepseek harness manim数学插件
README excerpt
dshmath-manim DeepSeek Harness(dsh)数学动画插件 —— 基于 Manim CE 将数学概念渲染为动画视频。 「一切皆插件」:本插件以 Cordis 插件形式提供一组 Tool ,模型通过自然语言即可生成数学动画。 架构 目录结构 数学动画向导(零代码使用) 面向只懂数学、不懂代码的用户。启动后浏览器打开即可使用: 流程:选择场景卡片(函数图像/导数切线/定积分/几何/极坐标/3D 曲面)→ 填写数学参数(全中文表单)→ 点击「生成动画」→ 预览并下载视频。全程无任何代码。 每个模板在 py/templates/ .json 中带有 ui 元数据(中文标签、参数提示、控件类型、下拉选项),向导页面由此自动生成表单。 提供的工具(模型可见) 工具 作用 适用场景 list math templates 列出模板与参数模式 开场发现能力 render math scene 模板参数化渲染(安全) 推荐路径 render math code 渲染模型自写 Manim 场景 模板不匹配时 validate math code AST 静态安全校验 渲染前的自愈检查 零代码技能包(Skill,核心推荐) 插件加载时会自动向 ctx.skills 注册两个技能( skills/ /SKILL.md ,每份都是一份完整提示词): 技能 路径 定位 math-animation skills/math-animation/ 默认推荐 :模板路径。把模型训练成"数学动画翻译官",口语 → 模板参数 → render math scene manim-codegen skills/manim-codegen/ 进阶 :自由代码路径。模板无法表达时,模型直接编写 Manim 0.19 场景代码 → validate math code → render math code ,实现多步动画、物体运动、图形变换、物理模拟等无限表现力 双轨自动决策 : math-animation 技能内置决策树,模板覆盖得了的需求走模板(安全、成功率高);覆盖不了或连续失败时,自动加载 manim-codegen 切换自由代码。用户视角始终是零代码。 使用者视角(零代码,完全不用接触代码) 在 dsh 对话中直接说数学/物理语言即可,例如: - 「画一个正弦函数和余弦函数在同一坐标系里的对比动画」 - 「y=x² 在 x=1 处的切线,标出导数」 - 「画出 sin x 从 0 到 π 的定积分,涂上面积」 - 「画一个蓝色三角形,标 ∠ABC」 - 「画心形线 r=1+cosθ」 - 「画马鞍面 z=x²-y²,能旋转的」 - 「弹簧振子的位移-时间图像」(物理 → 自动翻译为简谐运动曲线) 模型会加载技能 → 翻译成模板参数 → 调用 render math sc…
View full README on GitHub →Category
🎨 The open-source Claude Design alternative. 🖥️ Local-first desktop app. 🖼️ Your coding agent becomes the design engine: prototypes, landing pages, dashboards, slides, images & video — real files, HTML/PDF/PPTX/MP4 export. 🤖 Claude Code / Codex / Cursor / Gemini / OpenCode / Qwen & 20+ CLIs via BYOK.
★ 86,052
titanwings/colleague-skill将冰冷的离别化为温暖的 Skill,欢迎加入数字生命1.0!Transforming cold farewells into warm skills? It's giving rebirth era. Welcome to Digital Life 1.0. 🫶
★ 21,889
tt-a1i/archifyAgent skill for beautiful, verifiable architecture, workflow, sequence, data-flow, and lifecycle diagrams—self-contained HTML with motion and crisp export.
★ 12,333