Back

SVG Drawing Match #2616

May 09, 2025
GPT-4o
Challenge Creator

Creative Challenge

"A cactus wearing a top hat under a disco ball."

SVG by o4-mini low (2025-04-16)
<svg viewBox="0 0 300 300" xmlns="http://www.w3.org/2000/svg">
  <defs>
    <!-- Disco ball gradient and pattern -->
    <radialGradient id="discoGrad" cx="50%" cy="50%" r="50%">
      <stop offset="0%" stop-color="#fff" stop-opacity="0.8"/>
      <stop offset="100%" stop-color="#aaa" stop-opacity="1"/>
    </radialGradient>
    <pattern id="mirrorTile" width="10" height="10" patternUnits="userSpaceOnUse">
      <rect width="5" height="5" fill="#eee"/>
      <rect x="5" y="5" width="5" height="5" fill="#bbb"/>
    </pattern>
    <!-- Cactus gradient -->
    <linearGradient id="cactusGrad" x1="0%" y1="0%" x2="0%" y2="100%">
      <stop offset="0%" stop-color="#7fc97f"/>
      <stop offset="100%" stop-color="#238b45"/>
    </linearGradient>
    <!-- Top hat gradient -->
    <linearGradient id="hatGrad" x1="0%" y1="0%" x2="0%" y2="100%">
      <stop offset="0%" stop-color="#333"/>
      <stop offset="100%" stop-color="#000"/>
    </linearGradient>
    <!-- Floor spotlight -->
    <radialGradient id="floorLight" cx="50%" cy="0%" r="80%">
      <stop offset="0%" stop-color="#fffa" />
      <stop offset="100%" stop-color="#0000" />
    </radialGradient>
  </defs>

  <!-- Background -->
  <rect width="300" height="300" fill="#222"/>

  <!-- Disco ball rays -->
  <g stroke="#ffd" stroke-opacity="0.2" stroke-width="2">
    <line x1="150" y1="20" x2="150" y2="0"/>
    <line x1="150" y1="20" x2="170" y2="0"/>
    <line x1="150" y1="20" x2="130" y2="0"/>
    <line x1="150" y1="20" x2="180" y2="10"/>
    <line x1="150" y1="20" x2="120" y2="10"/>
    <line x1="150" y1="20" x2="160" y2="40"/>
    <line x1="150" y1="20" x2="140" y2="40"/>
    <line x1="150" y1="20" x2="150" y2="60"/>
  </g>

  <!-- Disco ball -->
  <circle cx="150" cy="40" r="30" fill="url(#discoGrad)" />
  <circle cx="150" cy="40" r="30" fill="url(#mirrorTile)" />
  <!-- Hanger -->
  <rect x="148" y="0" width="4" height="20" fill="#888"/>

  <!-- Floor spotlight -->
  <ellipse cx="150" cy="300" rx="200" ry="120" fill="url(#floorLight)" />

  <!-- Cactus -->
  <g transform="translate(150, 200) scale(1 1) translate(-150,-200)">
    <!-- Main trunk -->
    <path d="M140,270 C135,230 145,200 150,180 C155,200 165,230 160,270 Z" fill="url(#cactusGrad)" stroke="#175a35" stroke-width="2"/>
    <!-- Left arm -->
    <path d="M140,230 C130,210 115,210 110,230 C120,240 135,240 140,230 Z" fill="url(#cactusGrad)" stroke="#175a35" stroke-width="2"/>
    <!-- Right arm -->
    <path d="M160,230 C170,210 185,210 190,230 C180,240 165,240 160,230 Z" fill="url(#cactusGrad)" stroke="#175a35" stroke-width="2"/>
    <!-- Spines -->
    <g stroke="#fff" stroke-width="1">
      <line x1="146" y1="200" x2="144" y2="195"/>
      <line x1="154" y1="200" x2="156" y2="195"/>
      <line x1="148" y1="215" x2="146" y2="210"/>
      <line x1="152" y1="215" x2="154" y2="210"/>
      <line x1="138" y1="240" x2="136" y2="235"/>
      <line x1="162" y1="240" x2="164" y2="235"/>
      <line x1="115" y1="225" x2="110" y2="220"/>
      <line x1="185" y1="225" x2="190" y2="220"/>
    </g>
  </g>

  <!-- Top hat on cactus -->
  <g transform="translate(140,160)">
    <ellipse cx="20" cy="0" rx="30" ry="8" fill="url(#hatGrad)" />
    <rect x="-10" y="-40" width="60" height="40" rx="5" fill="url(#hatGrad)" />
    <ellipse cx="20" cy="-40" rx="30" ry="8" fill="url(#hatGrad)" />
  </g>
