Skip to content

Instantly share code, notes, and snippets.

@simonw
Last active June 30, 2026 21:25
Show Gist options
  • Select an option

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

Select an option

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

2026-06-30T21:19:50 conversation: 01kwd6emv6sp65chybg7xkwtgm id: 01kwd6e4ee0yc0wm52kmfdc8yz

Model: anthropic/claude-sonnet-5

Prompt

Generate an SVG of a pelican riding a bicycle

Response

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

<svg width="400" height="300" viewBox="0 0 400 300" xmlns="http://www.w3.org/2000/svg">
  <!-- Ground line -->
  <line x1="0" y1="250" x2="400" y2="250" stroke="#8B7355" stroke-width="2"/>
  
  <!-- Bicycle -->
  <!-- Wheels -->
  <circle cx="130" cy="220" r="40" fill="none" stroke="#333" stroke-width="4"/>
  <circle cx="280" cy="220" r="40" fill="none" stroke="#333" stroke-width="4"/>
  
  <!-- Wheel spokes -->
  <line x1="130" y1="180" x2="130" y2="260" stroke="#333" stroke-width="1"/>
  <line x1="90" y1="220" x2="170" y2="220" stroke="#333" stroke-width="1"/>
  <line x1="103" y1="193" x2="157" y2="247" stroke="#333" stroke-width="1"/>
  <line x1="103" y1="247" x2="157" y2="193" stroke="#333" stroke-width="1"/>
  
  <line x1="280" y1="180" x2="280" y2="260" stroke="#333" stroke-width="1"/>
  <line x1="240" y1="220" x2="320" y2="220" stroke="#333" stroke-width="1"/>
  <line x1="253" y1="193" x2="307" y2="247" stroke="#333" stroke-width="1"/>
  <line x1="253" y1="247" x2="307" y2="193" stroke="#333" stroke-width="1"/>
  
  <!-- Frame -->
  <line x1="130" y1="220" x2="200" y2="160" stroke="#444" stroke-width="4"/>
  <line x1="200" y1="160" x2="280" y2="220" stroke="#444" stroke-width="4"/>
  <line x1="200" y1="160" x2="180" y2="220" stroke="#444" stroke-width="4"/>
  <line x1="180" y1="220" x2="130" y2="220" stroke="#444" stroke-width="4"/>
  <line x1="180" y1="220" x2="280" y2="220" stroke="#444" stroke-width="4"/>
  
  <!-- Seat post -->
  <line x1="200" y1="160" x2="195" y2="130" stroke="#444" stroke-width="4"/>
  <ellipse cx="190" cy="128" rx="15" ry="6" fill="#222"/>
  
  <!-- Handlebar post -->
  <line x1="280" y1="220" x2="290" y2="140" stroke="#444" stroke-width="4"/>
  <line x1="270" y1="135" x2="310" y2="135" stroke="#333" stroke-width="4"/>
  
  <!-- Pedal -->
  <circle cx="180" cy="220" r="6" fill="#333"/>
  <line x1="180" y1="220" x2="165" y2="235" stroke="#333" stroke-width="3"/>
  <rect x="155" y="232" width="20" height="6" fill="#333"/>
  
  <!-- Pelican body -->
  <ellipse cx="210" cy="130" rx="35" ry="45" fill="#E8E8E8"/>
  
  <!-- Pelican wing -->
  <path d="M 195 110 Q 170 120 175 150 Q 195 145 200 125 Z" fill="#D0D0D0"/>
  
  <!-- Pelican tail -->
  <path d="M 235 160 Q 250 170 245 185 Q 230 180 225 165 Z" fill="#D0D0D0"/>
  
  <!-- Pelican neck -->
  <path d="M 195 100 Q 180 70 195 45 Q 205 35 215 40" 
        fill="none" stroke="#E8E8E8" stroke-width="18" stroke-linecap="round"/>
  
  <!-- Pelican head -->
  <circle cx="218" cy="38" r="16" fill="#E8E8E8"/>
  
  <!-- Pelican beak (top) -->
  <path d="M 230 35 Q 270 30 280 38 Q 270 42 230 45 Z" fill="#FF8C00"/>
  
  <!-- Pelican beak pouch -->
  <path d="M 232 40 Q 265 42 275 48 Q 260 52 232 48 Z" fill="#FFA500"/>
  
  <!-- Eye -->
  <circle cx="220" cy="33" r="3" fill="#000"/>
  
  <!-- Legs -->
  <line x1="195" y1="170" x2="190" y2="200" stroke="#FF8C00" stroke-width="4"/>
  <line x1="220" y1="170" x2="225" y2="200" stroke="#FF8C00" stroke-width="4"/>
  
  <!-- Feet on pedals -->
  <ellipse cx="188" cy="203" rx="10" ry="4" fill="#FF8C00"/>
  <ellipse cx="227" cy="203" rx="10" ry="4" fill="#FF8C00"/>
  
  <!-- Wing/arm reaching to handlebar -->
  <path d="M 230 110 Q 260 110 280 130" 
        fill="none" stroke="#D0D0D0" stroke-width="10" stroke-linecap="round"/>
</svg>

This creates a side-view illustration featuring:

  • A bicycle with two wheels (complete with spokes), a triangular frame, seat, handlebars, and pedals
  • A pelican sitting on the bike seat with:
    • A round body and characteristic curved neck
    • The distinctive long orange beak with a pouch
    • A small eye
    • A wing extending forward to "hold" the handlebars
    • Orange legs/feet positioned on the pedals
    • A small tail

The pelican is positioned as if pedaling and steering the bicycle, captured mid-ride! You can copy this code into an HTML file or SVG viewer to see the result.

Token usage

25 input, 2,108 output

@simonw

simonw commented Jun 30, 2026

Copy link
Copy Markdown
Author
image

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