o3-2025-04-16· OpenAI
LMArena Human Preference 140K
Please create a bathroom scale in SVG.
- User
Please create a bathroom scale in SVG.
- Assistant
Below is a self-contained SVG illustration of an old-school bathroom scale (analog dial + pointer).
You can drop it straight into an.svgfile—or into an<svg>element inside HTML—and it will render without any external dependencies.<?xml version="1.0" encoding="UTF-8"?> <!-- Bathroom Scale – SVG --> <svg xmlns="http://www.w3.org/2000/svg" width="320" height="320" viewBox="0 0 320 320" style="font-family: 'Segoe UI', Arial, sans-serif;"> <!-- ========== STYLES ========== --> <defs> <!-- Soft gray-blue body --> <linearGradient id="bodyGrad" x1="0%" x2="100%" y1="0%" y2="100%"> <stop offset="0%" stop-color="#dfe6ee" /> <stop offset="100%" stop-color="#b9c4d0" /> </linearGradient> <!-- Shiny glass over the dial --> <radialGradient id="glass" cx="50%" cy="50%" r="50%"> <stop offset="0%" stop-color="rgba(255,255,255,0.55)"/> <stop offset="80%" stop-color="rgba(255,255,255,0.05)"/> <stop offset="100%" stop-color="rgba(255,255,255,0)" /> </radialGradient> </defs> <!-- ========== SCALE BODY ========== --> <rect x="10" y="10" width="300" height="300" rx="35" fill="url(#bodyGrad)" stroke="#6c7884" stroke-width="3"/> <!-- ========== FOOT PAD AREA (light emboss) ========== --> <path d=" M 45 260 Q 45 210 70 210 L 250 210 Q 275 210 275 260 Z" fill="#cbd5e0" opacity="0.55"/> <!-- ========== DIAL WINDOW ========== --> <!-- White dial background --> <path d="M 60 175 A 100 100 0 0 1 260 175 L 260 205 A 100 100 0 0 0 60 205 Z" fill="#ffffff" stroke="#6c7884" stroke-width="2"/> <!-- Glass shine --> <path d="M 60 175 A 100 100 0 0 1 260 175 L 260 205 A 100 100 0 0 0 60 205 Z" fill="url(#glass)" /> <!-- ========== TICKS & LABELS ========== --> <g id="ticks" transform="translate(160,175)"> <!-- generate 13 ticks from -60° to 60° manually --> <!-- longer major ticks every 20° --> <!-- minor tick --> <line x1="0" y1="-60" x2="0" y2="-68" stroke="#333" stroke-width="2" transform="rotate(-60)"/> <line x1="0" y1="-60" x2="0" y2="-68" stroke="#333" stroke-width="3" transform="rotate(-50)"/> <line x1="0" y1="-60" x2="0" y2="-68" stroke="#333" stroke-width="2" transform="rotate(-40)"/> <line x1="0" y1="-60" x2="0" y2="-68" stroke="#333" stroke-width="3" transform="rotate(-30)"/> <line x1="0" y1="-60" x2="0" y2="-68" stroke="#333" stroke-width="2" transform="rotate(-20)"/> <line x1="0" y1="-60" x2="0" y2="-68" stroke="#333" stroke-width="3" transform="rotate(-10)"/> <line x1="0" y1="-60" x2="0" y2="-72" stroke="#c62828" stroke-width="4" transform="rotate(0)"/> <line x1="0" y1="-60" x2="0" y2="-68" stroke="#333" stroke-width="3" transform="rotate(10)"/> <line x1="0" y1="-60" x2="0" y2="-68" stroke="#333" stroke-width="2" transform="rotate(20)"/> <line x1="0" y1="-60" x2="0" y2="-68" stroke="#333" stroke-width="3" transform="rotate(30)"/> <line x1="0" y1="-60" x2="0" y2="-68" stroke="#333" stroke-width="2" transform="rotate(40)"/> <line x1="0" y1="-60" x2="0" y2="-68" stroke="#333" stroke-width="3" transform="rotate(50)"/> <line x1="0" y1="-60" x2="0" y2="-68" stroke="#333" stroke-width="2" transform="rotate(60)"/> <!-- labels: 0, 50, 100, 150, 200, 250, 300 --> <g font-size="12" fill="#222" font-weight="600"> <text x="0" y="-83" text-anchor="middle">0</text> <text x="-63" y="-65" text-anchor="middle" transform="rotate(-30)">50</text> <text x="-88" y="-15" text-anchor="middle" transform="rotate(-60)">100</text> <text x="-88" y="20" text-anchor="middle" transform="rotate(-90)">150</text> <!-- hidden behind bezel --> <text x="88" y="-15" text-anchor="middle" transform="rotate(60)">200</text> <text x="63" y="-65" text-anchor="middle" transform="rotate(30)">250</text> <text x="0" y="-83" text-anchor="middle" transform="rotate(180)">300</text> </g> </g> <!-- ========== POINTER ========== --> <g transform="translate(160,175)"> <!-- rotate the pointer to desired weight --> <g transform="rotate(-23)"> <!-- adjust angle here --> <!-- pointer --> <polygon points="0,-54 -6,8 6,8" fill="#c62828"/> <!-- small hub --> <circle cx="0" cy="0" r="6" fill="#222"/> </g> </g> <!-- ========== BRAND / TITLE ========== --> <text x="160" y="245" font-size="16" text-anchor="middle" fill="#324358" font-weight="600"> BATH-O-MATIC </text> </svg>How to tweak: • Change the pointer angle (rotate(-23) above) to illustrate different weights.
• Edit colors, gradients, or sizes to fit your UI style.
• Remove the foot-pad path if you prefer a simpler rectangle body.Have fun using or extending this SVG!
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.