Skip to content
TheChatArchiveThe Chat Archive
Geminigemini-2.5-flash-preview-04-17· GoogleHugging Face LMArena Human Preference 140K

Code coherent svg of pikachu as it appears in original anime

From a Chatbot Arena battleThe same person sent this prompt to two anonymous models at once. Compare it with Qwenqwen-max-2025-01-25’s answer.
  1. User

    Code coherent svg of pikachu as it appears in original anime

  2. Gemini Assistant

    Okay, here is the SVG code for a simplified, classic anime-style Pikachu. This version focuses on the core shapes and colors familiar from the original series, keeping the code relatively coherent and easy to understand using basic shapes and paths.

    <svg width="300" height="300" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
      <!-- Classic Anime Pikachu -->
      <!-- Based on simple shapes and paths for readability -->
    
      <!-- Define colors -->
      <style>
        .pikachu-yellow { fill: #FEE135; } /* Bright Yellow */
        .pikachu-red { fill: #FF0000; }   /* Bright Red Cheeks */
        .pikachu-brown { fill: #A0522D; } /* Brown Stripes/Tail Base */
        .pikachu-black { fill: #000000; } /* Black Outlines/Eyes/Ear Tips/Mouth */
        .pikachu-white { fill: #FFFFFF; } /* Eye highlights */
      </style>
    
      <!-- Group for the entire character - useful for scaling/positioning -->
      <g id="pikachu">
    
        <!-- Ears (placed behind the head) -->
        <g id="ears">
          <!-- Left Ear - Yellow part -->
          <!-- Uses a simple path for a slightly curved shape -->
          <path d="M 70 50 Q 75 30 80 15 C 82 5 88 5 90 15 L 85 25 Q 75 40 70 50 Z" class="pikachu-yellow"/>
          <!-- Left Ear - Black tip -->
          <!-- Covers the end of the yellow path -->
          <path d="M 80 15 C 82 5 88 5 90 15 L 85 25 Z" class="pikachu-black"/>
    
          <!-- Right Ear - Yellow part (symmetric) -->
          <path d="M 130 50 Q 125 30 120 15 C 118 5 112 5 110 15 L 115 25 Q 125 40 130 50 Z" class="pikachu-yellow"/>
          <!-- Right Ear - Black tip (symmetric) -->
          <path d="M 120 15 C 118 5 112 5 110 15 L 115 25 Z" class="pikachu-black"/>
        </g>
    
        <!-- Tail (placed behind the body) -->
        <g id="tail">
          <!-- Brown base -->
          <rect x="97" y="155" width="6" height="10" class="pikachu-brown"/>
          <!-- Yellow lightning bolt -->
          <!-- Uses a polygon for the sharp corners -->
          <polygon points="100,165 110,145 95,150 115,125 100,130 120,105" class="pikachu-yellow" />
        </g>
    
        <!-- Body/Head Mass -->
        <!-- A simple circle represents the round form -->
        <g id="body">
          <circle cx="100" cy="100" r="65" class="pikachu-yellow"/>
        </g>
    
        <!-- Limbs (placed on the body - simple stubs) -->
        <g id="limbs">
           <!-- Arms (circles) -->
           <circle cx="60" cy="115" r="15" class="pikachu-yellow"/>
           <circle cx="140" cy="115" r="15" class="pikachu-yellow"/>
           <!-- Legs (circles) -->
           <circle cx="80" cy="155" r="15" class="pikachu-yellow"/>
           <circle cx="120" cy="155" r="15" class="pikachu-yellow"/>
        </g>
    
        <!-- Back Stripes (placed on the body) -->
        <g id="back-stripes">
           <!-- Three slightly curved lines using paths -->
           <path d="M 65 80 Q 100 75 135 80" stroke-width="8" fill="none" class="pikachu-brown"/>
           <path d="M 65 95 Q 100 90 135 95" stroke-width="8" fill="none" class="pikachu-brown"/>
           <path d="M 65 110 Q 100 105 135 110" stroke-width="8" fill="none" class="pikachu-brown"/>
        </g>
    
    
        <!-- Face Features (placed on the front of the head) -->
        <g id="face">
          <!-- Cheeks (circles) -->
          <circle cx="70" cy="110" r="15" class="pikachu-red"/>
          <circle cx="130" cy="110" r="15" class="pikachu-red"/>
          <!-- Eyes (circles) -->
          <circle cx="85" cy="90" r="8" class="pikachu-black"/>
          <circle cx="115" cy="90" r="8" class="pikachu-black"/>
          <!-- Eye Highlights (small white circles) -->
          <circle cx="83" cy="88" r="3" class="pikachu-white"/>
          <circle cx="113" cy="88" r="3" class="pikachu-white"/>
          <!-- Nose (small black circle) -->
          <circle cx="100" cy="105" r="2" class="pikachu-black"/>
          <!-- Mouth (simple curved line path) -->
          <path d="M 90 125 Q 100 135 110 125" stroke-width="2" fill="none" class="pikachu-black"/>
        </g>
    
      </g> <!-- End of pikachu group -->
    
    </svg>
    

    Explanation:

    1. <svg> Tag: Defines the SVG canvas. width and height set the display size, viewBox sets the internal coordinate system (0,0 to 200,200), making it easily scalable.
    2. <style> Tag: Defines CSS classes for colors. This makes the code cleaner and makes it easy to change the color palette if needed.
    3. <g> Tags: Used to group related elements (ears, tail, body, limbs, back-stripes, face). This improves organization and allows you to manipulate parts of the character together. The main <g id="pikachu"> groups everything.
    4. Drawing Order: Elements are drawn in the order they appear in the code. Elements meant to be behind others (like ears and tail) are listed first. The body comes next, then features that sit on the body (limbs, stripes), and finally, face details that are on top.
    5. Shapes:
      • <circle>: Used for the main body, cheeks, eyes, eye highlights, and limbs.
      • <rect>: Used for the small brown base of the tail.
      • <polygon>: Used for the lightning bolt shape of the tail, defined by a series of straight line segments connecting points.
      • <path>: Used for the slightly more complex curved shapes of the ears and the curved back stripes, and the simple curved mouth. The d attribute contains drawing commands (M=moveto, Q=quadratic bezier curve, C=cubic bezier curve, L=lineto, Z=closepath).
    6. Coordinates: All coordinates (like cx, cy, r, x, y, points, path commands) are relative to the viewBox (0 to 200 in both x and y directions). The character is roughly centered around (100, 100).
    7. Colors: Classes like .pikachu-yellow are applied using the class attribute to color the shapes.

    This code provides a good balance between visual accuracy for the classic anime look and code clarity. You can easily modify the coordinates, sizes, and path details to adjust the appearance.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.