Skip to content

Instantly share code, notes, and snippets.

@simonw
Created September 29, 2025 17:46
Show Gist options
  • Select an option

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

Select an option

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

2025-09-29T17:43:44 conversation: 01k6b964x0wj53tsghncg71rek id: 01k6b95gf55zjcw24vkw7qj424

Model: anthropic/claude-sonnet-4-5

Prompt

Generate an SVG of a pelican riding a bicycle

Response

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

<svg width="600" height="400" viewBox="0 0 600 400" xmlns="http://www.w3.org/2000/svg">
  <!-- Background -->
  <rect width="600" height="400" fill="#87CEEB"/>
  
  <!-- Bicycle Back Wheel -->
  <circle cx="150" cy="280" r="50" fill="none" stroke="#333" stroke-width="3"/>
  <circle cx="150" cy="280" r="5" fill="#333"/>
  
  <!-- Bicycle Front Wheel -->
  <circle cx="350" cy="280" r="50" fill="none" stroke="#333" stroke-width="3"/>
  <circle cx="350" cy="280" r="5" fill="#333"/>
  
  <!-- Bicycle Frame -->
  <line x1="150" y1="280" x2="220" y2="200" stroke="#E63946" stroke-width="6"/>
  <line x1="220" y1="200" x2="280" y2="200" stroke="#E63946" stroke-width="6"/>
  <line x1="280" y1="200" x2="350" y2="280" stroke="#E63946" stroke-width="6"/>
  <line x1="220" y1="200" x2="200" y2="280" stroke="#E63946" stroke-width="6"/>
  <line x1="280" y1="200" x2="310" y2="170" stroke="#E63946" stroke-width="6"/>
  
  <!-- Seat -->
  <ellipse cx="200" cy="200" rx="20" ry="8" fill="#333"/>
  
  <!-- Handlebars -->
  <line x1="310" y1="170" x2="330" y2="150" stroke="#333" stroke-width="4"/>
  <line x1="320" y1="150" x2="340" y2="150" stroke="#333" stroke-width="4"/>
  
  <!-- Pedal -->
  <rect x="215" y="245" width="15" height="8" fill="#333"/>
  
  <!-- Pelican Body -->
  <ellipse cx="220" cy="160" rx="45" ry="55" fill="#F8F9FA" stroke="#333" stroke-width="2"/>
  
  <!-- Pelican Wing -->
  <ellipse cx="200" cy="160" rx="30" ry="45" fill="#E9ECEF" stroke="#333" stroke-width="2"/>
  <path d="M 185 140 Q 160 135 150 145 Q 155 155 170 160 Q 180 162 185 160" fill="#E9ECEF" stroke="#333" stroke-width="2"/>
  
  <!-- Pelican Neck -->
  <path d="M 250 140 Q 270 120 290 130" fill="#F8F9FA" stroke="#333" stroke-width="2"/>
  
  <!-- Pelican Head -->
  <ellipse cx="295" cy="135" rx="25" ry="22" fill="#F8F9FA" stroke="#333" stroke-width="2"/>
  
  <!-- Pelican Bill (top) -->
  <path d="M 315 135 Q 380 130 390 138 Q 385 140 320 142 Z" fill="#FFA500" stroke="#333" stroke-width="2"/>
  
  <!-- Pelican Bill Pouch (bottom) -->
  <path d="M 315 138 Q 380 145 388 138 Q 380 155 355 158 Q 330 158 315 148 Z" fill="#FFB52E" stroke="#333" stroke-width="2"/>
  
  <!-- Pelican Eye -->
  <circle cx="305" cy="130" r="4" fill="#333"/>
  
  <!-- Pelican Legs -->
  <line x1="215" y1="210" x2="210" y2="245" stroke="#FFA500" stroke-width="4"/>
  <line x1="225" y1="210" x2="230" y2="250" stroke="#FFA500" stroke-width="4"/>
  
  <!-- Pelican Feet on pedal -->
  <path d="M 210 245 L 205 248 M 210 245 L 215 248 M 210 245 L 210 250" stroke="#FFA500" stroke-width="2"/>
</svg>

This SVG shows a cheerful white pelican with its characteristic large bill and pouch, sitting on a red bicycle against a blue sky background. The pelican has one foot on the pedal and appears to be riding along!

Token usage:

46 input, 1,352 output

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