Skip to content
VibeCodeBench
Back to the app

The code

The Classic Pelican SVG by Claude Opus 5.5

Exactly as the AI wrote it. Shown as text, so nothing runs on this page.

original.svg

works · auto-checked (Checked by an automated pass. Not hand-played yet.)6.2 KB · 118 lines · no libraries
Download
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600" width="800" height="600">
  <title>A pelican riding a bicycle</title>
  <defs>
    <linearGradient id="sky" x1="0" y1="0" x2="0" y2="1">
      <stop offset="0" stop-color="#8fd3ff"/>
      <stop offset="1" stop-color="#e8f7ff"/>
    </linearGradient>
    <linearGradient id="pouch" x1="0" y1="0" x2="0" y2="1">
      <stop offset="0" stop-color="#ffb347"/>
      <stop offset="1" stop-color="#f07c1e"/>
    </linearGradient>
    <radialGradient id="bodyGrad" cx="0.4" cy="0.35" r="0.7">
      <stop offset="0" stop-color="#ffffff"/>
      <stop offset="1" stop-color="#dfe4ea"/>
    </radialGradient>
    <g id="wheel">
      <circle r="100" fill="none" stroke="#222" stroke-width="12"/>
      <circle r="93" fill="none" stroke="#777" stroke-width="3"/>
      <g stroke="#999" stroke-width="2">
        <line x1="-92" y1="0" x2="92" y2="0"/>
        <line x1="0" y1="-92" x2="0" y2="92"/>
        <line x1="-65" y1="-65" x2="65" y2="65"/>
        <line x1="-65" y1="65" x2="65" y2="-65"/>
        <line x1="-35" y1="-85" x2="35" y2="85"/>
        <line x1="-85" y1="-35" x2="85" y2="35"/>
        <line x1="-35" y1="85" x2="35" y2="-85"/>
        <line x1="-85" y1="35" x2="85" y2="-35"/>
        <animateTransform attributeName="transform" type="rotate" from="0" to="360" dur="1.2s" repeatCount="indefinite"/>
      </g>
      <circle r="9" fill="#555"/>
    </g>
  </defs>

  <!-- Sky and scenery -->
  <rect width="800" height="600" fill="url(#sky)"/>
  <circle cx="680" cy="90" r="45" fill="#ffe066"/>
  <g fill="#fff" opacity="0.9">
    <ellipse cx="150" cy="90" rx="60" ry="22"/>
    <ellipse cx="190" cy="75" rx="40" ry="20"/>
    <ellipse cx="480" cy="60" rx="50" ry="18"/>
  </g>
  <path d="M0 470 Q200 430 400 465 T800 455 V600 H0 Z" fill="#9bd77a"/>
  <rect x="0" y="555" width="800" height="45" fill="#8a8f96"/>
  <g stroke="#fff" stroke-width="5" stroke-dasharray="40 30">
    <line x1="0" y1="578" x2="800" y2="578"/>
  </g>

  <!-- Speed lines -->
  <g stroke="#ffffff" stroke-width="4" stroke-linecap="round" opacity="0.8">
    <line x1="40" y1="300" x2="120" y2="300"/>
    <line x1="20" y1="350" x2="110" y2="350"/>
    <line x1="60" y1="400" x2="130" y2="400"/>
  </g>

  <!-- Shadow -->
  <ellipse cx="405" cy="560" rx="260" ry="10" fill="#000" opacity="0.2"/>

  <!-- Wheels -->
  <use href="#wheel" x="250" y="455"/>
  <use href="#wheel" x="565" y="455"/>

  <!-- Frame -->
  <g stroke="#d7263d" stroke-width="11" stroke-linecap="round" stroke-linejoin="round" fill="none">
    <line x1="250" y1="455" x2="395" y2="455"/>   <!-- chain stay -->
    <line x1="250" y1="455" x2="372" y2="330"/>   <!-- seat stay -->
    <line x1="395" y1="455" x2="365" y2="315"/>   <!-- seat tube -->
    <line x1="372" y1="335" x2="525" y2="330"/>   <!-- top tube -->
    <line x1="395" y1="455" x2="530" y2="365"/>   <!-- down tube -->
    <line x1="520" y1="305" x2="535" y2="370"/>   <!-- head tube -->
  </g>
  <line x1="533" y1="365" x2="565" y2="455" stroke="#a51d2e" stroke-width="9" stroke-linecap="round"/>
  <!-- Handlebars -->
  <path d="M520 305 L515 280 Q540 268 565 285" fill="none" stroke="#333" stroke-width="8" stroke-linecap="round"/>
  <!-- Seat -->
  <path d="M335 312 Q365 300 390 312 Q365 320 335 312 Z" fill="#222"/>
  <!-- Chainring, chain and crank -->
  <circle cx="395" cy="455" r="24" fill="none" stroke="#555" stroke-width="5"/>
  <path d="M395 431 L250 447 M395 479 L250 463" stroke="#444" stroke-width="3"/>
  <line x1="395" y1="455" x2="420" y2="500" stroke="#333" stroke-width="7" stroke-linecap="round"/>
  <line x1="395" y1="455" x2="370" y2="410" stroke="#333" stroke-width="7" stroke-linecap="round"/>
  <rect x="405" y="496" width="30" height="8" rx="3" fill="#222"/>
  <rect x="355" y="406" width="30" height="8" rx="3" fill="#222"/>

  <!-- Pelican -->
  <g id="pelican">
    <!-- Far leg -->
    <path d="M360 300 L395 360 L372 408" fill="none" stroke="#e98a2a" stroke-width="9" stroke-linecap="round" stroke-linejoin="round"/>
    <path d="M358 408 L388 404 L380 414 Z" fill="#e98a2a"/>
    <!-- Tail -->
    <path d="M300 265 L245 250 L262 275 L240 290 L305 290 Z" fill="#cfd6de" stroke="#9aa3ad" stroke-width="2"/>
    <!-- Body -->
    <ellipse cx="365" cy="268" rx="78" ry="52" fill="url(#bodyGrad)" stroke="#aab2bb" stroke-width="2" transform="rotate(-15 365 268)"/>
    <!-- Near leg -->
    <path d="M385 300 L445 395 L420 497" fill="none" stroke="#f39c34" stroke-width="10" stroke-linecap="round" stroke-linejoin="round"/>
    <path d="M405 498 L440 494 L432 505 Z" fill="#f39c34"/>
    <!-- Neck -->
    <path d="M415 240 C440 210 420 175 445 150" fill="none" stroke="#f4f6f8" stroke-width="30" stroke-linecap="round"/>
    <path d="M415 240 C440 210 420 175 445 150" fill="none" stroke="#aab2bb" stroke-width="2" stroke-dasharray="0" opacity="0.4"/>
    <!-- Head -->
    <ellipse cx="455" cy="145" rx="28" ry="24" fill="#ffffff" stroke="#aab2bb" stroke-width="2"/>
    <path d="M440 125 Q450 108 470 118" fill="none" stroke="#f2d16b" stroke-width="5" stroke-linecap="round"/>
    <!-- Beak: upper mandible and pouch -->
    <path d="M472 140 L620 162 Q626 166 618 170 L474 158 Z" fill="#f6b73c" stroke="#c9861a" stroke-width="2"/>
    <path d="M474 158 L612 170 Q585 230 520 222 Q482 214 470 168 Z" fill="url(#pouch)" stroke="#c9661a" stroke-width="2"/>
    <path d="M612 162 Q624 168 616 176" fill="none" stroke="#b5651d" stroke-width="3"/>
    <!-- Eye -->
    <circle cx="462" cy="138" r="6" fill="#fff" stroke="#333" stroke-width="1.5"/>
    <circle cx="464" cy="138" r="3" fill="#111"/>
    <circle cx="465" cy="136.5" r="1" fill="#fff"/>
    <!-- Wing reaching to handlebar -->
    <path d="M330 245 Q400 215 450 255 Q500 275 540 282 Q500 300 440 292 Q370 300 330 245 Z" fill="#e6ebf0" stroke="#9aa3ad" stroke-width="2"/>
    <path d="M360 262 Q410 268 450 280 M380 250 Q420 255 470 275" fill="none" stroke="#b4bcc5" stroke-width="2"/>
    <path d="M440 292 Q470 300 495 296" fill="none" stroke="#3b4048" stroke-width="5" stroke-linecap="round"/>
    <!-- Wingtip "hand" gripping bar -->
    <ellipse cx="540" cy="282" rx="12" ry="8" fill="#3b4048"/>
    <animateTransform attributeName="transform" type="translate" values="0 0; 0 -3; 0 0" dur="0.6s" repeatCount="indefinite"/>
  </g>
</svg>