o1-preview-2024-09-12· OpenAI
WildChat-4.8M (AI2)
用html+svg画一个独角兽
- User
用html+svg画一个独角兽
- Assistant
下面是使用 HTML 和 SVG 绘制的一个简单的独角兽示例:
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>独角兽 SVG</title> </head> <body> <svg width="500" height="500"> <!-- 身体 --> <ellipse cx="250" cy="300" rx="100" ry="50" fill="white" stroke="black" /> <!-- 腿 --> <line x1="180" y1="350" x2="180" y2="400" stroke="black" stroke-width="5" /> <line x1="220" y1="350" x2="220" y2="400" stroke="black" stroke-width="5" /> <line x1="280" y1="350" x2="280" y2="400" stroke="black" stroke-width="5" /> <line x1="320" y1="350" x2="320" y2="400" stroke="black" stroke-width="5" /> <!-- 颈部和头部 --> <polygon points="250,250 230,200 260,150 280,200" fill="white" stroke="black" /> <!-- 耳朵 --> <polygon points="260,150 255,140 265,140" fill="white" stroke="black" /> <!-- 角 --> <polygon points="260,150 258,130 262,130" fill="yellow" stroke="black" /> <!-- 眼睛 --> <circle cx="260" cy="170" r="5" fill="black" /> <!-- 尾巴 --> <path d="M350,300 C400,280 400,350 350,350" fill="none" stroke="black" stroke-width="5" /> <!-- 鬃毛 --> <path d="M240,200 C220,180 240,160 260,150" fill="pink" stroke="pink" stroke-width="5" /> </svg> </body> </html>
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.