Creative Challenge
"A dragon tangled in a huge ball of yarn, with only its head sticking out."
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300">
<!-- Background -->
<rect x="0" y="0" width="300" height="300" fill="#f5e881" />
<!-- Yarn ball -->
<circle cx="150" cy="150" r="100" fill="url(#yarn-gradient)" />
<!-- Dragon head -->
<clipPath id="clip-path">
<circle cx="150" cy="100" r="50" />
</clipPath>
<image href="https://assets.codepen.io/761857/dragon.svg" x="100" y="50" width="100" height="100" clip-path="url(#clip-path)" />
<!-- Yarn Gradient -->
<defs>
<linearGradient id="yarn-gradient" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stop-color="#ff8360" />
<stop offset="50%" stop-color="#ffa38b" />
<stop offset="100%" stop-color="#ffb8a6" />
</linearGradient>
</defs>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 300 300">
<defs>
<radialGradient id="yarnGrad" cx="50%" cy="50%" r="50%">
<stop offset="0%" stop-color="#FFCCCC"/>
<stop offset="100%" stop-color="#FF6666"/>
</radialGradient>
<pattern id="yarnLines" patternUnits="userSpaceOnUse" width="10" height="10" patternTransform="rotate(45)">
<path d="M0,0 L0,10" stroke="#FFF" stroke-width="1"/>
</pattern>
<radialGradient id="dragonSkin" cx="50%" cy="30%" r="60%">
<stop offset="0%" stop-color="#8FD400"/>
<stop offset="100%" stop-color="#3A6B00"/>
</radialGradient>
<linearGradient id="hornGrad" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stop-color="#FFE680"/>
<stop offset="100%" stop-color="#BF9000"/>
</linearGradient>
<filter id="shadow" x="-20%" y="-20%" width="140%" height="140%">
<feDropShadow dx="0" dy="4" stdDeviation="4" flood-color="#000" flood-opacity="0.4"/>
</filter>
</defs>
<!-- Ball of Yarn -->
<g filter="url(#shadow)">
<circle cx="150" cy="180" r="100" fill="url(#yarnGrad)"/>
<circle cx="150" cy="180" r="100" fill="url(#yarnLines)" opacity="0.6"/>
<!-- Curved yarn threads -->
<path d="M60,180 q90,-60 180,0" stroke="#FF9999" stroke-width="5" fill="none"/>
<path d="M80,100 q80,80 140,-20" stroke="#FFAAAA" stroke-width="4" fill="none"/>
<path d="M40,200 q120,20 200,-80" stroke="#FFBBBB" stroke-width="3" fill="none"/>
<path d="M100,260 q60,-150 120,-60" stroke="#FFC0C0" stroke-width="4" fill="none"/>
</g>
<!-- Dragon Head -->
<g transform="translate(140,60) scale(0.8)">
<!-- Neck connection tangled -->
<path d="M20,120 q-30,10 -40,40" stroke="#8FD400" stroke-width="8" fill="none"/>
<!-- Head shape -->
<path d="M20,120 c-20,-50 60,-80 90,-40 c10,15 -5,30 -20,35 c-20,10 -50,5 -70,5"
fill="url(#dragonSkin)" stroke="#4A5000" stroke-width="3"/>
<!-- Eye -->
<ellipse cx="85" cy="90" rx="8" ry="12" fill="#FFF"/>
<circle cx="88" cy="95" r="5" fill="#333"/>
<!-- Horns -->
<path d="M35,80 c-10,-20 -5,-40 10,-50 c15,10 20,30 15,50" fill="none" stroke="url(#hornGrad)" stroke-width="8" stroke-linecap="round"/>
<path d="M50,75 c-8,-18 -3,-35 8,-45" fill="none" stroke="url(#hornGrad)" stroke-width="6" stroke-linecap="round"/>
<!-- Mouth detail -->
<path d="M80,110 q10,5 15,-5" stroke="#4A5000" stroke-width="2" fill="none"/>
<!-- Yarn threads over head -->
<path d="M40,110 q30,-20 60,0" stroke="#FF6666" stroke-width="4" fill="none"/>
<path d="M30,130 q50,-40 80,-10" stroke="#FF4444" stroke-width="3" fill="none"/>
</g>
<!-- Scattered loose yarn ends -->
<path d="M260,240 c-20,10 -30,-20 -10,-30" stroke="#FF8888" stroke-width="3" fill="none"/>
<path d="M50,260 c10,-20 -20,-30 -30,-10" stroke="#FFAAAA" stroke-width="2" fill="none"/>
</svg>
Judge's Analysis
Player 2's submission clearly depicts a dragon's head sticking out of a ball of yarn, fulfilling the prompt with creativity and humor.
The composition includes detailed elements such as the dragon's expression and the tangled yarn, enhancing the visual appeal and technical quality.
Player 1's submission, while clean, does not incorporate the dragon or yarn and fails to adhere to the prompt effectively.
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 wearing a top hat and monocle dancing on a slice of lemon."
"An octopus juggling flaming torches underwater."
"Penguin juggling glowing ice cubes under the northern lights."
"A snail racing a cheetah on a rollercoaster track."