Skip to content

Instantly share code, notes, and snippets.

@simonw
Created February 17, 2026 23:57
Show Gist options
  • Select an option

  • Save simonw/b185576a95e9321b441f0a4dfc0e297c to your computer and use it in GitHub Desktop.

Select an option

Save simonw/b185576a95e9321b441f0a4dfc0e297c to your computer and use it in GitHub Desktop.

2026-02-17T23:40:16 conversation: 01khpzmemjhbphmzgqtx4wmtz9 id: 01khpzkpfktn6cpvfb2z22bsfm

Model: anthropic/claude-sonnet-4-6

Prompt

Generate an SVG of a pelican riding a bicycle

Response

Here's an SVG of a pelican riding a bicycle:

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 350" width="400" height="350">
  <!-- Sky background -->
  <rect width="400" height="350" fill="#87CEEB"/>
  
  <!-- Ground -->
  <rect y="300" width="400" height="50" fill="#90EE90"/>

  <!-- BICYCLE -->
  <!-- Rear wheel -->
  <circle cx="130" cy="270" r="50" fill="none" stroke="#333" stroke-width="6"/>
  <!-- Rear wheel spokes -->
  <line x1="130" y1="220" x2="130" y2="320" stroke="#555" stroke-width="2"/>
  <line x1="80" y1="270" x2="180" y2="270" stroke="#555" stroke-width="2"/>
  <line x1="95" y1="235" x2="165" y2="305" stroke="#555" stroke-width="2"/>
  <line x1="95" y1="305" x2="165" y2="235" stroke="#555" stroke-width="2"/>
  <!-- Rear hub -->
  <circle cx="130" cy="270" r="8" fill="#555"/>

  <!-- Front wheel -->
  <circle cx="280" cy="270" r="50" fill="none" stroke="#333" stroke-width="6"/>
  <!-- Front wheel spokes -->
  <line x1="280" y1="220" x2="280" y2="320" stroke="#555" stroke-width="2"/>
  <line x1="230" y1="270" x2="330" y2="270" stroke="#555" stroke-width="2"/>
  <line x1="245" y1="235" x2="315" y2="305" stroke="#555" stroke-width="2"/>
  <line x1="245" y1="305" x2="315" y2="235" stroke="#555" stroke-width="2"/>
  <!-- Front hub -->
  <circle cx="280" cy="270" r="8" fill="#555"/>

  <!-- Bicycle frame -->
  <!-- Main triangle -->
  <line x1="130" y1="270" x2="200" y2="190" stroke="#e74c3c" stroke-width="6" stroke-linecap="round"/>
  <line x1="200" y1="190" x2="280" y2="270" stroke="#e74c3c" stroke-width="6" stroke-linecap="round"/>
  <line x1="130" y1="270" x2="200" y2="220" stroke="#e74c3c" stroke-width="6" stroke-linecap="round"/>
  <line x1="200" y1="220" x2="280" y2="270" stroke="#e74c3c" stroke-width="6" stroke-linecap="round"/>

  <!-- Seat post -->
  <line x1="200" y1="220" x2="195" y2="185" stroke="#e74c3c" stroke-width="5" stroke-linecap="round"/>
  <!-- Seat -->
  <ellipse cx="192" cy="182" rx="22" ry="7" fill="#333"/>

  <!-- Handlebar stem -->
  <line x1="280" y1="270" x2="275" y2="200" stroke="#e74c3c" stroke-width="5" stroke-linecap="round"/>
  <!-- Handlebar -->
  <line x1="262" y1="195" x2="288" y2="195" stroke="#333" stroke-width="5" stroke-linecap="round"/>
  <line x1="262" y1="195" x2="258" y2="205" stroke="#333" stroke-width="4" stroke-linecap="round"/>
  <line x1="288" y1="195" x2="292" y2="205" stroke="#333" stroke-width="4" stroke-linecap="round"/>

  <!-- Pedal crank -->
  <circle cx="200" cy="240" r="10" fill="#555"/>
  <line x1="190" y1="248" x2="175" y2="260" stroke="#333" stroke-width="5" stroke-linecap="round"/>
  <line x1="210" y1="232" x2="225" y2="220" stroke="#333" stroke-width="5" stroke-linecap="round"/>
  <!-- Pedals -->
  <rect x="165" y="257" width="20" height="6" rx="2" fill="#333"/>
  <rect x="220" y="215" width="20" height="6" rx="2" fill="#333"/>

  <!-- PELICAN BODY -->
  <!-- Body -->
  <ellipse cx="200" cy="175" rx="45" ry="35" fill="white" stroke="#ddd" stroke-width="1"/>
  
  <!-- Wing (left) -->
  <ellipse cx="163" cy="175" rx="25" ry="15" fill="#f0f0f0" stroke="#ccc" stroke-width="1" transform="rotate(-15, 163, 175)"/>
  
  <!-- Wing (right) -->
  <ellipse cx="237" cy="175" rx="25" ry="15" fill="#f0f0f0" stroke="#ccc" stroke-width="1" transform="rotate(15, 237, 175)"/>

  <!-- Tail feathers -->
  <ellipse cx="158" cy="185" rx="18" ry="8" fill="#ddd" transform="rotate(20, 158, 185)"/>

  <!-- Neck -->
  <ellipse cx="228" cy="155" rx="15" ry="25" fill="white" stroke="#ddd" stroke-width="1"/>

  <!-- Head -->
  <circle cx="248" cy="130" r="22" fill="white" stroke="#ddd" stroke-width="1"/>

  <!-- Eye -->
  <circle cx="256" cy="124" r="6" fill="#ffcc00"/>
  <circle cx="257" cy="124" r="3" fill="#222"/>
  <circle cx="258" cy="122" r="1" fill="white"/>

  <!-- Beak (upper) -->
  <path d="M 260 130 Q 295 128 300 135 Q 295 138 260 138 Z" fill="#f4a460"/>
  <!-- Beak (lower / pouch) -->
  <path d="M 260 138 Q 295 138 298 145 Q 285 160 260 152 Z" fill="#e8956d"/>
  <!-- Beak tip hook -->
  <path d="M 298 135 Q 307 136 304 143 Q 300 143 298 138 Z" fill="#d4894a"/>

  <!-- Pelican legs -->
  <!-- Left leg -->
  <line x1="192" y1="205" x2="185" y2="230" stroke="#f4a460" stroke-width="4" stroke-linecap="round"/>
  <line x1="185" y1="230" x2="178" y2="240" stroke="#f4a460" stroke-width="3"/>
  <line x1="185" y1="230" x2="185" y2="242" stroke="#f4a460" stroke-width="3"/>
  <line x1="185" y1="230" x2="192" y2="240" stroke="#f4a460" stroke-width="3"/>

  <!-- Right leg -->
  <line x1="208" y1="205" x2="215" y2="230" stroke="#f4a460" stroke-width="4" stroke-linecap="round"/>
  <line x1="215" y1="230" x2="208" y2="240" stroke="#f4a460" stroke-width="3"/>
  <line x1="215" y1="230" x2="215" y2="242" stroke="#f4a460" stroke-width="3"/>
  <line x1="215" y1="230" x2="222" y2="240" stroke="#f4a460" stroke-width="3"/>

  <!-- Hat (fun accessory) -->
  <ellipse cx="242" cy="112" rx="26" ry="6" fill="#3a3a8a"/>
  <rect x="228" y="85" width="26" height="28" rx="3" fill="#3a3a8a"/>
  <!-- Hat band -->
  <rect x="228" y="108" width="26" height="5" fill="#f4d03f"/>
</svg>

This SVG features:

  • 🚲 A red bicycle with two wheels, spokes, frame, seat, handlebars, and pedals
  • 🦢 A white pelican with a distinctive large beak/pouch, yellow eye, wings, and webbed feet
  • 🎩 A fun top hat on the pelican
  • A cheerful sky and grass background

Token usage

18 input, 2,248 output

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment