o1-preview-2024-09-12· OpenAI
WildChat-4.8M (AI2)
Draw a cute cat head in SVG
- User
Draw a cute cat head in SVG
- Assistant
Here's an SVG code that draws a cute cat head:
<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"> <!-- Cat Head --> <circle cx="100" cy="100" r="80" stroke="black" stroke-width="2" fill="#FFDAB9" /> <!-- Left Ear --> <polygon points="50,50 80,10 80,60" stroke="black" stroke-width="2" fill="#FFDAB9" /> <!-- Right Ear --> <polygon points="150,50 120,10 120,60" stroke="black" stroke-width="2" fill="#FFDAB9" /> <!-- Left Eye --> <circle cx="70" cy="90" r="10" fill="white" stroke="black" stroke-width="2" /> <circle cx="70" cy="90" r="5" fill="black" /> <!-- Right Eye --> <circle cx="130" cy="90" r="10" fill="white" stroke="black" stroke-width="2" /> <circle cx="130" cy="90" r="5" fill="black" /> <!-- Nose --> <polygon points="100,110 90,130 110,130" fill="pink" stroke="black" stroke-width="2" /> <!-- Mouth --> <path d="M90 135 Q100 145 110 135" stroke="black" stroke-width="2" fill="none" /> <!-- Whiskers Left --> <line x1="70" y1="120" x2="30" y2="115" stroke="black" stroke-width="2" /> <line x1="70" y1="125" x2="30" y2="125" stroke="black" stroke-width="2" /> <line x1="70" y1="130" x2="30" y2="135" stroke="black" stroke-width="2" /> <!-- Whiskers Right --> <line x1="130" y1="120" x2="170" y2="115" stroke="black" stroke-width="2" /> <line x1="130" y1="125" x2="170" y2="125" stroke="black" stroke-width="2" /> <line x1="130" y1="130" x2="170" y2="135" stroke="black" stroke-width="2" /> </svg>You can copy this code into an SVG file or an online SVG editor to see the cute cat head. Here's what each part of the code does:
- Cat Head: Draws the main circular shape of the head.
- Ears: Two polygons positioned at the top to represent ears.
- Eyes: Two circles with smaller circles inside to represent eyes and pupils.
- Nose: An upside-down triangle for the nose.
- Mouth: A curved path to represent the mouth.
- Whiskers: Lines extending from the sides of the face.
Feel free to customize the colors and positions to make the cat even cuter!