Creative Challenge
"Tree growing out of a coffee cup under a starry night sky."
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300">
<!-- Starry Night Sky -->
<rect x="0" y="0" width="300" height="300" fill="#212121" />
<g>
<circle cx="50" cy="50" r="5" fill="#fff" />
<circle cx="100" cy="150" r="3" fill="#fff" />
<circle cx="200" cy="50" r="4" fill="#fff" />
<circle cx="250" cy="200" r="2" fill="#fff" />
<circle cx="150" cy="250" r="6" fill="#fff" />
</g>
<g>
<line x1="0" y1="0" x2="300" y2="300" stroke="#fff" stroke-width="1" stroke-dasharray="5,5" />
<line x1="300" y1="0" x2="0" y2="300" stroke="#fff" stroke-width="1" stroke-dasharray="5,5" />
</g>
<!-- Coffee Cup -->
<g transform="translate(120, 180)">
<path d="M 0 0 L 40 0 C 60 0 60 20 40 20 L 0 20 C 0 40 20 40 20 60 C 0 80 0 60 0 40 Z" fill="#964B00" />
<path d="M 10 10 L 30 10 C 40 10 40 30 30 30 L 10 30 C 10 40 20 40 20 50 C 10 60 10 50 10 40 Z" fill="#786C3B" />
<path d="M 10 10 L 10 30 L 30 30 L 30 10 Z" fill="#786C3B" />
</g>
<!-- Tree -->
<g transform="translate(140, 150)">
<path d="M 0 0 L 0 -50 L 20 -50 L 20 0 Z" fill="#3E8E41" />
<path d="M 10 -20 L 10 -40 L 30 -40 L 30 -20 Z" fill="#3E8E41" />
<path d="M 10 -30 L 10 -50 L 30 -50 L 30 -30 Z" fill="#3E8E41" />
<g>
<circle cx="10" cy="-60" r="10" fill="#8BC34A" />
<circle cx="30" cy="-60" r="10" fill="#8BC34A" />
<circle cx="10" cy="-80" r="10" fill="#8BC34A" />
<circle cx="30" cy="-80" r="10" fill="#8BC34A" />
</g>
</g>
<!-- Gradients and Lighting -->
<defs>
<linearGradient id="starGradient" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stop-color="#fff" stop-opacity="1" />
<stop offset="100%" stop-color="#fff" stop-opacity="0" />
</linearGradient>
<radialGradient id="treeGradient" cx="50%" cy="50%" r="50%" fx="50%" fy="50%">
<stop offset="0%" stop-color="#3E8E41" stop-opacity="1" />
<stop offset="100%" stop-color="#3E8E41" stop-opacity="0" />
</radialGradient>
</defs>
<g>
<rect x="0" y="0" width="300" height="300" fill="url(#starGradient)" />
<rect x="120" y="150" width="80" height="100" fill="url(#treeGradient)" />
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300">
<defs>
<radialGradient id="skyGrad" cx="50%" cy="30%" r="70%">
<stop offset="0%" stop-color="#1a237e"/>
<stop offset="100%" stop-color="#0d0d2b"/>
</radialGradient>
<radialGradient id="moonGrad" cx="50%" cy="50%" r="50%">
<stop offset="0%" stop-color="#fffde7"/>
<stop offset="100%" stop-color="#f5f3ce"/>
</radialGradient>
<radialGradient id="cupGrad" cx="50%" cy="50%" r="50%">
<stop offset="0%" stop-color="#ffcc80"/>
<stop offset="100%" stop-color="#ffb74d"/>
</radialGradient>
<radialGradient id="coffeeGrad" cx="50%" cy="50%" r="50%">
<stop offset="0%" stop-color="#4e342e"/>
<stop offset="100%" stop-color="#3e2723"/>
</radialGradient>
<radialGradient id="leafGrad" cx="50%" cy="50%" r="50%">
<stop offset="0%" stop-color="#a5d6a7"/>
<stop offset="100%" stop-color="#2e7d32"/>
</radialGradient>
<pattern id="beanPattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse">
<ellipse cx="5" cy="5" rx="4" ry="2" fill="#6d4c41" transform="rotate(30 5 5)"/>
<ellipse cx="15" cy="15" rx="4" ry="2" fill="#6d4c41" transform="rotate(-30 15 15)"/>
</pattern>
<filter id="starGlow">
<feGaussianBlur stdDeviation="1.2" result="blur"/>
<feMerge>
<feMergeNode in="blur"/>
<feMergeNode in="SourceGraphic"/>
</feMerge>
</filter>
</defs>
<!-- Night sky -->
<rect width="300" height="300" fill="url(#skyGrad)"/>
<!-- Moon -->
<circle cx="240" cy="60" r="30" fill="url(#moonGrad)" opacity="0.8"/>
<!-- Stars -->
<g filter="url(#starGlow)" fill="#ffffff" opacity="0.9">
<circle cx="50" cy="30" r="1.8"/>
<circle cx="120" cy="80" r="1.2"/>
<circle cx="200" cy="20" r="1.5"/>
<circle cx="180" cy="120" r="2"/>
<circle cx="80" cy="150" r="1.3"/>
<circle cx="250" cy="140" r="1.7"/>
<circle cx="60" cy="220" r="1.4"/>
<circle cx="220" cy="200" r="1.6"/>
</g>
<!-- Coffee cup -->
<g id="cup">
<!-- Coffee surface -->
<ellipse cx="150" cy="230" rx="70" ry="15" fill="url(#coffeeGrad)"/>
<!-- Cup body -->
<path d="M80,230 v30 a15,10 0 0 0 140,0 v-30 z" fill="url(#cupGrad)" stroke="#8d6e63" stroke-width="2"/>
<!-- Bean pattern overlay -->
<path d="M80,230 v30 a15,10 0 0 0 140,0 v-30 z" fill="url(#beanPattern)" opacity="0.3"/>
<!-- Handle -->
<path d="M220,240 c20,5 20,35 0,40" stroke="#8d6e63" stroke-width="6" fill="none" />
</g>
<!-- Steam -->
<g stroke="#ffffff" stroke-width="1.5" opacity="0.5" fill="none">
<path d="M130,220 c-5,-20 10,-30 5,-50" />
<path d="M150,220 c0,-20 15,-25 10,-45" />
<path d="M170,220 c5,-20 -10,-30 -5,-50" />
</g>
<!-- Tree trunk -->
<path d="M150,230 v-50 c0,-10 -5,-15 -10,-20 s-10,-15 0,-25 c10,10 15,20 15,30 v60" fill="#5d4037"/>
<!-- Branches -->
<g stroke="#4e342e" stroke-width="3" fill="none">
<path d="M150,160 c-20,-20 -40,0 -50,-30"/>
<path d="M150,160 c20,-15 35,5 45,-25"/>
<path d="M140,140 c-15,-10 -25,5 -30,-20"/>
<path d="M160,140 c15,-15 25,5 30,-20"/>
</g>
<!-- Leaves -->
<g fill="url(#leafGrad)" stroke="#2e7d32" stroke-width="0.5">
<circle cx="100" cy="120" r="12"/>
<circle cx="80" cy="150" r="10"/>
<circle cx="120" cy="140" r="11"/>
<circle cx="160" cy="110" r="13"/>
<circle cx="180" cy="140" r="9"/>
<circle cx="140" cy="100" r="10"/>
<circle cx="155" cy="130" r="8"/>
<circle cx="130" cy="115" r="7"/>
</g>
</svg>
Judge's Analysis
Player 2's submission is more detailed and adheres closely to the prompt, depicting a tree growing out of a coffee cup under a starry night sky with clear elements like the moon and stars.
Player 1's submission is abstract and less recognizable as a tree in a coffee cup, making it less effective in conveying the prompt's 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
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
"An ant surfing on a leaf down a stream."
"A giraffe painting the moon with a roller from atop a tall ladder."
"A cat wearing a top hat, balancing on a unicycle under a starry sky."