Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

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

2025-09-29T17:45:00 conversation: 01k6b98h18djvh8cwxt72zedwp id: 01k6b97trqv0nq4wvpkkr7yk4j

Model: anthropic/claude-sonnet-4-5

Prompt

Generate an SVG of a pelican riding a bicycle

Response

<svg viewBox="0 0 800 600" xmlns="http://www.w3.org/2000/svg">
  <!-- Bicycle frame -->
  <g id="bicycle">
    <!-- Back wheel -->
    <circle cx="200" cy="450" r="80" fill="none" stroke="#333" stroke-width="4"/>
    <circle cx="200" cy="450" r="5" fill="#333"/>
    <!-- Spokes back wheel -->
    <line x1="200" y1="450" x2="200" y2="370" stroke="#333" stroke-width="1"/>
    <line x1="200" y1="450" x2="280" y2="450" stroke="#333" stroke-width="1"/>
    <line x1="200" y1="450" x2="200" y2="530" stroke="#333" stroke-width="1"/>
    <line x1="200" y1="450" x2="120" y2="450" stroke="#333" stroke-width="1"/>
    
    <!-- Front wheel -->
    <circle cx="550" cy="450" r="80" fill="none" stroke="#333" stroke-width="4"/>
    <circle cx="550" cy="450" r="5" fill="#333"/>
    <!-- Spokes front wheel -->
    <line x1="550" y1="450" x2="550" y2="370" stroke="#333" stroke-width="1"/>
    <line x1="550" y1="450" x2="630" y2="450" stroke="#333" stroke-width="1"/>
    <line x1="550" y1="450" x2="550" y2="530" stroke="#333" stroke-width="1"/>
    <line x1="550" y1="450" x2="470" y2="450" stroke="#333" stroke-width="1"/>
    
    <!-- Frame -->
    <line x1="200" y1="450" x2="350" y2="300" stroke="#e74c3c" stroke-width="8"/>
    <line x1="350" y1="300" x2="500" y2="350" stroke="#e74c3c" stroke-width="8"/>
    <line x1="500" y1="350" x2="550" y2="450" stroke="#e74c3c" stroke-width="8"/>
    <line x1="350" y1="300" x2="350" y2="380" stroke="#e74c3c" stroke-width="8"/>
    <line x1="350" y1="380" x2="200" y2="450" stroke="#e74c3c" stroke-width="8"/>
    <line x1="350" y1="380" x2="500" y2="450" stroke="#e74c3c" stroke-width="8"/>
    
    <!-- Seat -->
    <ellipse cx="350" cy="290" rx="30" ry="10" fill="#333"/>
    <line x1="350" y1="300" x2="350" y2="290" stroke="#333" stroke-width="4"/>
    
    <!-- Handlebars -->
    <line x1="500" y1="350" x2="520" y2="320" stroke="#333" stroke-width="6"/>
    <line x1="510" y1="320" x2="540" y2="320" stroke="#333" stroke-width="6"/>
    
    <!-- Pedals -->
    <circle cx="350" cy="380" r="15" fill="none" stroke="#333" stroke-width="3"/>
    <rect x="320" y="375" width="15" height="10" fill="#666"/>
    <rect x="365" y="375" width="15" height="10" fill="#666"/>
  </g>
  
  <!-- Pelican -->
  <g id="pelican">
    <!-- Body -->
    <ellipse cx="380" cy="320" rx="60" ry="50" fill="#f0f0f0" stroke="#333" stroke-width="2"/>
    
    <!-- Wing -->
    <path d="M 360 310 Q 320 300 300 320 Q 310 340 360 340 Z" fill="#e0e0e0" stroke="#333" stroke-width="2"/>
    
    <!-- Neck -->
    <path d="M 420 300 Q 450 260 470 240" fill="none" stroke="#f0f0f0" stroke-width="30"/>
    <path d="M 420 300 Q 450 260 470 240" fill="none" stroke="#333" stroke-width="2"/>
    
    <!-- Head -->
    <ellipse cx="480" cy="230" rx="28" ry="25" fill="#f0f0f0" stroke="#333" stroke-width="2"/>
    
    <!-- Eye -->
    <circle cx="490" cy="225" r="5" fill="#333"/>
    
    <!-- Beak upper -->
    <path d="M 505 235 Q 580 230 600 240 Q 590 245 505 242 Z" fill="#ffa500" stroke="#333" stroke-width="2"/>
    
    <!-- Beak lower with pouch -->
    <path d="M 505 242 Q 580 245 600 240 Q 595 280 560 290 Q 520 285 505 242 Z" fill="#ffb732" stroke="#333" stroke-width="2"/>
    
    <!-- Legs -->
    <line x1="370" y1="360" x2="320" y2="375" stroke="#ff8c00" stroke-width="5"/>
    <line x1="390" y1="360" x2="365" y2="375" stroke="#ff8c00" stroke-width="5"/>
    
    <!-- Feet on pedals -->
    <path d="M 320 375 L 315 380 L 325 382 L 330 378" fill="#ff8c00" stroke="#333" stroke-width="1"/>
    <path d="M 365 375 L 360 380 L 370 382 L 375 378" fill="#ff8c00" stroke="#333" stroke-width="1"/>
    
    <!-- Tail -->
    <path d="M 320 330 Q 290 335 280 325 Q 285 320 320 320 Z" fill="#e0e0e0" stroke="#333" stroke-width="2"/>
  </g>
</svg>

Token usage:

18 input, 1,598 output

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