Creative Challenge
"Top hat with a galaxy spilling out"
<svg viewBox="0 0 300 300" xmlns="http://www.w3.org/2000/svg">
<!-- Background -->
<rect width="300" height="300" fill="#1a1a1a"/>
<!-- Definitions for gradients and patterns -->
<defs>
<radialGradient id="galaxyGradient" cx="50%" cy="50%" r="50%">
<stop offset="0%" stop-color="#ff77ff"/>
<stop offset="50%" stop-color="#7700ff"/>
<stop offset="100%" stop-color="#000000"/>
</radialGradient>
<radialGradient id="starGlow" cx="50%" cy="50%" r="50%">
<stop offset="0%" stop-color="#ffffff" stop-opacity="1"/>
<stop offset="100%" stop-color="#ffffff" stop-opacity="0"/>
</radialGradient>
<filter id="blurFilter">
<feGaussianBlur in="SourceGraphic" stdDeviation="2" />
</filter>
<pattern id="topHatPattern" patternUnits="userSpaceOnUse" width="10" height="10">
<rect width="10" height="10" fill="#000"/>
<circle cx="5" cy="5" r="2" fill="#444"/>
</pattern>
</defs>
<!-- Top Hat Base -->
<g id="hat">
<!-- Hat Brim -->
<ellipse cx="150" cy="200" rx="70" ry="15" fill="#000" stroke="#333" stroke-width="2"/>
<!-- Hat Body -->
<rect x="110" y="90" width="80" height="110" fill="url(#topHatPattern)" stroke="#222" stroke-width="2" rx="8" ry="8"/>
<!-- Hat Top -->
<rect x="120" y="70" width="60" height="30" fill="#000" stroke="#333" stroke-width="2" rx="5" ry="5"/>
</g>
<!-- Galaxy spilling out from the hat -->
<g id="galaxy" transform="translate(150, 70)">
<!-- Main swirling galaxy cloud -->
<path d="M0,0
c20,-30 60,-30 80,0
c10,20 0,40 -20,50
c-30,15 -50,35 -70,20
c-20,-15 -10,-40 10,-55
c15,-10 15,-25 0,-15
c-15,10 -25,0 -20,-15
c5,-15 25,-10 35,0
c10,10 5,30 -15,35
c-20,5 -25,-10 -15,-20
c10,-10 25,-5 30,10
c5,15 -10,20 -25,15
c-15,-5 -15,-20 -5,-30Z" fill="url(#galaxyGradient)" opacity="0.85" transform="rotate(-30)"/>
<!-- Stars scattered around -->
<circle cx="30" cy="-20" r="2" fill="white" filter="url(#blurFilter)"/>
<circle cx="50" cy="10" r="1.5" fill="white" filter="url(#blurFilter)"/>
<circle cx="10" cy="40" r="2.5" fill="white" filter="url(#blurFilter)"/>
<circle cx="-20" cy="20" r="1.8" fill="white" filter="url(#blurFilter)"/>
<circle cx="-30" cy="-10" r="2" fill="white" filter="url(#blurFilter)"/>
<circle cx="0" cy="30" r="1.5" fill="white" filter="url(#blurFilter)"/>
<circle cx="20" cy="-40" r="2" fill="white" filter="url(#blurFilter)"/>
<!-- Radiating star bursts -->
<g transform="translate(40, -30)">
<circle cx="0" cy="0" r="3" fill="url(#starGlow)"/>
</g>
<g transform="translate(-25, 10)">
<circle cx="0" cy="0" r="2.5" fill="url(#starGlow)"/>
</g>
<g transform="translate(10, 20)">
<circle cx="0" cy="0" r="2" fill="url(#starGlow)"/>
</g>
</g>
<!-- Optional: Some sparkles around the galaxy -->
<g id="sparkles">
<path d="M240,80 l5,0 l-2.5,5 z" fill="white" opacity="0.8"/>
<path d="M260,60 l4,0 l-2,4 z" fill="white" opacity="0.8"/>
<path d="M230,100 l6,0 l-3,6 z" fill="white" opacity="0.8"/>
<path d="M280,90 l3,0 l-1.5,3 z" fill="white" opacity="0.8"/>
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300">
<defs>
<linearGradient id="hatGrad" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#000"/>
<stop offset="100%" stop-color="#444"/>
</linearGradient>
<radialGradient id="galaxyGrad" cx="50%" cy="50%" r="50%">
<stop offset="0%" stop-color="#ff00ff"/>
<stop offset="100%" stop-color="#00ff99"/>
</radialGradient>
<pattern id="starPattern" patternUnits="userSpaceOnUse" width="10" height="10">
<circle cx="5" cy="5" r="2" fill="white" opacity="0.5"/>
</pattern>
</defs>
<rect x="120" y="100" width="60" height="100" rx="20" fill="url(#hatGrad)" />
<path d="M120 100 Q130 80 150 100 T180 100" fill="url(#hatGrad)" />
<g transform="translate(150, 100)">
<circle cx="0" cy="0" r="50" fill="url(#galaxyGrad)" />
<circle cx="0" cy="0" r="45" fill="url(#starPattern)" />
<circle cx="0" cy="0" r="40" fill="url(#galaxyGrad)" />
<circle cx="0" cy="0" r="35" fill="url(#starPattern)" />
<circle cx="0" cy="0" r="30" fill="url(#galaxyGrad)" />
<circle cx="0" cy="0" r="25" fill="url(#starPattern)" />
<circle cx="0" cy="0" r="20" fill="url(#galaxyGrad)" />
</g>
</svg>
Judge's Analysis
Player 1's submission effectively captures the concept of a galaxy spilling out of a top hat, with a dynamic use of glowing purple hues and scattered stars that evoke a celestial theme.
The technical execution is strong, with a clear sense of depth and movement.
In contrast, Player 2's image, while visually appealing, lacks the direct representation of a galaxy and does not adhere as closely to the prompt.
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
"Octopus wearing a detective hat, holding a magnifying glass under the sea"
"Floating city above candy clouds"
"Rainbow octopus playing cello on a cloud"
"Spider sipping a cappuccino on a relaxed rainy day"
"Floating cityscape on the back of a giant turtle, cubist style"
"A surreal tree growing gears instead of leaves"