用 Claude 在 Canvas 上画应用图标的提示词技巧
让 Claude 用 JS 在 canvas 上直接画应用图标,作者拿自己 BaoCut.app 实测,提示词附上,做 App 的可以试试。
博主 BaoCut.app 的作者分享了一条提示词:直接让 Claude 用 JS 在 canvas 上绘制应用图标,并描述图标需要体现视频剪辑和 AI Agents 元素。作者是在包含代码和原型图的项目源码里执行这条提示词的。要求图标风格简洁、色彩鲜明,最终图标由 JS 代码直接生成。
The prompt is very straightforward: just ask it to draw an app icon using JS on a canvas, and then describe your icon's features and requirements. In my case, I simply went into my app's source code project (which includes both the code and prototypes) and prompted Claude: > Please redesign the app icon for BaoCut.app . Keep it simple and colorful, and make sure it reflects video editing and AI Agents. Directly draw it on a canvas using JS. 💬 0 🔄 0 ❤️ 0 👀 952 📊 1 ⚡
- Simon Willison’s Weblog09-26 23:39原文