o1-mini-2024-09-12· OpenAI
WildChat-4.8M (AI2)
Draw an SVG of a present with black outlines
- User
Draw an SVG of a present with black outlines
- Assistant
Draw an SVG of a present with black outlines
Sure! Here's an SVG image of a present with black outlines. You can copy and paste this code into an .svg file or an HTML document to view the image.
<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg">
<!-- Box of the present -->
<rect x="50" y="80" width="100" height="80" fill="none" stroke="black" stroke-width="4"/>
<!-- Horizontal ribbon -->
<line x1="50" y1="120" x2="150" y2="120" stroke="black" stroke-width="4"/>
<!-- Vertical ribbon -->
<line x1="100" y1="80" x2="100" y2="160" stroke="black" stroke-width="4"/>
<!-- Bow -->
<circle cx="100" cy="70" r="10" fill="none" stroke="black" stroke-width="4"/>
<circle cx="90" cy="60" r="10" fill="none" stroke="black" stroke-width="4"/>
<circle cx="110" cy="60" r="10" fill="none" stroke="black" stroke-width="4"/>
<!-- Ribbon ends -->
<path d="M50,120 L100,160 L150,120" fill="none" stroke="black" stroke-width="4"/>
</svg>
Box of the Present (<rect>):
fill="none"), black stroke with a width of 4.Horizontal Ribbon (<line>):
Vertical Ribbon (<line>):
Bow (<circle> and <path>):
.svg extension (e.g., present.svg) and open it with a web browser or an SVG-compatible application.<body> tag.Here's a simple preview of what the SVG will look like:
[image: Present SVG]
Note: The preview image is encoded in Base64 for demonstration purposes.
Not yet included in a published release.