SVG icon set
git clone https://git.lucas.co/cce-icons.git
svg/cpu.svg (1.7K)
1 <svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg">
2 <!-- Processor, wireframe: the die as an outline with three pins a side.
3 Stroke 4 for the die, the outline weight of mail.svg's envelope;
4 the pins are 3, so the 6.5 between their centers stays an open gap
5 at bar size rather than closing into a comb. Die corners are
6 squircle (continuous-curvature) cubics, r=3 — the curve spans 1.5r
7 from each corner with control points at 0.5r, as in folder.svg,
8 at a tighter radius than the panels because a chip is not a card.
9 The die is drawn LARGER than the solid glyph's 10..30 square and
10 the pins shorter: outlined, a small die and long pins read as a
11 hash mark at bar size — the die has to carry the glyph, so it
12 keeps the silhouette and the pins are stubs on it. The pins' inner
13 ends stop on the die's centerline, inside its wall, where the two
14 strokes merge. -->
15 <g fill="none" stroke="#ffffff" stroke-linecap="round" stroke-linejoin="round">
16 <path stroke-width="4"
17 d="M15.25 10 L24.75 10 C28.25 10, 30 11.75, 30 15.25 L30 24.75 C30 28.25, 28.25 30, 24.75 30 L15.25 30 C11.75 30, 10 28.25, 10 24.75 L10 15.25 C10 11.75, 11.75 10, 15.25 10 Z" />
18 <g stroke-width="3">
19 <!-- top / bottom pins -->
20 <path d="M14 10 L14 6" />
21 <path d="M20 10 L20 6" />
22 <path d="M26 10 L26 6" />
23 <path d="M14 30 L14 34" />
24 <path d="M20 30 L20 34" />
25 <path d="M26 30 L26 34" />
26 <!-- left / right pins -->
27 <path d="M10 14 L6 14" />
28 <path d="M10 20 L6 20" />
29 <path d="M10 26 L6 26" />
30 <path d="M30 14 L34 14" />
31 <path d="M30 20 L34 20" />
32 <path d="M30 26 L34 26" />
33 </g>
34 </g>
35 </svg>