Dobrá, vytvořit "opravdu pěknou a detailní" Medúzu v SVG ručně je poměrně náročný úkol, protože SVG kód pro komplexní kresby může být velmi dlouhý a vyžaduje přesné definování každé křivky a tvaru.
Pokusím se o stylizovanou, ale rozpoznatelnou verzi Medúzy s důrazem na klíčové prvky (hlava, hadí vlasy, výraz). Výsledný kód bude kompromisem mezi detailností a čitelností/délkou kódu.
Zde je kód. Doporučuji jej zkopírovat do souboru s příponou .svg (např. medusa.svg) a otevřít v prohlížeči nebo SVG editoru.
<svg width="500" height="500" viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg">
<!-- Pozadí pro lepší kontrast -->
<rect width="100%" height="100%" fill="#2c3e50"/>
<!-- Definice gradientů pro hady a obličej -->
<defs>
<radialGradient id="faceGradient" cx="50%" cy="40%" r="60%" fx="50%" fy="40%">
<stop offset="0%" style="stop-color:#8FBC8F; stop-opacity:1" /> <!-- Světlejší střed obličeje -->
<stop offset="100%" style="stop-color:#2E8B57; stop-opacity:1" /> <!-- Tmavší okraje -->
</radialGradient>
<linearGradient id="snakeGradient1" x1="0%" y1="0%" x2="0%" y2="100%">
<stop offset="0%" style="stop-color:#556B2F; stop-opacity:1" /> <!-- Tmavě olivová -->
<stop offset="100%" style="stop-color:#8FBC8F; stop-opacity:1" /> <!-- Světle zelená -->
</linearGradient>
<linearGradient id="snakeGradient2" x1="0%" y1="0%" x2="0%" y2="100%">
<stop offset="0%" style="stop-color:#2E8B57; stop-opacity:1" /> <!-- Mořská zelená -->
<stop offset="100%" style="stop-color:#3CB371; stop-opacity:1" /> <!-- Středně mořská zelená -->
</linearGradient>
<radialGradient id="eyeGradient" cx="50%" cy="50%" r="50%" fx="50%" fy="50%">
<stop offset="0%" style="stop-color:#FFD700; stop-opacity:1" /> <!-- Zlatá -->
<stop offset="70%" style="stop-color:#B8860B; stop-opacity:1" /> <!-- Tmavě zlatá -->
</radialGradient>
</defs>
<!-- Krk -->
<path d="M 220 320 Q 250 370 280 320 L 290 380 Q 250 420 210 380 Z" fill="url(#faceGradient)" stroke="#1a2530" stroke-width="2"/>
<!-- Obličej -->
<ellipse cx="250" cy="250" rx="90" ry="110" fill="url(#faceGradient)" stroke="#1a2530" stroke-width="3"/>
<!-- Oči -->
<g id="eyes">
<!-- Levé oko -->
<ellipse cx="215" cy="235" rx="25" ry="15" fill="white" stroke="#111" stroke-width="1.5"/>
<ellipse cx="215" cy="235" rx="12" ry="12" fill="url(#eyeGradient)"/>
<ellipse cx="215" cy="235" rx="6" ry="8" fill="#000"/> <!-- Zornička -->
<path d="M 190 230 Q 215 220 240 230" fill="none" stroke="#1a2530" stroke-width="3" stroke-linecap="round"/> <!-- Horní víčko -->
<path d="M 195 242 Q 215 250 235 242" fill="none" stroke="#1a2530" stroke-width="2" stroke-linecap="round"/> <!-- Dolní víčko -->
<!-- Pravé oko -->
<ellipse cx="285" cy="235" rx="25" ry="15" fill="white" stroke="#111" stroke-width="1.5"/>
<ellipse cx="285" cy="235" rx="12" ry="12" fill="url(#eyeGradient)"/>
<ellipse cx="285" cy="235" rx="6" ry="8" fill="#000"/> <!-- Zornička -->
<path d="M 260 230 Q 285 220 310 230" fill="none" stroke="#1a2530" stroke-width="3" stroke-linecap="round"/> <!-- Horní víčko -->
<path d="M 265 242 Q 285 250 305 242" fill="none" stroke="#1a2530" stroke-width="2" stroke-linecap="round"/> <!-- Dolní víčko -->
</g>
<!-- Nos -->
<path d="M 245 250 L 240 280 Q 250 290 260 280 L 255 250" fill="#6B8E23" stroke="#1a2530" stroke-width="1.5"/>
<!-- Ústa -->
<path d="M 220 305 Q 250 315 280 305 Q 250 325 220 305" fill="#8B0000" stroke="#1a2530" stroke-width="2"/>
<!-- Tesáky -->
<path d="M 230 308 L 235 320 L 240 308 Z" fill="ivory" stroke="#111" stroke-width="1"/>
<path d="M 260 308 L 265 320 L 270 308 Z" fill="ivory" stroke="#111" stroke-width="1"/>
<!-- Hadi (vlasy) - příklad několika hadů, pro detailní by jich bylo mnohem více -->
<g id="snakes">
<!-- Had 1 (levý horní) -->
<path d="M 180 150 Q 150 100 160 60 Q 180 80 190 120 Z" fill="url(#snakeGradient1)" stroke="#003300" stroke-width="2"/>
<ellipse cx="160" cy="65" rx="10" ry="7" fill="url(#snakeGradient1)"/> <!-- Hlava hada -->
<circle cx="157" cy="63" r="1.5" fill="red"/> <!-- Oko hada -->
<circle cx="163" cy="63" r="1.5" fill="red"/> <!-- Oko hada -->
<path d="M 160 55 L 158 50 M 160 55 L 162 50" stroke="red" stroke-width="1"/> <!-- Jazyk -->
<!-- Had 2 (střední horní) -->
<path d="M 250 140 Q 250 80 240 40 Q 260 90 260 140 Z" fill="url(#snakeGradient2)" stroke="#003300" stroke-width="2"/>
<ellipse cx="240" cy="45" rx="10" ry="7" fill="url(#snakeGradient2)"/>
<circle cx="237" cy="43" r="1.5" fill="yellow"/>
<circle cx="243" cy="43" r="1.5" fill="yellow"/>
<path d="M 240 35 L 238 30 M 240 35 L 242 30" stroke="red" stroke-width="1"/>
<!-- Had 3 (pravý horní) -->
<path d="M 320 150 Q 350 100 340 60 Q 320 80 310 120 Z" fill="url(#snakeGradient1)" stroke="#003300" stroke-width="2"/>
<ellipse cx="340" cy="65" rx="10" ry="7" fill="url(#snakeGradient1)"/>
<circle cx="337" cy="63" r="1.5" fill="red"/>
<circle cx="343" cy="63" r="1.5" fill="red"/>
<path d="M 340 55 L 338 50 M 340 55 L 342 50" stroke="red" stroke-width="1"/>
<!-- Had 4 (levý boční) -->
<path d="M 160 250 Q 100 230 80 200 Q 120 220 150 240 Z" fill="url(#snakeGradient2)" stroke="#003300" stroke-width="2"/>
<ellipse cx="85" cy="200" rx="9" ry="6" fill="url(#snakeGradient2)"/>
<circle cx="82" cy="198" r="1.5" fill="yellow"/>
<circle cx="88" cy="198" r="1.5" fill="yellow"/>
<path d="M 85 190 L 83 185 M 85 190 L 87 185" stroke="red" stroke-width="1"/>
<!-- Had 5 (pravý boční) -->
<path d="M 340 250 Q 400 230 420 200 Q 380 220 350 240 Z" fill="url(#snakeGradient1)" stroke="#003300" stroke-width="2"/>
<ellipse cx="415" cy="200" rx="9" ry="6" fill="url(#snakeGradient1)"/>
<circle cx="412" cy="198" r="1.5" fill="red"/>
<circle cx="418" cy="198" r="1.5" fill="red"/>
<path d="M 415 190 L 413 185 M 415 190 L 417 185" stroke="red" stroke-width="1"/>
<!-- Had 6 (přední, kudrnatý) -->
<path d="M 250 180 C 220 190, 210 150, 230 130 S 270 110, 280 140 C 290 170, 260 175, 250 180 Z" fill="url(#snakeGradient2)" stroke="#003300" stroke-width="2"/>
<ellipse cx="230" cy="135" rx="9" ry="6" fill="url(#snakeGradient2)"/> <!-- Hlava trochu natočená -->
<circle cx="227" cy="133" r="1.5" fill="yellow"/>
<circle cx="233" cy="133" r="1.5" fill="yellow"/>
<path d="M 230 125 L 228 120 M 230 125 L 232 120" stroke="red" stroke-width="1"/>
<!-- Další hadi pro vyplnění -->
<path d="M 200 180 Q 180 130 200 100 Q 220 140 210 170 Z" fill="url(#snakeGradient1)" stroke="#003300" stroke-width="2"/>
<ellipse cx="200" cy="105" rx="8" ry="5" fill="url(#snakeGradient1)"/>
<circle cx="198" cy="103" r="1" fill="red"/> <circle cx="202" cy="103" r="1" fill="red"/>
<path d="M 300 180 Q 320 130 300 100 Q 280 140 290 170 Z" fill="url(#snakeGradient2)" stroke="#003300" stroke-width="2"/>
<ellipse cx="300" cy="105" rx="8" ry="5" fill="url(#snakeGradient2)"/>
<circle cx="298" cy="103" r="1" fill="yellow"/> <circle cx="302" cy="103" r="1" fill="yellow"/>
<!-- Nějaké menší hady vzadu pro objem -->
<path d="M 250 200 C 260 150, 240 150, 250 140" fill="none" stroke="#3A5F0B" stroke-width="10" stroke-linecap="round"/>
<path d="M 220 200 C 230 160, 210 160, 220 150" fill="none" stroke="#4B5320" stroke-width="8" stroke-linecap="round"/>
<path d="M 280 200 C 270 160, 290 160, 280 150" fill="none" stroke="#3A5F0B" stroke-width="9" stroke-linecap="round"/>
</g>
<!-- Jemné šupiny na tváři (volitelné) -->
<g id="scales" opacity="0.2">
<path d="M 200 270 Q 205 265 210 270 Q 205 275 200 270 Z" fill="#2E8B57"/>
<path d="M 210 280 Q 215 275 220 280 Q 215 285 210 280 Z" fill="#2E8B57"/>
<path d="M 280 270 Q 285 265 290 270 Q 285 275 280 270 Z" fill="#2E8B57"/>
<path d="M 270 280 Q 275 275 280 280 Q 275 285 270 280 Z" fill="#2E8B57"/>
<path d="M 230 210 Q 235 205 240 210 Q 235 215 230 210 Z" fill="#2E8B57"/>
<path d="M 260 210 Q 265 205 270 210 Q 265 215 260 210 Z" fill="#2E8B57"/>
</g>
</svg>