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.)15.8 KB · 251 lines · no libraries
Download
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 800 600" width="800" height="600" role="img" aria-labelledby="title desc">
  <title id="title">Pelican riding a bicycle</title>
  <desc id="desc">A cheerful white pelican with a big orange beak pouch and a red scarf pedals a teal bicycle along a country road on a sunny day.</desc>

  <defs>
    <linearGradient id="sky" x1="0" y1="0" x2="0" y2="1">
      <stop offset="0" stop-color="#6ec3f0"/>
      <stop offset="0.62" stop-color="#c4e9fb"/>
      <stop offset="1" stop-color="#fff0d4"/>
    </linearGradient>
    <radialGradient id="sunGlow">
      <stop offset="0" stop-color="#fff4b8" stop-opacity="0.95"/>
      <stop offset="0.5" stop-color="#fff4b8" stop-opacity="0.35"/>
      <stop offset="1" stop-color="#fff4b8" stop-opacity="0"/>
    </radialGradient>
    <linearGradient id="road" x1="0" y1="0" x2="0" y2="1">
      <stop offset="0" stop-color="#8b939d"/>
      <stop offset="1" stop-color="#5c646e"/>
    </linearGradient>
    <radialGradient id="feather" gradientUnits="userSpaceOnUse" cx="440" cy="185" r="200" fx="452" fy="160">
      <stop offset="0" stop-color="#ffffff"/>
      <stop offset="0.5" stop-color="#f4f7fa"/>
      <stop offset="1" stop-color="#c6d0dc"/>
    </radialGradient>
    <linearGradient id="wing" x1="0" y1="0" x2="0" y2="1">
      <stop offset="0" stop-color="#ffffff"/>
      <stop offset="1" stop-color="#d4dce6"/>
    </linearGradient>
    <linearGradient id="beak" x1="0" y1="0" x2="0" y2="1">
      <stop offset="0" stop-color="#ffd86a"/>
      <stop offset="1" stop-color="#f3a73a"/>
    </linearGradient>
    <linearGradient id="pouch" x1="0" y1="0" x2="0" y2="1">
      <stop offset="0" stop-color="#ffbe6e"/>
      <stop offset="1" stop-color="#ee7d3b"/>
    </linearGradient>

    <!-- one wheel, reused twice; spokes spin -->
    <g id="wheel">
      <circle r="85" fill="none" stroke="#1d2833" stroke-width="14"/>
      <circle r="85" fill="none" stroke="#3b444e" stroke-width="9"/>
      <circle r="78" fill="none" stroke="#dfe4e9" stroke-width="3.5"/>
      <g>
        <animateTransform attributeName="transform" type="rotate" from="0" to="360" dur="1s" repeatCount="indefinite"/>
        <path d="M76 0L-76 0M70.2 29.1L-70.2 -29.1M53.7 53.7L-53.7 -53.7M29.1 70.2L-29.1 -70.2M0 76L0 -76M-29.1 70.2L29.1 -70.2M-53.7 53.7L53.7 -53.7M-70.2 29.1L70.2 -29.1" stroke="#b4bec8" stroke-width="1.6"/>
        <rect x="-3.5" y="-60" width="7" height="16" rx="2" fill="#ff9f1c" stroke="#1d2833" stroke-width="1.2"/>
      </g>
      <circle r="10" fill="#9aa5b0" stroke="#1d2833" stroke-width="2.5"/>
      <circle r="3.5" fill="#1d2833"/>
    </g>

    <!-- legs: hip -> knee -> pedal, keyframed every 30 degrees of crank rotation -->
    <path id="legNear" d="M368 310L439.8 364.2L420 452">
      <animate attributeName="d" dur="1.5s" repeatCount="indefinite"
        values="M368 310L439.8 364.2L420 452;M368 310L427.3 377.7L416 467;M368 310L412.4 388.3L405 478;M368 310L403 392.9L390 482;M368 310L403.6 392.7L375 478;M368 310L410 389.6L364 467;M368 310L419.1 384.1L360 452;M368 310L429.7 375.5L364 437;M368 310L440.1 363.9L375 426;M368 310L447.3 352.6L390 422;M368 310L449.6 347.9L405 426;M368 310L447.3 352.6L416 437;M368 310L439.8 364.2L420 452"/>
    </path>
    <path id="legFar" d="M368 310L419.1 384.1L360 452">
      <animate attributeName="d" dur="1.5s" repeatCount="indefinite"
        values="M368 310L419.1 384.1L360 452;M368 310L429.7 375.5L364 437;M368 310L440.1 363.9L375 426;M368 310L447.3 352.6L390 422;M368 310L449.6 347.9L405 426;M368 310L447.3 352.6L416 437;M368 310L439.8 364.2L420 452;M368 310L427.3 377.7L416 467;M368 310L412.4 388.3L405 478;M368 310L403 392.9L390 482;M368 310L403.6 392.7L375 478;M368 310L410 389.6L364 467;M368 310L419.1 384.1L360 452"/>
    </path>
    <!-- webbed foot, ankle at the pedal axle -->
    <path id="foot" d="M-7 -2C-2 -6 10 -6 20 -4L17 -1L22 1L17 2.5L20 5C10 4 0 4 -8 2Z"/>
  </defs>

  <!-- ===== Background ===== -->
  <rect width="800" height="600" fill="url(#sky)"/>
  <circle cx="665" cy="105" r="95" fill="url(#sunGlow)"/>
  <circle cx="665" cy="105" r="46" fill="#ffd65a"/>

  <g fill="#ffffff" opacity="0.93">
    <ellipse cx="140" cy="112" rx="62" ry="22"/>
    <circle cx="112" cy="100" r="24"/>
    <circle cx="148" cy="88" r="30"/>
    <circle cx="182" cy="104" r="20"/>
    <ellipse cx="438" cy="72" rx="52" ry="17"/>
    <circle cx="416" cy="64" r="18"/>
    <circle cx="442" cy="52" r="24"/>
    <circle cx="468" cy="66" r="16"/>
    <ellipse cx="738" cy="214" rx="40" ry="13"/>
    <circle cx="726" cy="206" r="14"/>
    <circle cx="748" cy="200" r="17"/>
  </g>
  <path d="M286 128q8 -7 16 0q8 -7 16 0M330 104q6 -5 12 0q6 -5 12 0" fill="none" stroke="#4f6475" stroke-width="2.2" stroke-linecap="round"/>

  <path d="M0 455C90 415 190 420 280 450C360 475 430 425 540 430C640 435 720 405 800 420V512H0Z" fill="#a9d9a0"/>
  <rect x="86" y="440" width="7" height="30" fill="#7a5a3a"/>
  <circle cx="90" cy="432" r="18" fill="#5fae55"/>
  <rect x="716" y="424" width="7" height="36" fill="#7a5a3a"/>
  <circle cx="720" cy="416" r="16" fill="#5fae55"/>
  <path d="M0 480C120 455 230 470 330 488C430 505 520 470 640 472C710 473 760 480 800 476V512H0Z" fill="#86c66b"/>

  <rect x="0" y="505" width="800" height="95" fill="url(#road)"/>
  <rect x="0" y="502" width="800" height="6" fill="#ddd5c2"/>
  <path d="M-120 566H920" stroke="#f3efe2" stroke-width="6" stroke-dasharray="60 50">
    <animate attributeName="stroke-dashoffset" from="0" to="110" dur="0.21s" repeatCount="indefinite"/>
  </path>

  <!-- speed lines -->
  <g fill="none" stroke="#ffffff" stroke-linecap="round" opacity="0.85">
    <path d="M118 230H236" stroke-width="4" stroke-dasharray="70 150"><animate attributeName="stroke-dashoffset" from="0" to="220" dur="0.9s" repeatCount="indefinite"/></path>
    <path d="M96 256H234" stroke-width="3" stroke-dasharray="50 170"><animate attributeName="stroke-dashoffset" from="0" to="220" dur="0.9s" begin="-0.35s" repeatCount="indefinite"/></path>
    <path d="M126 282H236" stroke-width="4" stroke-dasharray="60 160"><animate attributeName="stroke-dashoffset" from="0" to="220" dur="0.9s" begin="-0.6s" repeatCount="indefinite"/></path>
    <path d="M50 398H150" stroke-width="3" stroke-dasharray="40 140"><animate attributeName="stroke-dashoffset" from="0" to="180" dur="0.7s" begin="-0.2s" repeatCount="indefinite"/></path>
    <path d="M30 430H146" stroke-width="4" stroke-dasharray="55 125"><animate attributeName="stroke-dashoffset" from="0" to="180" dur="0.7s" begin="-0.45s" repeatCount="indefinite"/></path>
    <path d="M60 462H152" stroke-width="3" stroke-dasharray="35 145"><animate attributeName="stroke-dashoffset" from="0" to="180" dur="0.7s" repeatCount="indefinite"/></path>
  </g>

  <ellipse cx="408" cy="531" rx="205" ry="9" fill="#000000" opacity="0.18"/>

  <!-- ===== Far side (behind the bike) ===== -->
  <g transform="translate(390 452)">
    <g transform="rotate(180)">
      <animateTransform attributeName="transform" type="rotate" from="180" to="540" dur="1.5s" repeatCount="indefinite"/>
      <path d="M0 0H30" stroke="#151b21" stroke-width="7" stroke-linecap="round"/>
      <g transform="translate(30 0)">
        <g transform="rotate(-180)">
          <animateTransform attributeName="transform" type="rotate" from="-180" to="-540" dur="1.5s" repeatCount="indefinite"/>
          <rect x="-12" y="1" width="26" height="6" rx="2" fill="#151b21"/>
        </g>
      </g>
    </g>
  </g>
  <use xlink:href="#legFar" fill="none" stroke="#4d2a0e" stroke-width="10" stroke-linecap="round" stroke-linejoin="round"/>
  <use xlink:href="#legFar" fill="none" stroke="#c46a1e" stroke-width="6.5" stroke-linecap="round" stroke-linejoin="round"/>
  <g transform="translate(390 452)">
    <g transform="rotate(180)">
      <animateTransform attributeName="transform" type="rotate" from="180" to="540" dur="1.5s" repeatCount="indefinite"/>
      <g transform="translate(30 0)">
        <g transform="rotate(-180)">
          <animateTransform attributeName="transform" type="rotate" from="-180" to="-540" dur="1.5s" repeatCount="indefinite"/>
          <use xlink:href="#foot" fill="#c46a1e" stroke="#4d2a0e" stroke-width="1.8" stroke-linejoin="round"/>
        </g>
      </g>
    </g>
  </g>

  <!-- ===== Bicycle ===== -->
  <use xlink:href="#wheel" transform="translate(250 440)"/>
  <use xlink:href="#wheel" transform="translate(565 440)"/>

  <g fill="none" stroke-linecap="round" stroke-linejoin="round">
    <path d="M250 440L360 334L390 452Z M360 334L531 324 M390 452L538 352" stroke="#1d2833" stroke-width="12"/>
    <path d="M250 440L360 334L390 452Z M360 334L531 324 M390 452L538 352" stroke="#14a3b6" stroke-width="7.5"/>
    <path d="M540 360Q550 410 565 440" stroke="#1d2833" stroke-width="10"/>
    <path d="M540 360Q550 410 565 440" stroke="#14a3b6" stroke-width="6"/>
    <path d="M529 315L541 362" stroke="#1d2833" stroke-width="16"/>
    <path d="M529 315L541 362" stroke="#14a3b6" stroke-width="11"/>
    <path d="M533 326L538 346" stroke="#ffffff" stroke-width="2.5" opacity="0.6"/>
    <path d="M357 320L360 336" stroke="#1d2833" stroke-width="9"/>
    <path d="M357 320L360 336" stroke="#a7b1bb" stroke-width="5"/>
    <path d="M529 317L526 296C540 288 556 290 562 304" stroke="#1d2833" stroke-width="9"/>
    <path d="M529 317L526 296C540 288 556 290 562 304" stroke="#a7b1bb" stroke-width="5"/>
    <path d="M558 296L563 309" stroke="#2b3139" stroke-width="9"/>
    <path d="M390 429L250 429M390 475L250 451" stroke="#4a535d" stroke-width="3" stroke-dasharray="4 2" stroke-linecap="butt"/>
  </g>
  <path d="M318 316Q345 308 385 313Q392 318 383 322L332 324Q314 323 318 316Z" fill="#2b3139" stroke="#151b21" stroke-width="2"/>
  <circle cx="250" cy="440" r="11" fill="#aab3bc" stroke="#1d2833" stroke-width="2"/>

  <!-- near crank with chainring -->
  <g transform="translate(390 452)">
    <g>
      <animateTransform attributeName="transform" type="rotate" from="0" to="360" dur="1.5s" repeatCount="indefinite"/>
      <circle r="25" fill="none" stroke="#3a444f" stroke-width="3.5" stroke-dasharray="3 2.24"/>
      <circle r="23" fill="#c5cdd5" stroke="#1d2833" stroke-width="2"/>
      <g fill="#8d97a1">
        <circle cx="14" cy="0" r="3"/>
        <circle cx="4.3" cy="13.3" r="3"/>
        <circle cx="-11.3" cy="8.2" r="3"/>
        <circle cx="-11.3" cy="-8.2" r="3"/>
        <circle cx="4.3" cy="-13.3" r="3"/>
      </g>
      <path d="M0 0H30" stroke="#1d2833" stroke-width="8" stroke-linecap="round"/>
      <path d="M0 0H30" stroke="#5a6570" stroke-width="4.5" stroke-linecap="round"/>
      <circle r="5" fill="#2b3139"/>
      <g transform="translate(30 0)">
        <g>
          <animateTransform attributeName="transform" type="rotate" from="0" to="-360" dur="1.5s" repeatCount="indefinite"/>
          <rect x="-12" y="1" width="26" height="6" rx="2" fill="#2b3139"/>
        </g>
      </g>
    </g>
  </g>

  <!-- near leg and foot -->
  <use xlink:href="#legNear" fill="none" stroke="#6b3a12" stroke-width="11" stroke-linecap="round" stroke-linejoin="round"/>
  <use xlink:href="#legNear" fill="none" stroke="#f28c28" stroke-width="7" stroke-linecap="round" stroke-linejoin="round"/>
  <g transform="translate(390 452)">
    <g>
      <animateTransform attributeName="transform" type="rotate" from="0" to="360" dur="1.5s" repeatCount="indefinite"/>
      <g transform="translate(30 0)">
        <g>
          <animateTransform attributeName="transform" type="rotate" from="0" to="-360" dur="1.5s" repeatCount="indefinite"/>
          <use xlink:href="#foot" fill="#f28c28" stroke="#6b3a12" stroke-width="1.8" stroke-linejoin="round"/>
        </g>
      </g>
    </g>
  </g>

  <!-- ===== Pelican ===== -->
  <g stroke="#24313d" stroke-linejoin="round" stroke-linecap="round">
    <!-- tail -->
    <path d="M298 258L248 246L262 261L244 270L263 277L252 291L302 292Z" fill="url(#feather)" stroke-width="3"/>
    <!-- body and neck -->
    <path d="M290 262C300 215 370 205 412 222C420 200 440 182 458 168L490 172C478 192 464 212 462 238C470 262 466 284 448 300C420 325 340 330 300 300C288 290 284 275 290 262Z" fill="url(#feather)" stroke-width="3"/>
    <path d="M330 300q10 8 22 4M372 310q10 7 22 2M412 300q9 6 20 0" fill="none" stroke="#c3cdd8" stroke-width="2"/>

    <!-- scarf -->
    <path d="M424 202C406 204 390 214 370 212L360 222L373 222C392 222 408 216 424 212Z" fill="#d62f3c" stroke="#9e1f2a" stroke-width="2">
      <animate attributeName="d" dur="0.45s" repeatCount="indefinite"
        values="M424 202C406 204 390 214 370 212L360 222L373 222C392 222 408 216 424 212Z;M424 202C406 198 388 206 370 204L361 214L373 216C392 212 408 220 424 212Z;M424 202C406 204 390 214 370 212L360 222L373 222C392 222 408 216 424 212Z"/>
    </path>
    <path d="M424 196C400 186 380 196 350 184L338 194L352 198C380 210 402 204 424 208Z" fill="#e63946" stroke="#9e1f2a" stroke-width="2">
      <animate attributeName="d" dur="0.5s" repeatCount="indefinite"
        values="M424 196C400 186 380 196 350 184L338 194L352 198C380 210 402 204 424 208Z;M424 196C402 196 378 182 350 192L336 202L352 204C378 196 402 214 424 208Z;M424 196C400 186 380 196 350 184L338 194L352 198C380 210 402 204 424 208Z"/>
    </path>
    <path d="M419 190Q448 201 479 185L476 201Q448 217 421 205Z" fill="#e63946" stroke="#9e1f2a" stroke-width="2"/>
    <circle cx="424" cy="199" r="6.5" fill="#d62f3c" stroke="#9e1f2a" stroke-width="2"/>

    <!-- wing reaching forward to grip the handlebar -->
    <path d="M395 240C440 222 505 250 545 286L566 296L552 302L568 310L548 312L560 322C520 318 470 300 420 292C395 288 380 270 395 240Z" fill="url(#wing)" stroke-width="3"/>
    <path d="M518 266C530 274 540 281 545 286L566 296L552 302L568 310L548 312L560 322C545 320 528 317 515 314C522 300 524 282 518 266Z" fill="#2a3038" stroke-width="2"/>
    <path d="M530 284L556 302M528 297L552 310" fill="none" stroke="#56606b" stroke-width="1.5"/>
    <path d="M412 262C450 262 490 276 517 292" fill="none" stroke="#c0cad5" stroke-width="2"/>
    <path d="M430 281Q446 291 462 287Q478 297 493 293Q505 301 515 299" fill="none" stroke="#b3bfcb" stroke-width="2"/>

    <!-- head, beak and pouch (gentle bob in time with the pedalling) -->
    <g>
      <animateTransform attributeName="transform" type="translate" values="0 0;0 -3;0 0" dur="0.75s" repeatCount="indefinite"/>
      <path d="M464 137C450 130 440 121 437 108C448 113 455 117 462 124C457 116 457 106 462 98C468 108 474 120 476 134Z" fill="url(#feather)" stroke-width="2.5"/>
      <ellipse cx="478" cy="155" rx="30" ry="24" fill="url(#feather)" stroke="none"/>
      <path d="M455 171A30 24 0 1 1 486 178" fill="none" stroke-width="3"/>

      <path d="M498 162C545 168 600 182 640 193C622 216 575 246 528 240C498 237 470 234 462 226C470 208 474 190 498 162Z" fill="url(#pouch)" stroke="#b85a22" stroke-width="2.5"/>
      <path d="M548 214Q568 200 590 212L604 202L601 224L590 216Q568 228 548 214Z" fill="#a94f22" stroke="none" opacity="0.28"/>
      <path d="M512 188Q560 202 606 199" fill="none" stroke="#ffe0b5" stroke-width="3" opacity="0.75"/>

      <path d="M494 140C540 138 600 158 640 180Q650 186 642 193C600 182 545 168 498 162Z" fill="url(#beak)" stroke="#b8741f" stroke-width="2"/>
      <path d="M627 173.5C634 175.5 638 177.5 640 180Q650 186 642 193C637 191.5 633 190.5 629 189.6Z" fill="#e5672b" stroke="#b8741f" stroke-width="1.5"/>
      <path d="M502 147C545 147 598 164 628 179" fill="none" stroke="#e09a2e" stroke-width="2"/>
      <path d="M500 165C545 171 600 185 636 196" fill="none" stroke="#e8a032" stroke-width="2.5"/>
      <path d="M490 158Q493 165 499 163" fill="none" stroke-width="2"/>

      <ellipse cx="471" cy="164" rx="6" ry="3.5" fill="#ffadad" stroke="none" opacity="0.6"/>
      <circle cx="481" cy="148" r="9" fill="#ffd8a8" stroke-width="1.5"/>
      <circle cx="481.5" cy="148" r="6" fill="#ffffff" stroke="none"/>
      <circle cx="483.5" cy="148" r="3.6" fill="#1b2128" stroke="none"/>
      <circle cx="484.8" cy="146.5" r="1.3" fill="#ffffff" stroke="none"/>
      <path d="M470 137Q481 132 491 137" fill="none" stroke-width="2.5"/>
    </g>
  </g>
</svg>