帮我生成一个usb连接电脑的svg图片
- User
帮我生成一个usb连接电脑的svg图片
Assistant
我可以为您创建一个USB连接电脑的SVG图片。这里是一个简洁的设计:
<svg width="300" height="200" viewBox="0 0 300 200" xmlns="http://www.w3.org/2000/svg"> <!-- 电脑显示器 --> <rect x="20" y="40" width="120" height="80" rx="5" fill="#2c3e50" stroke="#34495e" stroke-width="2"/> <rect x="30" y="50" width="100" height="60" fill="#3498db"/> <!-- 电脑底座 --> <rect x="60" y="120" width="30" height="15" fill="#2c3e50"/> <ellipse cx="75" cy="140" rx="25" ry="5" fill="#34495e"/> <!-- USB线缆 --> <path d="M 140 80 Q 180 60 220 80" stroke="#e74c3c" stroke-width="4" fill="none"/> <!-- USB接口 --> <rect x="135" y="77" width="12" height="6" rx="1" fill="#95a5a6"/> <!-- USB设备 --> <rect x="210" y="70" width="60" height="20" rx="3" fill="#e67e22" stroke="#d35400" stroke-width="1"/> <rect x="215" y="75" width="8" height="10" fill="#f39c12"/> <text x="230" y="83" font-family="Arial" font-size="8" fill="white">USB</text> <!-- 连接指示 --> <circle cx="190" cy="70" r="3" fill="#2ecc71"> <animate attributeName="opacity" values="1;0.3;1" dur="1.5s" repeatCount="indefinite"/> </circle> <!-- 标签 --> <text x="75" y="170" font-family="Arial" font-size="12" text-anchor="middle" fill="#2c3e50">电脑</text> <text x="240" y="110" font-family="Arial" font-size="12" text-anchor="middle" fill="#2c3e50">USB设备</text> </svg>这个SVG图片包含了:
- 一台简化的电脑(显示器和底座)
- 一根红色的USB连接线
- 一个橙色的USB设备
- 连接状态的动画指示灯
- 简洁的标签说明
您可以将这段代码保存为.svg文件,或者直接在支持SVG的应用中使用。如果您需要调整颜色、大小或样式,我可以帮您修改。
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.