Skip to content

Instantly share code, notes, and snippets.

@simonw
Created April 23, 2026 19:03
Show Gist options
  • Select an option

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

Select an option

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

2026-04-23T18:59:10 conversation: 01kpxvcvy4pbvq5fyz8081gwng id: 01kpxvbpbfk8j122g0g9x5tgtw

Model: openai-codex/gpt-5.5

Prompt

Generate an SVG of a pelican riding a bicycle

Response

<svg width="800" height="500" viewBox="0 0 800 500" xmlns="http://www.w3.org/2000/svg">
  <rect width="800" height="500" fill="#bfe9ff"/>
  <rect y="380" width="800" height="120" fill="#7cc66a"/>
  <path d="M0 385 C120 360 220 390 340 370 C470 348 570 390 800 365 L800 500 L0 500 Z" fill="#67b85a"/>

  <!-- Sun -->
  <circle cx="690" cy="80" r="42" fill="#ffd86b"/>
  <g stroke="#ffd86b" stroke-width="6" stroke-linecap="round">
    <line x1="690" y1="20" x2="690" y2="0"/>
    <line x1="690" y1="160" x2="690" y2="138"/>
    <line x1="630" y1="80" x2="608" y2="80"/>
    <line x1="772" y1="80" x2="750" y2="80"/>
    <line x1="648" y1="38" x2="632" y2="22"/>
    <line x1="733" y1="123" x2="748" y2="138"/>
    <line x1="733" y1="38" x2="748" y2="22"/>
    <line x1="648" y1="123" x2="632" y2="138"/>
  </g>

  <!-- Bicycle wheels -->
  <g fill="none" stroke="#222" stroke-width="7">
    <circle cx="285" cy="355" r="70"/>
    <circle cx="530" cy="355" r="70"/>
  </g>

  <!-- Wheel spokes -->
  <g stroke="#555" stroke-width="2">
    <g transform="translate(285 355)">
      <line x1="0" y1="0" x2="70" y2="0"/>
      <line x1="0" y1="0" x2="-70" y2="0"/>
      <line x1="0" y1="0" x2="0" y2="70"/>
      <line x1="0" y1="0" x2="0" y2="-70"/>
      <line x1="0" y1="0" x2="50" y2="50"/>
      <line x1="0" y1="0" x2="-50" y2="-50"/>
      <line x1="0" y1="0" x2="50" y2="-50"/>
      <line x1="0" y1="0" x2="-50" y2="50"/>
    </g>
    <g transform="translate(530 355)">
      <line x1="0" y1="0" x2="70" y2="0"/>
      <line x1="0" y1="0" x2="-70" y2="0"/>
      <line x1="0" y1="0" x2="0" y2="70"/>
      <line x1="0" y1="0" x2="0" y2="-70"/>
      <line x1="0" y1="0" x2="50" y2="50"/>
      <line x1="0" y1="0" x2="-50" y2="-50"/>
      <line x1="0" y1="0" x2="50" y2="-50"/>
      <line x1="0" y1="0" x2="-50" y2="50"/>
    </g>
  </g>

  <!-- Bicycle frame -->
  <g fill="none" stroke="#2769b3" stroke-width="10" stroke-linecap="round" stroke-linejoin="round">
    <path d="M285 355 L370 260 L440 355 Z"/>
    <path d="M440 355 L530 355 L470 255 L370 260"/>
    <path d="M370 260 L355 215"/>
    <path d="M470 255 L500 215"/>
    <path d="M500 215 L555 218"/>
  </g>

  <!-- Seat and handlebars -->
  <g stroke="#222" stroke-width="8" stroke-linecap="round">
    <line x1="330" y1="214" x2="380" y2="214"/>
    <line x1="552" y1="218" x2="585" y2="198"/>
    <line x1="585" y1="198" x2="605" y2="205"/>
  </g>

  <!-- Pedals -->
  <g stroke="#222" stroke-width="5" stroke-linecap="round">
    <circle cx="440" cy="355" r="12" fill="#222"/>
    <line x1="440" y1="355" x2="470" y2="335"/>
    <line x1="440" y1="355" x2="410" y2="375"/>
    <line x1="462" y1="330" x2="486" y2="330"/>
    <line x1="392" y1="380" x2="416" y2="380"/>
  </g>

  <!-- Pelican body -->
  <ellipse cx="390" cy="185" rx="92" ry="58" fill="#f7f7f2" stroke="#333" stroke-width="4"/>
  <path d="M322 181 C275 188 255 227 286 256 C319 287 376 250 356 210 Z" fill="#e8e8de" stroke="#333" stroke-width="4"/>
  
  <!-- Pelican neck -->
  <path d="M445 158 C475 130 512 124 539 143 C560 158 560 188 538 203 C514 220 478 204 463 183 Z" fill="#f7f7f2" stroke="#333" stroke-width="4"/>

  <!-- Head -->
  <circle cx="545" cy="142" r="38" fill="#f7f7f2" stroke="#333" stroke-width="4"/>
  <circle cx="557" cy="132" r="5" fill="#111"/>

  <!-- Beak -->
  <path d="M575 148 C630 142 685 154 714 175 C668 183 616 184 573 166 Z" fill="#ffb347" stroke="#333" stroke-width="4" stroke-linejoin="round"/>
  <path d="M578 168 C620 205 682 204 714 175 C668 183 616 184 573 166 Z" fill="#f59a3d" stroke="#333" stroke-width="4" stroke-linejoin="round"/>
  <line x1="580" y1="158" x2="705" y2="174" stroke="#333" stroke-width="3"/>

  <!-- Wing -->
  <path d="M350 177 C390 195 419 224 414 257 C370 250 329 225 315 190 Z" fill="#d9d9cf" stroke="#333" stroke-width="4"/>
  <path d="M330 200 C355 215 378 232 398 252" fill="none" stroke="#aaa" stroke-width="3"/>

  <!-- Pelican legs on pedals -->
  <g stroke="#e48a2a" stroke-width="9" stroke-linecap="round" fill="none">
    <path d="M380 238 C395 270 414 310 470 335"/>
    <path d="M420 238 C420 282 409 340 410 375"/>
  </g>

  <!-- Feet -->
  <g fill="#e48a2a" stroke="#333" stroke-width="3">
    <path d="M468 326 L493 323 L485 337 L462 338 Z"/>
    <path d="M405 367 L430 369 L418 385 L394 380 Z"/>
  </g>

  <!-- Tail feathers -->
  <g fill="#f7f7f2" stroke="#333" stroke-width="3">
    <path d="M298 165 L245 138 L284 185 Z"/>
    <path d="M306 183 L248 183 L294 205 Z"/>
  </g>

  <!-- Little motion lines -->
  <g stroke="#ffffff" stroke-width="5" stroke-linecap="round" opacity="0.85">
    <line x1="120" y1="310" x2="190" y2="310"/>
    <line x1="90" y1="340" x2="175" y2="340"/>
    <line x1="630" y1="330" x2="710" y2="330"/>
  </g>
</svg>

Token usage

26 input, 2,038 output, {"output_tokens_details": {"reasoning_tokens": 39}}

@simonw

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