Skip to content
TheChatArchiveThe Chat Archive
o3-mini· OpenAIHugging Face LMArena Human Preference 140K

svg code for a baterfly

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with grok-3-mini-beta’s answer.
  1. User

    svg code for a baterfly

  2. Assistant

    Here's an example of SVG code that draws a stylized butterfly. You can copy and paste the code into an HTML file or an SVG editor to view and tweak it further:

    <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200">
      <!-- Left Top Wing -->
      <path
        d="M100,100
           C40,20, 10,60, 50,100
           Q30,120, 60,140
           C10,100, 40,20, 100,100"
        fill="pink"
        opacity="0.7"/>
      
      <!-- Left Bottom Wing -->
      <path
        d="M100,100
           C50,100, 10,140, 40,170
           Q70,150, 80,170
           C60,130, 40,100, 100,100"
        fill="lightblue"
        opacity="0.7"/>
    
      <!-- Right Top Wing -->
      <path
        d="M100,100
           C160,20, 190,60, 150,100
           Q170,120, 140,140
           C190,100, 160,20, 100,100"
        fill="orange"
        opacity="0.7"/>
      
      <!-- Right Bottom Wing -->
      <path
        d="M100,100
           C150,100, 190,140, 160,170
           Q130,150, 120,170
           C140,130, 160,100, 100,100"
        fill="yellow"
        opacity="0.7"/>
    
      <!-- Body -->
      <rect x="95" y="80" width="10" height="40" fill="brown"/>
    
      <!-- Head -->
      <circle cx="100" cy="70" r="5" fill="brown"/>
    </svg>
    

    Explanation

    • Wings: Four <path> elements draw the two top and two bottom wings using cubic Bézier curves (C) and quadratic Bézier curves (Q). You can adjust the control points to refine the wing shapes.
    • Body: A simple <rect> represents the butterfly’s torso.
    • Head: A <circle> forms the head.
    • Attributes: Colors and opacities are provided for a translucent, layered effect.

    Feel free to modify colors, shapes, or dimensions for your ideal butterfly illustration!

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