Skip to content

Instantly share code, notes, and snippets.

@simonw

simonw/opus.md Secret

Last active April 16, 2026 16:32
Show Gist options
  • Select an option

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

Select an option

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

2026-04-16T16:06:41 conversation: 01kpbgqh01hqzw85dy5ek86ra6 id: 01kpbgpveaw7ryfgg0n8damks5

Model: anthropic/claude-opus-4-7

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 300" width="400" height="300">
  <!-- Sky background -->
  <rect width="400" height="300" fill="#e0f4ff"/>
  
  <!-- Ground -->
  <rect y="260" width="400" height="40" fill="#90c070"/>
  
  <!-- Bicycle -->
  <!-- Wheels -->
  <circle cx="110" cy="230" r="35" fill="none" stroke="#222" stroke-width="4"/>
  <circle cx="110" cy="230" r="4" fill="#222"/>
  <circle cx="280" cy="230" r="35" fill="none" stroke="#222" stroke-width="4"/>
  <circle cx="280" cy="230" r="4" fill="#222"/>
  
  <!-- Spokes -->
  <g stroke="#555" stroke-width="1.5">
    <line x1="110" y1="195" x2="110" y2="265"/>
    <line x1="75" y1="230" x2="145" y2="230"/>
    <line x1="85" y1="205" x2="135" y2="255"/>
    <line x1="135" y1="205" x2="85" y2="255"/>
    <line x1="280" y1="195" x2="280" y2="265"/>
    <line x1="245" y1="230" x2="315" y2="230"/>
    <line x1="255" y1="205" x2="305" y2="255"/>
    <line x1="305" y1="205" x2="255" y2="255"/>
  </g>
  
  <!-- Frame -->
  <line x1="110" y1="230" x2="195" y2="230" stroke="#d22" stroke-width="5"/>
  <line x1="195" y1="230" x2="230" y2="170" stroke="#d22" stroke-width="5"/>
  <line x1="195" y1="230" x2="280" y2="230" stroke="#d22" stroke-width="5"/>
  <line x1="230" y1="170" x2="280" y2="230" stroke="#d22" stroke-width="5"/>
  <line x1="110" y1="230" x2="160" y2="170" stroke="#d22" stroke-width="5"/>
  
  <!-- Pedals -->
  <circle cx="195" cy="230" r="8" fill="#333"/>
  <line x1="195" y1="230" x2="210" y2="245" stroke="#333" stroke-width="3"/>
  <line x1="195" y1="230" x2="180" y2="215" stroke="#333" stroke-width="3"/>
  
  <!-- Seat -->
  <ellipse cx="230" cy="165" rx="15" ry="5" fill="#222"/>
  
  <!-- Handlebars -->
  <line x1="160" y1="170" x2="150" y2="155" stroke="#222" stroke-width="4"/>
  <line x1="150" y1="155" x2="135" y2="160" stroke="#222" stroke-width="4" stroke-linecap="round"/>
  
  <!-- Pelican Body -->
  <ellipse cx="220" cy="150" rx="45" ry="35" fill="#f8f8f8"/>
  
  <!-- Pelican Tail -->
  <polygon points="260,145 285,135 280,155" fill="#e0e0e0"/>
  
  <!-- Wing -->
  <ellipse cx="225" cy="145" rx="28" ry="18" fill="#d8d8d8"/>
  <path d="M 210 145 Q 225 155 245 150" fill="none" stroke="#aaa" stroke-width="1"/>
  
  <!-- Neck -->
  <path d="M 190 130 Q 175 105 180 85 Q 185 70 200 70" fill="#f8f8f8" stroke="#ccc" stroke-width="1"/>
  
  <!-- Head -->
  <circle cx="200" cy="70" r="20" fill="#f8f8f8"/>
  
  <!-- Eye -->
  <circle cx="208" cy="65" r="3" fill="#222"/>
  <circle cx="209" cy="64" r="1" fill="#fff"/>
  
  <!-- Beak (upper) -->
  <path d="M 215 70 L 260 75 L 215 80 Z" fill="#ffa530" stroke="#d87010" stroke-width="1"/>
  
  <!-- Beak pouch -->
  <path d="M 215 78 Q 235 95 258 76" fill="#ffc060" stroke="#d87010" stroke-width="1"/>
  
  <!-- Little tuft -->
  <path d="M 190 52 Q 195 45 200 52" fill="none" stroke="#888" stroke-width="2"/>
  
  <!-- Legs pedaling -->
  <line x1="220" y1="180" x2="210" y2="215" stroke="#ffa530" stroke-width="4" stroke-linecap="round"/>
  <line x1="210" y1="215" x2="210" y2="245" stroke="#ffa530" stroke-width="4" stroke-linecap="round"/>
  <line x1="220" y1="180" x2="195" y2="215" stroke="#ffa530" stroke-width="4" stroke-linecap="round"/>
  <line x1="195" y1="215" x2="180" y2="215" stroke="#ffa530" stroke-width="4" stroke-linecap="round"/>
  
  <!-- Feet -->
  <ellipse cx="210" cy="247" rx="6" ry="3" fill="#ffa530"/>
  <ellipse cx="178" cy="215" rx="6" ry="3" fill="#ffa530"/>
  
  <!-- Wing holding handlebar -->
  <path d="M 190 130 Q 170 140 155 158" fill="none" stroke="#d8d8d8" stroke-width="10" stroke-linecap="round"/>
  
  <!-- Sun -->
  <circle cx="360" cy="50" r="25" fill="#ffdd44"/>
</svg>

I've created a cartoon-style pelican riding a red bicycle. The pelican has its characteristic large orange beak with pouch, white body, and is shown pedaling with its orange feet while one wing grips the handlebars. There's a sunny sky and green grass in the background for a cheerful scene!

Token usage

30 input, 2,205 output

@simonw

simonw commented Apr 16, 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