plot3d-surface
Manifest validInteractive 3D surface plotting tool card for the DSH chat, with drag-rotate, wheel-zoom and live-editable expression, range and mesh.
plot3d-surface
在 DSH 聊天里渲染可交互 3D 函数曲面 (z=f(x,y)) 的 DeepSeek Harness 插件。
An interactive 3D surface plugin for DeepSeek Harness (DSH): a custom tool card with drag-rotate, wheel-zoom, and live-editable expression, ranges, and mesh density.
功能
- 工具
plot3d_surface:模型调用后,聊天流里出现一张可拖拽旋转(不限角度)、滚轮缩放的 3D 曲面卡片。 - 卡片内实时编辑:表达式、(x/y) 范围、网格密度改动后即时重绘,不需要重新请求模型。
- 三种模式
explicit(默认):(z=f(x,y)),变量x、y;parametric:(r(u,v)=(x(u,v),y(u,v),z(u,v))),变量u、v;implicit:(F(x,y,z)=0),等值面渲染。
- 表达式支持
sin/cos/tan/asin/acos/atan/exp/log/sqrt/abs/pow/min/max/floor/ceil/round与常量pi、e。 - NaN 区域自动跳过,坐标轴画在原点;浅色/深色主题自适应。
安装
dsh plugin --profile desktop add link:C:/Users/Z/.dsh/plugins/plot3d-surface
或在 DSH 设置 → 插件里安装本仓库。插件声明了 bundle patch,装好后重载/重启 DSH 生效。
用法
模型侧直接调用工具:
{
"expr": "sin(x)*cos(y)",
"xMin": -3, "xMax": 3, "yMin": -3, "yMax": 3, "mesh": 48
}
参数化曲面:
{
"mode": "parametric",
"xExpr": "sin(u)*cos(v)", "yExpr": "sin(u)*sin(v)", "zExpr": "cos(u)",
"uMin": 0, "uMax": 3.14159, "vMin": 0, "vMax": 6.28318, "mesh": 60
}
隐式曲面:
{ "mode": "implicit", "fExpr": "x*x+y*y+z*z-1", "zMin": -3, "zMax": 3 }
结构
plot3d-surface/
├── package.json # dsh.bundle / dsh.client 声明
├── cordis.patch.yml # 插入 tool-plot3d-surface 行
└── lib/
├── index.js # 宿主侧:工具定义与渲染
└── client.js # Web 端:可交互 3D 卡片
License
MIT
Comments
Loading…
Similar plugins
by wszw142857-beep
Interactive cards for DeepSeek Harness replies: sliders, forms, charts and tables from a tool result, with actions that flow back to the agent.
★ 0
MIT
JavaScript
Oct 21, 2026
dsh plugin --profile web add dsh-tool-cardsby Haitang-Hub
3D 导演台 —— DSH 桌面端插件,把 3D 场景编排(摆角色、设镜头、时间轴预演、导出视频)暴露为 MCP 工具,供 AI Agent 直接调用,本地数据落盘、开箱即用。
★ 0
MIT
JavaScript
Nov 21, 2026
dsh plugin --profile web add dsh-3d-director-deskby nszm
Floating desktop companion for DSH: a draggable character on the overlay — tap to charge energy, blinking and emotes, naps, synthesized WebAudio sounds and particle effects. Bring your own: any photo
★ 0
BSD-3-Clause
TypeScript
Oct 27, 2026
dsh plugin --profile web add dsh-pet-lingchongby SMOKTEA
Let the agent turn your data into an interactive chart. | 一句话:让 Agent 帮你把数据变成一张可交互的图表。
★ 0
MIT
TypeScript
Aug 29, 2026
dsh plugin --profile web add dsh-chartlabby wwwangzilin
DSH Web 插件:新建会话界面上的角色卡 + 工作区卡选择器(毛玻璃卡片墙 / 横向滚动 / 角色主题色 / 入场动画)
★ 0
TypeScript
Sep 18, 2026
dsh plugin --profile web add dsh-role-cardsby Nagi-ovo
在 DSH 对话中生成交互式可视化|Render model-generated interactive cards inside DSH conversations
★ 348
BSD-3-Clause
TypeScript
Nov 15, 2026
dsh plugin --profile web add @dsh-external/dsh-visualize