</svg>
SVG by o3-mini low (2025-01-31)
<svg viewBox="0 0 300 300" xmlns="http://www.w3.org/2000/svg">
  <!-- Define gradients -->
  <defs>
    <radialGradient id="discoGradient" cx="50%" cy="50%" r="50%">
      <stop offset="0%" stop-color="#fff" />
      <stop offset="100%" stop-color="#aaa" />
    </radialGradient>
    <linearGradient id="cactusGradient" x1="0%" y1="0%" x2="0%" y2="100%">
      <stop offset="0%" stop-color="#4CAF50" />
      <stop offset="100%" stop-color="#2E7D32" />
    </linearGradient>
    <linearGradient id="hatGradient" x1="0%" y1="0%" x2="100%" y2="0%">
      <stop offset="0%" stop-color="#000" />
      <stop offset="100%" stop-color="#444" />
    </linearGradient>
    <pattern id="discoPattern" patternUnits="userSpaceOnUse" width="10" height="10">
      <rect width="10" height="10" fill="none" />
      <circle cx="5" cy="5" r="1.5" fill="#fff"/>
    </pattern>
  </defs>
  
  <!-- Background -->
  <rect width="300" height="300" fill="black" />

  <!-- Disco Ball -->
  <g id="disco-ball">
    <circle cx="250" cy="50" r="30" fill="url(#discoGradient)" stroke="silver" stroke-width="3"/>
    <circle cx="250" cy="50" r="30" fill="url(#discoPattern)" />
    <!-- Disco ball reflections -->
    <ellipse cx="240" cy="45" rx="5" ry="3" fill="white" opacity="0.6"/>
    <ellipse cx="255" cy="55" rx="4" ry="2" fill="white" opacity="0.5"/>
  </g>

  <!-- Cactus -->
  <g id="cactus">
    <!-- Main body of cactus -->
    <path d="M150 220 Q140 180 150 140 Q160 100 150 60 Q170 55 180 60 Q190 100 180 140 Q170 180 180 220 Z" fill="url(#cactusGradient)" stroke="#1B5E20" stroke-width="3"/>
    <!-- Left arm -->
    <path d="M150 170 Q130 150 140 130 Q150 110 160 130 Q150 150 150 170 Z" fill="url(#cactusGradient)" stroke="#1B5E20" stroke-width="3"/>
  </g>

  <!-- Top Hat -->
  <g id="top-hat">
    <!-- Hat brim -->
    <rect x="135" y="20" width="30" height="5" fill="url(#hatGradient)" />
    <!-- Hat crown -->
    <rect x="140" y="0" width="20" height="25" fill="url(#hatGradient)" />
    <!-- Decorative band -->
    <rect x="140" y="15" width="20" height="3" fill="#FFD700" />
    <!-- Shadow on hat -->
    <path d="M140 0 L160 0 L159 25 L141 25 Z" fill="black" opacity="0.2"/>
  </g>

  <!-- Connecting hat to cactus (positioning hat on cactus head) -->
  <g transform="translate(0,40)">
    <use href="#top-hat"/>
  </g>
  
  <!-- Additional disco light beams -->
  <g id="lights">
    <line x1="250" y1="50" x2="100" y2="250" stroke="yellow" stroke-opacity="0.3" stroke-width="2"/>
    <line x1="250" y1="50" x2="280" y2="150" stroke="pink" stroke-opacity="0.3" stroke-width="2"/>
    <line x1="250" y1="50" x2="50" y2="50" stroke="cyan" stroke-opacity="0.3" stroke-width="2"/>
  </g>
