Here's a detailed SVG code for a butterfly with intricate wings, gradients, and patterns:
svg Copy code
<svg width="200" height="200" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
<defs>
<!-- Wing gradients -->
<linearGradient id="topWingGrad" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stop-color="#FFD700" stop-opacity="1"/>
<stop offset="100%" stop-color="#FFA07A" stop-opacity="1"/>
</linearGradient>
<linearGradient id="bottomWingGrad" x1="0%" y1="100%" x2="100%" y2="0%">
<stop offset="0%" stop-color="#87CEEB" stop-opacity="1"/>
<stop offset="100%" stop-color="#ADD8E6" stop-opacity="1"/>
</linearGradient>
<!-- Body gradients -->
<radialGradient id="bodyGrad" cx="50%" cy="50%" r="50%">
<stop offset="0%" stop-color="#A0522D"/>
<stop offset="100%" stop-color="#8B4513"/>
</radialGradient>
</defs>
<!-- Butterfly Body -->
<path id="body" d="M85 100q0 15-10 25T65 100q0 -15 10 -25Z"
fill="url(#bodyGrad)" stroke="#8B4513" stroke-width="2"/>
<!-- Abdomen -->
<rect x="80" y="90" width="20" height="20" rx="10"
fill="url(#bodyGrad)" stroke="#8B4513" stroke-width="2"/>
<!-- Left Wings -->
<g id="leftWings">
<!-- Top Left Wing -->
<path d="M65 100C50 80 40 60 30 50C20 40 15 30 10 20C0 10 10 0 20 10C30 20 40 30 50 40C60 50 70 60 80 70C90 80 100 90 110 100C120 110 130 120 140 130C150 140 160 150 170 160C180 170 190 180 200 190"
fill="url(#topWingGrad)" stroke="#FFD700" stroke-width="1"/>
<!-- Bottom Left Wing -->
<path d="M65 100C55 120 50 140 45 160C40 180 35 195 30 200C25 205 20 200 15 190C10 180 5 160 0 150C-5 140 0 130 10 120C20 110 30 100 40 90C50 80 60 70 70 60C80 50 90 40 100 30C110 20 120 10 130 0C140 -10 150 0 160 10C170 20 180 30 190 40C200 50 210 60 220 70"
fill="url(#bottomWingGrad)" stroke="#87CEEB" stroke-width="1"/>
</g>
<!-- Right Wings (Mirrored) -->
<g transform="scale(-1,1) translate(-200,0)">
<use href="#leftWings"/>
</g>
<!-- Wing Patterns -->
<circle cx="70" cy="80" r="5" fill="#FF4500"/>
<circle cx="130" cy="80" r="5" fill="#FF4500"/>
<circle cx="90" cy="120" r="3" fill="#FFD700"/>
<circle cx="110" cy="120" r="3" fill="#FFD700"/>
<path d="M90 140q0 10 10 10t10 -10q0 -10 -10 -10z" fill="#8A2BE2"/>
<!-- Shadow -->
<rect x="70" y="105" width="60" height="15" rx="5"
fill="rgba(0,0,0,0.1)" transform="rotate(-10)"/>
</svg>
This SVG creates a detailed butterfly with:
Body and abdomen using radial gradients for a natural look
Symmetrical wings with:
Top wings in gold/yellow gradient
Bottom wings in blue gradient
Complex curved paths for wing shapes
Pattern details including:
Colored circles
Small diamond shapes
Shadow effect under the body
Gradients and transparency for depth
Mirroring technique for right wings using transforms
The viewbox is set to 200x200 for scalability. You can adjust the colors, gradients, and dimensions by modifying the values in the code. The butterfly is centered with some negative space around it for better viewing.