Skip to content
TheChatArchiveThe Chat Archive
Claudeclaude-3-5-sonnet-20241022· AnthropicHugging Face LMArena Human Preference 140K

用svg画个蝴蝶。注意细节

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Geminigemini-2.0-flash-001’s answer.
  1. User

    用svg画个蝴蝶。注意细节

  2. Claude Assistant

    这里是一个相对详细的蝴蝶 SVG 代码,包含了翅膀纹理和身体细节:

    <svg width="400" height="300" viewBox="0 0 400 300" xmlns="http://www.w3.org/2000/svg">
      <!-- 左上翅膀 -->
      <path d="M200,150 Q120,50 80,30 Q60,20 50,40 Q30,80 70,130 Q120,170 200,150"
            fill="purple" opacity="0.8">
        <animate attributeName="opacity" values="0.7;0.9;0.7" dur="3s" repeatCount="indefinite"/>
      </path>
      
      <!-- 左上翅膀纹理 -->
      <path d="M180,140 Q130,80 90,40 M160,140 Q110,90 80,60 M140,140 Q100,100 70,80"
            stroke="white" fill="none" stroke-width="2" opacity="0.5"/>
      
      <!-- 右上翅膀 -->
      <path d="M200,150 Q280,50 320,30 Q340,20 350,40 Q370,80 330,130 Q280,170 200,150"
            fill="purple" opacity="0.8">
        <animate attributeName="opacity" values="0.7;0.9;0.7" dur="3s" repeatCount="indefinite"/>
      </path>
      
      <!-- 右上翅膀纹理 -->
      <path d="M220,140 Q270,80 310,40 M240,140 Q290,90 320,60 M260,140 Q300,100 330,80"
            stroke="white" fill="none" stroke-width="2" opacity="0.5"/>
      
      <!-- 左下翅膀 -->
      <path d="M200,150 Q140,200 100,240 Q80,260 90,230 Q100,190 130,170 Q160,160 200,150"
            fill="purple" opacity="0.7"/>
      
      <!-- 右下翅膀 -->
      <path d="M200,150 Q260,200 300,240 Q320,260 310,230 Q300,190 270,170 Q240,160 200,150"
            fill="purple" opacity="0.7"/>
      
      <!-- 身体 -->
      <path d="M200,130 Q205,140 200,150 Q195,160 200,170 Q205,180 200,190"
            stroke="black" stroke-width="8" fill="none"/>
      
      <!-- 触角 -->
      <path d="M200,130 Q180,100 170,90 M200,130 Q220,100 230,90"
            stroke="black" stroke-width="2" fill="none"/>
      
      <!-- 头部 -->
      <circle cx="200" cy="130" r="5" fill="black"/>
      
      <!-- 装饰点 -->
      <circle cx="150" cy="100" r="3" fill="white" opacity="0.8"/>
      <circle cx="250" cy="100" r="3" fill="white" opacity="0.8"/>
      <circle cx="160" cy="120" r="2" fill="white" opacity="0.8"/>
      <circle cx="240" cy="120" r="2" fill="white" opacity="0.8"/>
      
      <!-- 翅膀上的圆形花纹 -->
      <circle cx="140" cy="80" r="5" fill="white" opacity="0.5"/>
      <circle cx="260" cy="80" r="5" fill="white" opacity="0.5"/>
      <circle cx="120" cy="100" r="4" fill="white" opacity="0.5"/>
      <circle cx="280" cy="100" r="4" fill="white" opacity="0.5"/>
    </svg>
    

    这个蝴蝶 SVG 包含以下特点:

    1. 对称的上下翅膀
    2. 翅膀上的纹理线条
    3. 半透明效果
    4. 上翅膀有动画效果(透明度渐变)
    5. 细致的身体和触角
    6. 装饰性的白点
    7. 优雅的曲线使用 Q 命令(二次贝塞尔曲线)

    你可以通过调整以下部分来自定义蝴蝶:

    • 颜色:修改 fill 属性
    • 大小:调整 path 中的坐标值
    • 透明度:修改 opacity 值
    • 动画速度:调整 animate 的 dur 值
    • 纹理:添加或修改装饰性的路径和圆点

    这个蝴蝶是紫色的,你可以通过修改 fill 的颜色值来改变蝴蝶的颜色。翅膀的形状也可以通过调整路径坐标来修改。

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.