gemini-2.0-flash-001· Google LMArena Human Preference 140K
Generate an SVG of a pelican riding a bicycle.
- User
Generate an SVG of a pelican riding a bicycle.
- Assistant
<svg width="200" height="200" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"> <!-- Pelican Body --> <path d="M 30 100 C 30 80, 50 60, 70 60 C 90 60, 110 80, 110 100 C 110 120, 90 140, 70 140 C 50 140, 30 120, 30 100 Z" fill="#F0F0F0" stroke="black" stroke-width="2"/> <!-- Pelican Head and Beak --> <path d="M 110 100 C 110 80, 130 60, 150 60 C 160 60, 170 70, 170 80 L 170 110 C 170 120, 160 130, 150 130 C 130 130, 110 110, 110 100 Z" fill="#F0F0F0" stroke="black" stroke-width="2"/> <path d="M 170 80 L 190 95 L 170 110" fill="none" stroke="orange" stroke-width="3" stroke-linecap="round"/> <!-- Pelican Eye --> <circle cx="135" cy="75" r="5" fill="black"/> <!-- Bicycle Frame --> <path d="M 60 140 L 140 140 M 80 140 L 100 100 L 120 140 M 100 100 L 140 140" stroke="blue" stroke-width="3" stroke-linecap="round"/> <!-- Bicycle Wheels --> <circle cx="60" cy="140" r="20" fill="none" stroke="black" stroke-width="3"/> <circle cx="140" cy="140" r="20" fill="none" stroke="black" stroke-width="3"/> <!-- Handlebars --> <path d="M 120 60 L 140 50 L 160 60" fill="none" stroke="brown" stroke-width="3" stroke-linecap="round"/> <path d="M 120 60 L 80 50 L 60 60" fill="none" stroke="brown" stroke-width="3" stroke-linecap="round"/> <!-- Connecting Rod (Pelican to Handlebars - Basic) --> <path d="M 70 60 L 100 60" stroke="black" stroke-width="2"/> </svg>Explanation:
<svg>element: Defines the SVG canvas with width, height, andviewBox.viewBox="0 0 200 200"means the SVG content will scale to fit within a 200x200 area. This helps maintain aspect ratio.- Pelican Body: A path is used to draw the pelican's body as a roughly oval shape.
Mmoves the pen to the starting point, andCdefines a cubic Bezier curve.fillsets the color,strokethe outline, andstroke-widththe outline's thickness. I used a light gray (#F0F0F0). - Pelican Head and Beak: Similar to the body, paths are used to create the head and beak. The beak is orange and uses rounded line endings.
- Pelican Eye: A simple circle.
- Bicycle Frame: The frame is drawn using line segments.
Mmoves the pen, andLdraws a line to the specified point.stroke-linecap="round"gives the lines rounded ends. - Bicycle Wheels: Two circles are used for the wheels.
- Handlebars: Lines are used to make the handlebars.
- Connecting Rod: A simple line to vaguely suggest the pelican is holding the handlebars.
How to use this code:
- Copy the entire code snippet above.
- Save it as an
.svgfile (e.g.,pelican_bicycle.svg). Make sure your text editor saves it as plain text. - Open the
.svgfile in a web browser. Most browsers support viewing SVG files directly. - Alternatively, you can embed the code directly into an HTML document within the
<svg>tags.
Customization:
- Colors: Change the
fillandstrokeattributes to adjust the colors of the pelican and bicycle. - Sizes and Positions: Modify the coordinates in the
dattribute of the<path>elements and thecx,cy, andrattributes of the<circle>elements to adjust the size and position of the elements. - Detail: Add more shapes and details (e.g., feathers, pedal, saddle) to make the pelican and bicycle more realistic. You can use online SVG editors (like Inkscape or Boxy SVG) to make editing easier.
- Animation: You could add CSS or JavaScript animation to make the pelican pedal the bicycle!
- Stroke Width: Adjust the
stroke-widthattribute for different line thicknesses. - Styling: You can use CSS to style the SVG elements for more advanced control over their appearance.
- Background: Add a
<rect>element at the beginning of the SVG code (before the pelican and bicycle) to create a background.
This gives you a basic pelican on a bicycle. Remember, SVG is vector-based, so it scales well without losing quality. Have fun experimenting!
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Identical first prompt
- gpt-4.1-mini-2025-04-14Compare side by side →
- gpt-4.1-2025-04-14Compare side by side →
- llama-4-maverick-03-26-experimentalCompare side by side →
- grok-3-mini-betaCompare side by side →
- qwen-max-2025-01-25Compare side by side →
- llama-3.3-70b-instructCompare side by side →
- grok-3-preview-02-24Compare side by side →
- claude-3-5-haiku-20241022Compare side by side →
- o3-2025-04-16Compare side by side →
- o3-miniCompare side by side →