draw a cyberpunk SVG robot
- User
draw a cyberpunk SVG robot
Assistant
Certainly! Below is an SVG code for a cyberpunk-themed robot. You can copy this code into an HTML file or an SVG editor to view the robot.
<svg width="400" height="600" xmlns="http://www.w3.org/2000/svg"> <!-- Background --> <rect width="100%" height="100%" fill="#1c1c2b"/> <!-- Robot Body --> <rect x="150" y="200" width="100" height="200" rx="10" fill="#2c3e50" stroke="#3498db" stroke-width="3"/> <!-- Chest Detail --> <rect x="170" y="280" width="60" height="40" rx="5" fill="#34495e" stroke="#3498db" stroke-width="2"/> <line x1="200" y1="280" x2="200" y2="320" stroke="#3498db" stroke-width="2" stroke-dasharray="5,5"/> <!-- Shoulders --> <rect x="130" y="180" width="20" height="40" rx="5" fill="#2c3e50" stroke="#3498db" stroke-width="3"/> <rect x="250" y="180" width="20" height="40" rx="5" fill="#2c3e50" stroke="#3498db" stroke-width="3"/> <!-- Arms --> <rect x="80" y="220" width="40" height="100" rx="5" fill="#2c3e50" stroke="#3498db" stroke-width="3" transform="rotate(-20 100 270)"/> <rect x="300" y="220" width="40" height="100" rx="5" fill="#2c3e50" stroke="#3498db" stroke-width="3" transform="rotate(20 320 270)"/> <!-- Hand Details --> <circle cx="100" cy="320" r="10" fill="#ecf0f1"/> <circle cx="320" cy="320" r="10" fill="#ecf0f1"/> <rect x="85" y="310" width="30" height="10" fill="#ecf0f1"/> <rect x="295" y="310" width="30" height="10" fill="#ecf0f1"/> <!-- Neck --> <rect x="190" y="160" width="20" height="20" rx="5" fill="#2c3e50" stroke="#3498db" stroke-width="3"/> <!-- Head --> <rect x="160" y="80" width="80" height="80" rx="10" fill="#2c3e50" stroke="#3498db" stroke-width="3"/> <!-- Face Details --> <circle cx="200" cy="120" r="15" fill="#3498db"/> <circle cx="240" cy="120" r="15" fill="#3498db"/> <rect x="185" y="140" width="30" height="10" rx="5" fill="#ecf0f1"/> <!-- Antenna --> <line x1="200" y1="80" x2="200" y2="40" stroke="#3498db" stroke-width="3"/> <circle cx="200" cy="40" r="10" fill="#3498db"/> <circle cx="200" cy="30" r="5" fill="#ecf0f1"/> <!-- Leg --> <rect x="170" y="400" width="60" height="100" rx="10" fill="#2c3e50" stroke="#3498db" stroke-width="3"/> <!-- Feet Details--> <rect x="160" y="500" width="20" height="20" rx="5" fill="#ecf0f1"/> <rect x="220" y="500" width="20" height="20" rx="5" fill="#ecf0f1"/> <rect x="170" y="490" width="60" height="10" fill="#ecf0f1"/> <!-- Neon Lights --> <rect x="155" y="195" width="90" height="5" fill="#3498db" opacity="0.7"/> <rect x="155" y="395" width="90" height="5" fill="#3498db" opacity="0.7"/> <rect x="145" y="215" width="5" height="180" fill="#3498db" opacity="0.7"/> <rect x="250" y="215" width="5" height="180" fill="#3498db" opacity="0.7"/> <circle cx="200" cy="470" r="10" fill="url(#neonGlow)" /> <!-- Neon Glow Filter --> <defs> <filter id="neonGlow"> <feGaussianBlur in="SourceGraphic" stdDeviation="3" result="blurred"/> <feMerge> <feMergeNode in="blurred"/> <feMergeNode in="SourceGraphic"/> </feMerge> </filter> <radialGradient id="neonGradient" cx="50%" cy="50%" r="50%" fx="50%" fy="50%"> <stop offset="0%" style="stop-color:#3498db;stop-opacity:1" /> <stop offset="90%" style="stop-color:#3498db;stop-opacity:0" /> </radialGradient> </defs> </svg>Explanation:
-
Background:
- A dark rectangle to serve as the background, giving it a cyberpunk vibe with the colour
#1c1c2b.
- A dark rectangle to serve as the background, giving it a cyberpunk vibe with the colour
-
Robot Body:
- The main body of the robot is a rounded rectangle centred at (200,300) with dimensions 100x200, filled with
#2c3e50and outlined in#3498db.
- The main body of the robot is a rounded rectangle centred at (200,300) with dimensions 100x200, filled with
-
Chest Detail:
- A smaller rectangle on the chest with a vertical dashed line to add detail.
-
Shoulders:
- Two rectangles on top of the body to represent the shoulders.
-
Arms:
- Two rotated rectangles to represent the arms. The
transformattribute is used to rotate them.
- Two rotated rectangles to represent the arms. The
-
Hand Details:
- Circles and rectangles to represent the hands at the end of the arms.
-
Neck:
- A small rectangle connecting the body to the head.
-
Head:
- A rounded rectangle for the head, with two circular eyes and a mouth.
- An antenna on top of the head with a small circle at the end to resemble a signal receiver.
-
Legs:
- A single rectangle to represent both legs together.
- Feet details with small rectangles.
-
Neon Lights:
- Thin rectangles around the robot to simulate neon lights, with a glow effect using an SVG filter.
- A radial gradient is used to create a glowing effect on the robot's feet.
Copy this code into an
.svgfile or an HTML file within<svg>tags to view the cyberpunk robot.-
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.