write detailed svg code for butterfly
- User
write detailed svg code for butterfly
- Assistant
Below is an SVG example that draws a detailed butterfly with four gracefully curved wings, a textured body with antennae, and decorative “eyespot” details on each wing. You can copy the code into an HTML document or an SVG file to view the artwork.
<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg"> <!-- Define gradients for the wings --> <defs> <linearGradient id="leftWingGradient" x1="0%" y1="0%" x2="0%" y2="100%"> <stop offset="0%" style="stop-color:#FF66CC; stop-opacity:1"/> <stop offset="100%" style="stop-color:#FF0099; stop-opacity:1"/> </linearGradient> <linearGradient id="rightWingGradient" x1="0%" y1="0%" x2="0%" y2="100%"> <stop offset="0%" style="stop-color:#66CCFF; stop-opacity:1"/> <stop offset="100%" style="stop-color:#0099FF; stop-opacity:1"/> </linearGradient> </defs> <!-- Left Top Wing --> <path d="M250,250 C180,200 120,150 100,180 C130,220 200,260 250,250 Z" fill="url(#leftWingGradient)" stroke="black" stroke-width="2"/> <!-- Left Bottom Wing --> <path d="M250,250 C180,300 120,350 100,320 C130,280 200,260 250,250 Z" fill="url(#leftWingGradient)" stroke="black" stroke-width="2"/> <!-- Right Top Wing --> <path d="M250,250 C320,200 380,150 400,180 C370,220 300,260 250,250 Z" fill="url(#rightWingGradient)" stroke="black" stroke-width="2"/> <!-- Right Bottom Wing --> <path d="M250,250 C320,300 380,350 400,320 C370,280 300,260 250,250 Z" fill="url(#rightWingGradient)" stroke="black" stroke-width="2"/> <!-- Butterfly Body --> <rect x="245" y="180" width="10" height="140" fill="#8b4513" stroke="black" stroke-width="2"/> <!-- Antennae --> <path d="M250,180 Q230,150 210,140" stroke="black" stroke-width="2" fill="none"/> <path d="M250,180 Q270,150 290,140" stroke="black" stroke-width="2" fill="none"/> <!-- Wing Patterns (Large Eyespot circles) --> <circle cx="120" cy="170" r="12" fill="white" stroke="black" stroke-width="2"/> <circle cx="380" cy="170" r="12" fill="white" stroke="black" stroke-width="2"/> <circle cx="120" cy="330" r="12" fill="white" stroke="black" stroke-width="2"/> <circle cx="380" cy="330" r="12" fill="white" stroke="black" stroke-width="2"/> <!-- Inner details for the eyespots --> <circle cx="120" cy="170" r="6" fill="#FF66CC" stroke="black" stroke-width="1"/> <circle cx="380" cy="170" r="6" fill="#66CCFF" stroke="black" stroke-width="1"/> <circle cx="120" cy="330" r="6" fill="#FF66CC" stroke="black" stroke-width="1"/> <circle cx="380" cy="330" r="6" fill="#66CCFF" stroke="black" stroke-width="1"/> </svg>Explanation
-
Gradients:
Two<linearGradient>elements in the<defs>section provide a smooth color transition for the left (pinkish) and right (bluish) wings. -
Wings:
Each wing is drawn using a<path>element with a series of cubic Bézier curves (C) that create a flowing, organic shape. The left and right wings are mirror images of one another. -
Body and Antennae:
A vertical<rect>stands in for the butterfly’s body. Two curved<path>elements represent the antennae at the top of the body. -
Eyespot Details:
Four circles on the wings (two on each side) simulate decorative eyespots. Each eyespot features a larger white circle with a smaller colored circle inside for added detail.
Feel free to adjust the coordinates, curves, colors, and other attributes to further refine your butterfly illustration. Enjoy experimenting with SVG!
-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Identical first prompt
- o4-mini-2025-04-16Compare side by side →
qwq-32bCompare side by side →
- o3-miniCompare side by side →
llama-4-maverick-03-26-experimentalCompare side by side →
gemini-2.0-flash-001Compare side by side →
gemini-2.5-pro-preview-03-25Compare side by side →
gemini-2.5-flash-preview-04-17Compare side by side →
- grok-3-preview-02-24Compare side by side →
gemini-2.0-flash-001Compare side by side →
- grok-3-preview-02-24Compare side by side →
- grok-3-mini-betaCompare side by side →