Creative Challenge
"A pineapple wearing sunglasses, riding a skateboard on a rainbow."
<svg viewBox="0 0 300 300" xmlns="http://www.w3.org/2000/svg">
<!-- Define gradients -->
<defs>
<linearGradient id="pineappleGrad" x1="0%" y1="0%" x2="0%" y2="100%">
<stop offset="0%" stop-color="#f9d147"/>
<stop offset="100%" stop-color="#f4a400"/>
</linearGradient>
<radialGradient id="sunglassGrad" cx="50%" cy="50%" r="50%">
<stop offset="0%" stop-color="#000000" stop-opacity="0.8"/>
<stop offset="100%" stop-color="#222"/>
</radialGradient>
<linearGradient id="rainbowGrad" x1="0%" y1="0%" x2="100%" y2="0%">
<stop offset="0%" stop-color="#ff4b2b"/>
<stop offset="20%" stop-color="#ffb347"/>
<stop offset="40%" stop-color="#ffff66"/>
<stop offset="60%" stop-color="#00fae1"/>
<stop offset="80%" stop-color="#0077be"/>
<stop offset="100%" stop-color="#8a2be2"/>
</linearGradient>
</defs>
<!-- Draw rainbow as background -->
<g id="rainbow">
<ellipse cx="150" cy="300" rx="150" ry="250" fill="url(#rainbowGrad)" stroke="none" transform="rotate(180 150 300)" />
</g>
<!-- Draw skateboard -->
<g id="skateboard" transform="translate(75,220)">
<rect x="0" y="0" width="150" height="20" fill="#654321" rx="10" ry="10"/>
<circle cx="30" cy="20" r="8" fill="#444" stroke="#222" stroke-width="2"/>
<circle cx="120" cy="20" r="8" fill="#444" stroke="#222" stroke-width="2"/>
</g>
<!-- Draw pineapple body (trunk) -->
<g id="pineapple" transform="translate(150,150)">
<!-- Pineapple spikes -->
<ellipse cx="0" cy="0" rx="40" ry="60" fill="url(#pineappleGrad)" stroke="#8b5a2b" stroke-width="3"/>
<!-- Add texture pattern for pineapple -->
<pattern id="dotsPattern" patternUnits="userSpaceOnUse" width="10" height="10">
<circle cx="5" cy="5" r="2" fill="#a0522d"/>
</pattern>
<ellipse cx="0" cy="0" rx="40" ry="60" fill="url(#pineappleGrad)" stroke="#8b5a2b" stroke-width="3"/>
</g>
<!-- Draw pineapple leaves (top) -->
<g id="leaves" transform="translate(150,100)">
<polygon points="0,-40 15,-10 5,0 -15,-10" fill="#228b22" opacity="0.8"/>
<polygon points="0,-45 20,-15 10,0 -20,-15" fill="#32cd32" opacity="0.7"/>
<polygon points="0,-50 25,-20 15,0 -25,-20" fill="#006400" opacity="0.6"/>
</g>
<!-- Draw sunglasses -->
<g id="sunglasses" transform="translate(150,130)">
<rect x="-20" y="-10" width="40" height="20" fill="url(#sunglassGrad)" rx="4" ry="4"/>
<rect x="10" y="-10" width="40" height="20" fill="url(#sunglassGrad)" rx="4" ry="4"/>
<line x1="-20" y1="0" x2="10" y2="0" stroke="#000" stroke-width="2"/>
</g>
<!-- Draw pineapple face -->
<circle cx="150" cy="130" r="10" fill="#663300" stroke="#333" stroke-width="1"/>
<!-- Draw mouth -->
<path d="M140,140 Q150,150 160,140" stroke="#333" stroke-width="2" fill="none"/>
<!-- Draw eyes -->
<circle cx="145" cy="125" r="2" fill="#000"/>
<circle cx="155" cy="125" r="2" fill="#000"/>
<!-- Optional: add shading for depth -->
<circle cx="150" cy="130" r="10" fill="#4d1a00" opacity="0.3"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300">
<!-- Rainbow background -->
<defs>
<linearGradient id="rainbow" x1="0%" y1="0%" x2="100%" y2="0%">
<stop offset="0%" stop-color="#FF0000" />
<stop offset="17%" stop-color="#FFA500" />
<stop offset="34%" stop-color="#FFFF00" />
<stop offset="51%" stop-color="#008000" />
<stop offset="68%" stop-color="#0000FF" />
<stop offset="85%" stop-color="#4B0082" />
<stop offset="100%" stop-color="#EE82EE" />
</linearGradient>
</defs>
<rect x="0" y="150" width="300" height="150" fill="url(#rainbow)" />
<!-- Skateboard -->
<rect x="120" y="220" width="60" height="10" fill="#786C3B" rx="5" />
<rect x="120" y="230" width="60" height="5" fill="#786C3B" rx="5" />
<circle cx="150" cy="235" r="5" fill="#786C3B" />
<path d="M 120 240 L 130 250 L 140 240 Z" fill="#786C3B" />
<path d="M 160 240 L 170 250 L 180 240 Z" fill="#786C3B" />
<!-- Pineapple -->
<circle cx="150" cy="150" r="50" fill="#F7DC6F" />
<path d="M 150 100 L 170 120 L 150 140 L 130 120 Z" fill="#F7DC6F" />
<path d="M 150 160 L 170 180 L 150 200 L 130 180 Z" fill="#F7DC6F" />
<circle cx="150" cy="175" r="10" fill="#F7DC6F" />
<!-- Sunglasses -->
<rect x="130" y="140" width="40" height="10" fill="#000000" rx="5" />
<rect x="130" y="150" width="40" height="5" fill="#000000" rx="5" />
<circle cx="150" cy="155" r="5" fill="#000000" />
<path d="M 130 160 L 140 170 L 150 160 Z" fill="#000000" />
<path d="M 160 160 L 170 170 L 180 160 Z" fill="#000000" />
<!-- Wheels and motion lines -->
<circle cx="120" cy="240" r="5" fill="#000000" />
<circle cx="180" cy="240" r="5" fill="#000000" />
<path d="M 120 240 L 100 260 L 80 240 Z" fill="none" stroke="#000000" stroke-width="2" />
<path d="M 180 240 L 200 260 L 220 240 Z" fill="none" stroke="#000000" stroke-width="2" />
</svg>
Judge's Analysis
Player 1's submission adheres more closely to the prompt by clearly depicting a pineapple with green leafy top, sunglasses, and a skateboard riding on a rainbow.
The composition is simple but effectively communicates the idea.
Player 2's submission is less recognizable as a pineapple and lacks clarity in its representation of the required elements.
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
The total number of shape elements (rect, circle, ellipse, line, polygon, polyline, path) in the SVG.
The number of rectangle elements (rect) in the SVG.
The number of circle elements (circle) in the SVG.
The number of ellipse elements (ellipse) in the SVG.
The number of line elements (line) in the SVG.
The number of polygon elements (polygon) in the SVG.
The number of path elements (path) in the SVG.
The number of group elements (g) in the SVG.
Visual Effects Metrics
The number of gradient definitions (linearGradient, radialGradient) in the SVG.
The number of pattern definitions (pattern) in the SVG.
The number of filter definitions (filter) in the SVG.
The number of mask definitions (mask) in the SVG.
The number of clipping path definitions (clipPath) in the SVG.
The number of elements with opacity attributes in the SVG.
The number of elements with stroke attributes in the SVG.
Colors Metrics
The number of unique colors used in the SVG.
Interactivity Metrics
The number of animation elements (animate, animateMotion, animateTransform, set) in the SVG.
The number of elements with transform attributes in the SVG.
Complexity Metrics
The total number of path commands in all path elements (M, L, C, Q, etc.) in the SVG.
The maximum nesting level of group elements (g) in the SVG.
The number of elements defined within the defs element in the SVG.
The number of use elements (use) in the SVG.
Text Metrics
The number of text elements (text) in the SVG.
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
"Pirate duck sailing a teacup on stormy seas."
"A floating island with a single twisted tree and cascading waterfalls into the clouds."
"A giraffe wearing a pirate hat, balancing on a unicycle."