Generate the SVG code for a butterfly.
- User
Generate the SVG code for a butterfly.
Assistant
Creating a simple SVG representation of a butterfly involves detailing the shape and adding some colors to give it life. Here's a basic SVG code for a butterfly:
xml<svg width="200" height="200" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"> <!-- Butterfly's body --> <ellipse cx="100" cy="100" rx="40" ry="20" fill="lightblue" /> <!-- Butterfly's wings --> <!-- Left wing --> <path d="M40,120 Q60,60 100,120 T160,120 Q120,60 90,120" fill="green" /> <!-- Right wing --> <path d="M60,120 Q100,60 140,120 T180,120 Q120,60 70,120" fill="green" /> <!-- Butterfly's antenna --> <line x1="40" y1="90" x2="60" y2="90" stroke="black" stroke-width="2" /> <line x1="160" y1="90" x2="180" y2="90" stroke="black" stroke-width="2" /> <!-- Butterfly's eyes --> <circle cx="50" cy="50" r="2.5" fill="black" /> <circle cx="150" cy="50" r="2.5" fill="black" /> </svg>
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.