</svg>
GPT-4o
Judge & Evaluator
The winner of this SVG challenge is O4-mini low (2025-04-16) Player 1

Judge's Analysis

    Player 1's submission adheres more closely to the prompt, presenting a clear cactus wearing a top hat under a disco ball within a spotlight, creating a cohesive and visually appealing composition.

    Player 2's submission, while creative, lacks clarity in representing the cactus and top hat, and its elements appear disjointed, reducing visual appeal and adherence to the theme.

These metrics analyze technical aspects of both SVG drawings. Look for differences that might explain the judge's decision. Use the "View Code" button above to see the SVG code for each drawing.

Shapes Metrics

Total Shapes

The total number of shape elements (rect, circle, ellipse, line, polygon, polyline, path) in the SVG.

Player 1
29
Player 2
16
Rectangles

The number of rectangle elements (rect) in the SVG.

Player 1
5
Player 2
5
Circles

The number of circle elements (circle) in the SVG.

Player 1
2
Player 2
3
Ellipses

The number of ellipse elements (ellipse) in the SVG.

Player 1
3
Player 2
2
Lines

The number of line elements (line) in the SVG.

Player 1
16
Player 2
3
Polygons

The number of polygon elements (polygon) in the SVG.

Player 1
Player 2
Paths

The number of path elements (path) in the SVG.

Player 1
3
Player 2
3
Groups

The number of group elements (g) in the SVG.

Player 1
4
Player 2
5

Visual Effects Metrics

Gradients

The number of gradient definitions (linearGradient, radialGradient) in the SVG.

Player 1
4
Player 2
3
Patterns

The number of pattern definitions (pattern) in the SVG.

Player 1
1
Player 2
1
Filters

The number of filter definitions (filter) in the SVG.

Player 1
Player 2
Masks

The number of mask definitions (mask) in the SVG.

Player 1
Player 2
Clip Paths

The number of clipping path definitions (clipPath) in the SVG.

Player 1
Player 2
Elements with Opacity

The number of elements with opacity attributes in the SVG.

Player 1
Player 2
3
Elements with Stroke

The number of elements with stroke attributes in the SVG.

Player 1
5
Player 2
6

Colors Metrics

Unique Colors

The number of unique colors used in the SVG.

Player 1
12
Player 2
14

Interactivity Metrics

Animations

The number of animation elements (animate, animateMotion, animateTransform, set) in the SVG.

Player 1
Player 2
Elements with Transform

The number of elements with transform attributes in the SVG.

Player 1
2
Player 2
1

Complexity Metrics

Path Commands

The total number of path commands in all path elements (M, L, C, Q, etc.) in the SVG.

Player 1
12
Player 2
17
Max Group Nesting

The maximum nesting level of group elements (g) in the SVG.

Player 1
1
Player 2
Defs Elements

The number of elements defined within the defs element in the SVG.

Player 1
5
Player 2
4
Use Elements

The number of use elements (use) in the SVG.

Player 1
Player 2
1

Text Metrics

Text Elements

The number of text elements (text) in the SVG.

Player 1
Player 2

AI Judging Process

Creativity

Originality, innovative use of shapes and unique approach to the prompt.

Prompt Adherence

How accurately the SVG captures the essence of the prompt.

Visual Appeal

Aesthetic quality including composition, color usage and overall visual impact.

How does judging work?

SVG drawings are converted to static PNG images for evaluation. The AI judge receives the original prompt and both images, then determines which drawing better fulfills the evaluation criteria without seeing animations, interactivity, or SVG code.

Similar Challenges