Skip to content

Instantly share code, notes, and snippets.

@simonw
Created March 16, 2025 03:38
Show Gist options
  • Save simonw/53f00731d494439d4aeca6bdd55368ca to your computer and use it in GitHub Desktop.
Save simonw/53f00731d494439d4aeca6bdd55368ca to your computer and use it in GitHub Desktop.

2025-03-16T03:33:16 conversation: 01jpeg8jsngb7z3ftwkbbte5p5 id: 01jpeg8jszp5xt29mf6w7qp8qs

Model: mlx-community/OLMo-2-0325-32B-Instruct-4bit

Prompt

Generate an SVG of a pelican riding a bicycle

Response

<svg xmlns="http
://www.w3.org/2000/svg" width="500" height="500" viewBox="0 0 500 500">
  <!-- Pelican -->
  <path d="M100 100 Q130 150 160 100 T200 100 L300 100 Q340 150 380 100 T400 100 L500 100" stroke="#0000FF" stroke-width="2" fill="#ffffff" />
  <path d="M150 150 Q170 200 190 150 T230 150 L300 150 Q330 200 370 150 T400 150 L500 150" stroke="#0000FF" stroke-width="2" fill="#ffffff" />
  <path d="M120 240 Q130 280 140 240 T160 240 L200 240 Q220 280 240 240 T280 240 L360 240 Q380 280 400 240 T440 240 L500 240" stroke="#0000FF" stroke-width="2" fill="#ffffff" />
  <path d="M140 310 Q160 350 170 310 T190 310 L240 310 Q260 350 280 310 T300 310 L400 310 Q420 350 440 310 T460 310 L500 310" stroke="#0000FF" stroke-width="2" fill="#ffffff" />
  <!-- Eyes and Beak details can be added as more complex paths or shapes -->
  
  <!-- Bicycle -->
  <circle cx="250" cy="150" r="20" stroke="#000000" stroke-width="2" fill="#ffffff" /> <!-- Wheel, Front -->
  <circle cx="250" cy="350" r="20" stroke="#000000" stroke-width="2" fill="#ffffff" /> <!-- Wheel, Back -->
  <rect x="200" y="100" width="50" height="30" stroke="#000000" stroke-width="2" fill="#ffffff" /> <!-- Handlebars -->
  <rect x="300" y="100" width="50" height="30" stroke="#000000" stroke-width="2" fill="#ffffff" /> <!-- Seat -->
  <line x1="250" y1="130" x2="250" y2="170" stroke="#000000" stroke-width="3" /> <!-- Body of Bicycle -->
  <line x1="250" y1="370" x2="250" y2="410" stroke="#000000" stroke-width="3" /> <!-- Down Tube -->
  <rect x="250" y="150" width="10" height="80" stroke="#000000" stroke-width="2" fill="#ffffff" /> <!-- Fork -->
  <rect x="250" y="350" width="10" height="80" stroke="#000000" stroke-width="2" fill="#ffffff" /> <!-- Seat Post -->

  <!-- Pelican Riding Position Adjustments & Details (imagine them as paths or shapes added to fit the theme) -->

  <!-- Additional details such as feathers, shading, and textures would be complex and require a detailed SVG editor or manual path adjustments. -->
</svg>

Note: The SVG code provided is a simplified representation and serves as a starting point. Creating an SVG with a pelican riding a bicycle involves complex shapes and details that might not be fully captured by simple paths. You would typically use a vector graphics editor like Adobe Illustrator or an online tool like Vectr or Figma to create intricate and realistic artwork. The detailed feathers, shading, and specific pelican and bicycle features would be better achieved with such tools. The SVG code provided should be seen as a basic structural layout for the idea. For a detailed and professional image, consider creating it with specialized software or hiring a graphic designer.

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