mirror of
https://github.com/db9979/wibosim.git
synced 2026-12-06 13:34:09 +01:00
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018i4GUhQVoPUusUzxgxLWkK
1260 lines
136 KiB
JavaScript
1260 lines
136 KiB
JavaScript
// Logo-Pool für Börsenneulinge: je Branche ein Satz eigener Bildmarken im Stil der festen Marken (logos.js) –
|
||
// helle Bildmarke auf farbiger Platte, 40er-Raster, klare Formen, bei 18–24 px gut lesbar. Die Farben einer Branche
|
||
// sind Töne einer Familie. Der Server (markpool.js) vergibt die Schlüssel, der Client zeichnet sie.
|
||
// Alle Marken sind für WiBoSim erfunden.
|
||
//
|
||
// Schlüssel sind dauerhaft (gespeicherte Zuordnungen verweisen darauf): neue Marken nur hinten anhängen,
|
||
// vorhandene nie umsortieren oder löschen.
|
||
|
||
const W = '#fff';
|
||
const st = (w, c = W, o = 1) => `fill="none" stroke="${c}" stroke-width="${w}" stroke-linecap="round" stroke-linejoin="round"${o < 1 ? ` stroke-opacity="${o}"` : ''}`;
|
||
const fo = (c = W, o = 1) => `fill="${c}"${o < 1 ? ` fill-opacity="${o}"` : ''}`;
|
||
const f2 = (x) => Number(x.toFixed(2));
|
||
/** Punkt auf dem Kreis (Grad, 0 = oben, im Uhrzeigersinn) */
|
||
const pt = (cx, cy, r, deg) => { const a = (deg - 90) * Math.PI / 180; return [f2(cx + r * Math.cos(a)), f2(cy + r * Math.sin(a))]; };
|
||
/** Regelmäßiges Vieleck (Spitze oben bei rot = 0) */
|
||
const poly = (cx, cy, r, n, rot = 0) => `M${Array.from({ length: n }, (_, i) => pt(cx, cy, r, rot + i * 360 / n).join(' ')).join('L')}z`;
|
||
/** Stern mit n Zacken */
|
||
const star = (cx, cy, r, n = 5, inner = 0.45) => `M${Array.from({ length: n * 2 }, (_, i) => pt(cx, cy, i % 2 ? r * inner : r, i * 180 / n).join(' ')).join('L')}z`;
|
||
/** Zahnrad als ein Pfad (mit Loch, evenodd) */
|
||
function gear(cx, cy, ro, ri, n, hole, rot = 0) {
|
||
const p = [];
|
||
const step = 360 / n;
|
||
for (let i = 0; i < n; i++) {
|
||
const a = rot + i * step;
|
||
p.push(pt(cx, cy, ri, a - step * 0.5), pt(cx, cy, ri, a - step * 0.22), pt(cx, cy, ro, a - step * 0.14), pt(cx, cy, ro, a + step * 0.14), pt(cx, cy, ri, a + step * 0.22));
|
||
}
|
||
return `M${p.map((x) => x.join(' ')).join('L')}zM${cx - hole} ${cy}a${hole} ${hole} 0 1 0 ${hole * 2} 0a${hole} ${hole} 0 1 0-${hole * 2} 0z`;
|
||
}
|
||
/** Tropfen (Spitze oben bei y, Breite r) */
|
||
const drop = (x, y, r) => `M${x} ${y}c${f2(r * 0.65)} ${f2(r * 0.85)} ${r} ${f2(r * 1.35)} ${r} ${f2(r * 1.8)}a${r} ${r} 0 0 1-${2 * r} 0c0-${f2(r * 0.45)} ${f2(r * 0.35)}-${f2(r * 0.95)} ${r}-${f2(r * 1.8)}z`;
|
||
|
||
// Die Bildmarken je Branche: [Schlüssel, Plattenfarbe, Bildmarke, helle Platte?]
|
||
// Die Bildmarke darf die Plattenfarbe für Aussparungen verwenden (Parameter c).
|
||
const DEF = {
|
||
// ---------------------------------------------------------------- Technologie: Indigo
|
||
tech: [
|
||
// Wolke mit Upload-Pfeil
|
||
['#4F46E5', (c) => `<path ${fo()} d="M12 29a6.2 6.2 0 0 1-.9-12.3 9 9 0 0 1 17.2-2A7.2 7.2 0 0 1 28 29z"/><path ${st(2.8, c)} d="M20 26v-8.5M16.3 21 20 17.3l3.7 3.7"/>`],
|
||
// Code-Klammern
|
||
['#4338CA', () => `<path ${st(3.4)} d="M13.5 12.5 6.5 20l7 7.5M26.5 12.5l7 7.5-7 7.5"/><path ${st(3.4, W, 0.62)} d="M22.6 10.5l-5.2 19"/>`],
|
||
// Netzknoten
|
||
['#3730A3', () => `<path ${st(2, W, 0.5)} d="M20 8.5 9.5 28.5h21z"/><path ${st(2.6)} d="M20 21V8.5M20 21 9.5 28.5M20 21l10.5 7.5"/><g ${fo()}><circle cx="20" cy="8.5" r="4"/><circle cx="9.5" cy="28.5" r="4"/><circle cx="30.5" cy="28.5" r="4"/></g><circle cx="20" cy="21" r="3" ${fo(W, 0.8)}/>`],
|
||
// Datenbank-Zylinder
|
||
['#5145CD', () => {
|
||
const seg = (y, o) => `<path ${fo(W, o)} d="M10 ${y}c0 2 4.5 3.6 10 3.6s10-1.6 10-3.6v5.4c0 2-4.5 3.6-10 3.6s-10-1.6-10-3.6z"/>`;
|
||
return `<ellipse cx="20" cy="10.5" rx="10" ry="3.6" ${fo()}/>${seg(12.7, 0.85)}${seg(20.3, 0.62)}`;
|
||
}],
|
||
// Mauszeiger mit Klick
|
||
['#312E81', () => `<path ${fo()} d="M14 10l14.5 13.2-6.6.6 3.9 8.1-3.3 1.6-3.9-8.2-4.6 4.4z"/><path ${st(2.2, W, 0.6)} d="M10.2 12.8 7.5 11.6M11.6 8.6 10.2 6M15.6 7.5l.8-2.8"/>`],
|
||
// Endlosschleife
|
||
['#4F46E5', () => `<path ${st(3.6)} d="M20 20c-3-3.8-5.2-5.6-7.8-5.6a5.6 5.6 0 0 0 0 11.2c2.6 0 4.8-1.8 7.8-5.6"/><path ${st(3.6, W, 0.62)} d="M20 20c3-3.8 5.2-5.6 7.8-5.6a5.6 5.6 0 0 1 0 11.2c-2.6 0-4.8-1.8-7.8-5.6"/>`],
|
||
// Terminal mit Eingabezeile
|
||
['#3B3FB8', (c) => `<rect x="6.5" y="9" width="27" height="22" rx="3.6" ${fo()}/><path ${st(3, c)} d="M12.5 16l4.5 4-4.5 4"/><path ${st(3, c)} d="M20 25h7.5"/>`],
|
||
// Mikrochip mit Anschlüssen
|
||
['#4A42D8', (c) => `<rect x="12" y="12" width="16" height="16" rx="2.6" ${fo()}/><rect x="16.4" y="16.4" width="7.2" height="7.2" rx="1.2" fill="${c}"/><path ${st(2.6)} d="M15 6.8v3.4M20 6.8v3.4M25 6.8v3.4M15 29.8v3.4M20 29.8v3.4M25 29.8v3.4M6.8 15h3.4M6.8 20h3.4M6.8 25h3.4M29.8 15h3.4M29.8 20h3.4M29.8 25h3.4"/>`],
|
||
// Bildschirm mit Kurve
|
||
['#3F3ABF', (c) => `<rect x="5.5" y="7.5" width="29" height="19.5" rx="3" ${fo()}/><rect x="8.6" y="10.6" width="22.8" height="13.3" rx="1.4" fill="${c}"/><path ${st(2.6)} d="M12 20.6l4.6-4.2 4 3 6.4-5.6"/><path ${fo()} d="M17 27h6l1.2 4h-8.4z"/><rect x="12.5" y="30.6" width="15" height="3" rx="1.5" ${fo()}/>`],
|
||
// Smartphone
|
||
['#5348E0', (c) => `<rect x="11.5" y="5" width="17" height="30" rx="3.8" ${fo()}/><rect x="14.2" y="9" width="11.6" height="19" rx="1.2" fill="${c}"/><rect x="16.4" y="12" width="7.2" height="2.6" rx="1.3" ${fo(W, 0.9)}/><rect x="16.4" y="17" width="4.6" height="2.6" rx="1.3" ${fo(W, 0.6)}/><circle cx="20" cy="31.4" r="1.6" fill="${c}"/>`],
|
||
// Leiterbahnen
|
||
['#332D96', () => `<path ${st(2.6)} d="M9 10.5h6l6 6V30M9 19.5h2.5l2.5 2.5V30M31 9v7.5l-3 3V30"/><g ${fo()}><circle cx="8.5" cy="10.5" r="3"/><circle cx="8.5" cy="19.5" r="3"/><circle cx="31" cy="8.5" r="3"/><circle cx="14" cy="31" r="3"/><circle cx="21" cy="31" r="3"/><circle cx="28" cy="31" r="3"/></g>`],
|
||
// Zahnrad
|
||
['#4B44D1', () => `<path ${fo()} fill-rule="evenodd" d="${gear(20, 20, 14, 10.4, 8, 4.6)}"/>`],
|
||
// Waben-Cluster
|
||
['#3A34B0', () => `<path ${fo()} d="${poly(14.4, 14.6, 6, 6)}"/><path ${fo()} d="${poly(25.6, 14.6, 6, 6)}"/><path ${fo(W, 0.62)} d="${poly(20, 24.6, 6, 6)}"/>`],
|
||
// Rakete
|
||
['#5046E4', (c) => `<g transform="rotate(40 20 20)"><path ${fo()} d="M20 4.5c4.3 3.5 5.8 8.5 5.8 14v7.5H14.2v-7.5c0-5.5 1.5-10.5 5.8-14z"/><circle cx="20" cy="15" r="2.6" fill="${c}"/><path ${fo()} d="M14.2 19.5 9.5 25v5l4.7-2.6zM25.8 19.5l4.7 5.5v5l-4.7-2.6z"/><path ${fo(W, 0.65)} d="M16.6 28h6.8L20 35z"/></g>`],
|
||
// Glühbirne
|
||
['#36309E', (c) => `<path ${fo()} d="M20 5.5a9.6 9.6 0 0 0-5.7 17.3c1 .8 1.7 2 1.7 3.3v.9h8v-.9c0-1.3.7-2.5 1.7-3.3A9.6 9.6 0 0 0 20 5.5z"/><path ${st(2.4, c)} d="M16.8 16l3.2 3.2 3.2-3.2M20 19.2V27"/><rect x="15.8" y="28.6" width="8.4" height="2.6" rx="1.3" ${fo()}/><rect x="17" y="32.2" width="6" height="2.6" rx="1.3" ${fo()}/>`],
|
||
// Vorhängeschloss
|
||
['#2F2A85', (c) => `<path ${st(3.4)} d="M13.5 18v-4a6.5 6.5 0 0 1 13 0v4"/><rect x="9" y="17.5" width="22" height="16" rx="3.2" ${fo()}/><circle cx="20" cy="23.6" r="2.6" fill="${c}"/><path fill="${c}" d="M18.7 24.6h2.6l.7 4.6h-4z"/>`],
|
||
// isometrischer Würfel
|
||
['#4840D6', () => `<path ${fo()} d="M20 5.5 32.5 12.5 20 19.5 7.5 12.5z"/><path ${fo(W, 0.78)} d="M7 14.2l12 6.8v13.5L7 27.7z"/><path ${fo(W, 0.5)} d="M33 14.2 21 21v13.5l12-6.8z"/>`],
|
||
// Pixelraster
|
||
['#3D37B5', () => {
|
||
const o = [1, 0.42, 1, 0.42, 1, 1, 1, 1, 0.42];
|
||
return o.map((v, i) => `<rect x="${7.5 + (i % 3) * 9}" y="${7.5 + Math.floor(i / 3) * 9}" width="7" height="7" rx="1.6" ${fo(W, v)}/>`).join('');
|
||
}],
|
||
// Roboterkopf
|
||
['#5A4FE6', (c) => `<path ${st(2.4)} d="M20 10V7"/><circle cx="20" cy="5.6" r="2.4" ${fo()}/><rect x="8" y="10" width="24" height="19.5" rx="5" ${fo()}/><g fill="${c}"><circle cx="15" cy="18.5" r="2.8"/><circle cx="25" cy="18.5" r="2.8"/></g><path ${st(2.4, c)} d="M15.5 24.4h9"/><g ${fo()}><rect x="4.8" y="15.5" width="3" height="8" rx="1.3"/><rect x="32.2" y="15.5" width="3" height="8" rx="1.3"/></g><path ${st(2.6)} d="M15 33.5h10"/>`],
|
||
// Atom mit drei Bahnen
|
||
['#312C8A', () => `${[0, 60, 120].map((a) => `<ellipse cx="20" cy="20" rx="14" ry="5.2" transform="rotate(${a} 20 20)" ${st(2.4)}/>`).join('')}<circle cx="20" cy="20" r="3.4" ${fo()}/>`],
|
||
// Lupe
|
||
['#4E47DC', () => `<circle cx="17" cy="17" r="9" ${st(3.6)}/><path ${st(5)} d="M24 24l8.5 8.5"/><path ${st(2.4, W, 0.6)} d="M12.4 15.6a5 5 0 0 1 4-4"/>`],
|
||
// Sprechblase mit Punkten
|
||
['#3833A6', (c) => `<path ${fo()} d="M9 7.5h22a4 4 0 0 1 4 4V24a4 4 0 0 1-4 4H18.5L11 33.5V28H9a4 4 0 0 1-4-4V11.5a4 4 0 0 1 4-4z"/><g fill="${c}"><circle cx="13.5" cy="17.8" r="2.3"/><circle cx="20" cy="17.8" r="2.3"/><circle cx="26.5" cy="17.8" r="2.3"/></g>`],
|
||
// Server-Rack
|
||
['#2D2980', (c) => [7, 16.5, 26].map((y) => `<rect x="7.5" y="${y}" width="25" height="7.5" rx="2" ${fo()}/><circle cx="12.4" cy="${y + 3.75}" r="1.6" fill="${c}"/><path ${st(2, c)} d="M19 ${y + 3.75}h8.5"/>`).join('')],
|
||
// Ebenen-Stapel
|
||
['#4943CF', () => `<path ${fo()} d="M20 6.5 33 13 20 19.5 7 13z"/><path ${st(3)} d="M7 20l13 6.5L33 20"/><path ${st(3, W, 0.6)} d="M7 26.5 20 33l13-6.5"/>`],
|
||
// Ladering
|
||
['#3B36AE', () => `<path ${st(3.6, W, 0.35)} d="M8 20a12 12 0 0 1 12-12"/><path ${st(3.6)} d="M20 8a12 12 0 1 1-12 12"/><path ${fo()} d="M17 14.5v11l8.5-5.5z"/>`],
|
||
// Drohne
|
||
['#5249DB', () => `<path ${st(3)} d="M11 11l18 18M29 11 11 29"/><g ${st(2.6)}><circle cx="10.5" cy="10.5" r="5"/><circle cx="29.5" cy="10.5" r="5"/><circle cx="10.5" cy="29.5" r="5"/><circle cx="29.5" cy="29.5" r="5"/></g><rect x="15" y="15" width="10" height="10" rx="2.6" ${fo()}/>`],
|
||
// Ordner
|
||
['#3430A0', (c) => `<path ${fo()} d="M5.5 11a2.5 2.5 0 0 1 2.5-2.5h7.2l3 3.5H32a2.5 2.5 0 0 1 2.5 2.5V29a2.5 2.5 0 0 1-2.5 2.5H8A2.5 2.5 0 0 1 5.5 29z"/><path ${st(2.4, c)} d="M5.5 16.5h29"/>`],
|
||
// KI-Funken
|
||
['#5B52EA', () => `<path ${fo()} d="${star(16.5, 22, 12, 4, 0.3)}"/><path ${fo(W, 0.75)} d="${star(29.5, 10, 5.6, 4, 0.32)}"/>`],
|
||
// neuronales Netz
|
||
['#2B2775', () => {
|
||
const a = [[9, 12], [9, 28]], b = [[20, 8], [20, 20], [20, 32]], z = [31, 20];
|
||
const lines = a.flatMap(([x, y]) => b.map(([u, v]) => `M${x} ${y}L${u} ${v}`)).concat(b.map(([u, v]) => `M${u} ${v}L${z[0]} ${z[1]}`)).join('');
|
||
return `<path ${st(2.2, W, 0.55)} d="${lines}"/><g ${fo()}>${[...a, ...b, z].map(([x, y]) => `<circle cx="${x}" cy="${y}" r="3.2"/>`).join('')}</g>`;
|
||
}],
|
||
// Speicherkarte
|
||
['#4640C4', (c) => `<path ${fo()} d="M12 5.5h12.5l6 6V32a2.5 2.5 0 0 1-2.5 2.5H12A2.5 2.5 0 0 1 9.5 32V8A2.5 2.5 0 0 1 12 5.5z"/><path ${st(2.2, c)} d="M14.2 9.5v5M18 9.5v5M21.8 9.5v5M25.6 12v2.5"/><rect x="13.5" y="20" width="13" height="10" rx="1.6" fill="${c}"/>`],
|
||
// Scan-Rahmen
|
||
['#3E38B8', () => `<path ${st(3.4)} d="M7 14V9.5A2.5 2.5 0 0 1 9.5 7H14M26 7h4.5A2.5 2.5 0 0 1 33 9.5V14M33 26v4.5a2.5 2.5 0 0 1-2.5 2.5H26M14 33H9.5A2.5 2.5 0 0 1 7 30.5V26"/><rect x="14" y="14" width="12" height="12" rx="2.4" ${fo()}/>`],
|
||
// Globus mit Meridianen
|
||
['#4C45D4', () => `<circle cx="20" cy="20" r="13" ${st(2.8)}/><ellipse cx="20" cy="20" rx="5.8" ry="13" ${st(2.6)}/><path ${st(2.6)} d="M7 20h26"/><path ${st(2.2, W, 0.65)} d="M9 13.5h22M9 26.5h22"/>`],
|
||
],
|
||
|
||
// ---------------------------------------------------------------- Energie: Bernstein und Gold
|
||
energy: [
|
||
// Flamme mit Kern
|
||
['#D97706', (c) => `<path ${fo()} d="M20 5.5c1 5.5 9 9.2 9 17.5a9 9 0 0 1-18 0c0-4.5 2.5-7.5 5-9.5 0 3 1 5 3 6-.5-5 .5-9.5 1-14z"/><path fill="${c}" d="${drop(20, 21, 4)}"/>`],
|
||
// Bohrturm mit Tropfen
|
||
['#B45309', () => `<path ${st(2.6)} d="M12 33 18.6 7.5h2.8L28 33M10 33h20"/><path ${st(2.2, W, 0.75)} d="M15.6 22h8.8M17.1 15.5h5.8M14.2 28h11.6"/><path ${fo(W, 0.85)} d="${drop(31, 9, 3)}"/>`],
|
||
// Blitz im Kreis
|
||
['#CA8A04', (c) => `<circle cx="20" cy="20" r="13" ${fo()}/><path fill="${c}" d="M22.4 8.5 13.2 21.8h6.2l-2.2 9.7 9.6-13.6h-6.3z"/>`],
|
||
// zwei Windräder
|
||
['#92400E', () => {
|
||
const wheel = (x, y, len, w, rot, o) => [0, 120, 240].map((a) => `<ellipse cx="${x}" cy="${f2(y - len / 2)}" rx="${w}" ry="${f2(len / 2)}" transform="rotate(${a + rot} ${x} ${y})" ${fo(W, o)}/>`).join('') + `<circle cx="${x}" cy="${y}" r="${w + 0.6}" ${fo(W, o)}/>`;
|
||
return `<path ${st(2.6)} d="M25 15v18"/><path ${st(2, W, 0.7)} d="M12 23.5V33"/><path ${st(2.4)} d="M6 33.2h28"/>${wheel(25, 15, 9.5, 1.7, 15, 1)}${wheel(12, 23.5, 6, 1.2, 50, 0.7)}`;
|
||
}],
|
||
// volle Sonne (helle Platte)
|
||
['#F59E0B', () => {
|
||
const d = '#78350F';
|
||
const rays = Array.from({ length: 8 }, (_, i) => { const [a, b] = pt(20, 20, 9.8, i * 45), [x, y] = pt(20, 20, 14, i * 45); return `M${a} ${b}L${x} ${y}`; }).join('');
|
||
return `<circle cx="20" cy="20" r="6.6" fill="${d}"/><path ${st(2.8, d)} d="${rays}"/>`;
|
||
}, true],
|
||
// Pipeline mit Absperrventil
|
||
['#A16207', () => `<path ${st(4.4)} d="M5 27h30M14 27V17"/><circle cx="14" cy="11.4" r="5" ${st(2.2)}/><path ${st(1.8)} d="M9 11.4h10M14 6.4v10"/><g ${fo()}><rect x="21.5" y="22.4" width="3" height="9.2" rx="1"/><rect x="29" y="22.4" width="3" height="9.2" rx="1"/></g>`],
|
||
// Batterie mit Blitz (helle Platte)
|
||
['#EAB308', () => {
|
||
const d = '#422006';
|
||
return `<rect x="6.5" y="12.5" width="24" height="15" rx="3.2" ${st(2.8, d)}/><rect x="31.5" y="17" width="3" height="6" rx="1.2" fill="${d}"/><path fill="${d}" d="M20.4 14.5 14 21h4.5l-1.8 4.6 6.5-6.6h-4.6z"/>`;
|
||
}, true],
|
||
// Solarmodul auf Ständer
|
||
['#C27C0E', (c) => `<path ${fo()} d="M10 8h23l-4.5 17H5.5z"/><path ${st(2, c)} d="M17.7 8l-4.5 17M25.3 8l-4.5 17M8 16.5h23"/><path ${st(2.8)} d="M17 25v8M11.5 33h11"/>`],
|
||
// Hochspannungsmast
|
||
['#9A5507', () => `<path ${st(2.6)} d="M13.5 34 18.4 7.5h3.2L26.5 34M8.5 13h23M10.5 19.5h19"/><path ${st(2.4)} d="M9 13v3.6M31 13v3.6M11 19.5v3.6M29 19.5v3.6"/><path ${st(2.2, W, 0.7)} d="M16.4 24l8 5M23.6 24l-8 5"/>`],
|
||
// Kühlturm mit Dampf
|
||
['#B86A08', (c) => `<path ${fo()} d="M11 34c2-6.5 2-12-1-19h20c-3 7-3 12.5-1 19z"/><path ${st(2.2, c)} d="M12 22h16"/><g ${fo(W, 0.7)}><circle cx="15" cy="10.5" r="3.4"/><circle cx="21" cy="8" r="4.2"/><circle cx="27" cy="10.5" r="3.2"/></g>`],
|
||
// Öltropfen mit Glanz
|
||
['#8C4A0A', (c) => `<path ${fo()} d="${drop(20, 5, 10)}"/><ellipse cx="15.4" cy="24" rx="1.9" ry="3.4" transform="rotate(18 15.4 24)" fill="${c}"/>`],
|
||
// Ölfass
|
||
['#A65C06', (c) => `<rect x="10" y="6" width="20" height="28" rx="3.2" ${fo()}/><path ${st(2.4, c)} d="M10 14h20M10 26h20"/><circle cx="24.5" cy="9.8" r="1.5" fill="${c}"/>`],
|
||
// Netzstecker
|
||
['#D0850A', () => `<path ${st(3.2)} d="M15.5 5.5v6M24.5 5.5v6M20 26.5v8"/><path ${fo()} d="M10.5 11.5h19v6a9.5 9.5 0 0 1-19 0z"/>`],
|
||
// Gasflasche
|
||
['#9C5A0B', (c) => `<path ${fo()} d="M13.5 17a6.5 6.5 0 0 1 13 0v14.5a2.5 2.5 0 0 1-2.5 2.5h-8a2.5 2.5 0 0 1-2.5-2.5z"/><rect x="17.5" y="7" width="5" height="5" rx="1" ${fo()}/><path ${st(2.6)} d="M14.5 6.5h11"/><path ${st(2.2, c)} d="M13.5 22.5h13"/>`],
|
||
// Sonnenaufgang am Horizont
|
||
['#C8770A', () => {
|
||
const rays = [-90, -45, 0, 45, 90].map((a) => { const [x1, y1] = pt(20, 26, 12.4, a), [x2, y2] = pt(20, 26, 16, a); return `M${x1} ${y1}L${x2} ${y2}`; }).join('');
|
||
return `<path ${fo()} d="M10 26a10 10 0 0 1 20 0z"/><path ${st(2.8)} d="${rays}M5 30h30"/><path ${st(2.6, W, 0.6)} d="M11 34.5h18"/>`;
|
||
}],
|
||
// Staudamm mit Stausee
|
||
['#7E440B', () => `<path ${fo()} d="M20 7.5h6l5.5 26.5H20z"/>${[[14, 1], [21, 0.75], [28, 0.5]].map(([y, o]) => `<path ${st(2.6, W, o)} d="M5 ${y}c2-2 4-2 6 0s4 2 6 0"/>`).join('')}<path ${st(2.6)} d="M4.5 34h31"/>`],
|
||
// Wasserstoff: zwei Atome
|
||
['#B5650A', (c) => `<circle cx="14" cy="20" r="8" ${fo()}/><circle cx="26.5" cy="20" r="8" ${fo(W, 0.72)} stroke="${c}" stroke-width="2"/>`],
|
||
// Zapfsäule
|
||
['#A8620A', (c) => `<rect x="8" y="6.5" width="15" height="25.5" rx="2.6" ${fo()}/><rect x="11" y="9.8" width="9" height="6.4" rx="1.2" fill="${c}"/><rect x="6" y="31" width="19" height="3.2" rx="1.4" ${fo()}/><path ${st(2.6)} d="M23 14h3.5a2 2 0 0 1 2 2v9a2.2 2.2 0 0 0 4.4 0V12.5L30 9"/>`],
|
||
// Wechselstrom im Kreis
|
||
['#C47A0E', (c) => `<circle cx="20" cy="20" r="14" ${fo()}/><path ${st(3.2, c)} d="M10 20a5 5 0 0 1 10 0 5 5 0 0 0 10 0"/>`],
|
||
// Turbinenrad
|
||
['#8F500C', () => {
|
||
const blades = Array.from({ length: 6 }, (_, i) => { const a = i * 60, [x1, y1] = pt(20, 20, 4, a), [qx, qy] = pt(20, 20, 9, a + 38), [x2, y2] = pt(20, 20, 10.6, a + 70); return `M${x1} ${y1}Q${qx} ${qy} ${x2} ${y2}`; }).join('');
|
||
return `<circle cx="20" cy="20" r="14" ${st(2.8)}/><path ${st(2.8)} d="${blades}"/><circle cx="20" cy="20" r="3.4" ${fo()}/>`;
|
||
}],
|
||
// Bohrkopf
|
||
['#B06A0D', (c) => `<rect x="17" y="5" width="6" height="8" rx="1.2" ${fo()}/><path ${fo()} d="M11.5 13.5h17L20 35z"/><path ${st(2.2, c)} d="M14 18.5l12-2.4M15.8 24.2l8.4-1.8M17.8 29.6l4.2-1"/>`],
|
||
// Bohrinsel im Meer
|
||
['#9A5C0C', () => `<path ${st(2.4)} d="M23 15.5 26.3 6l3.2 9.5M24.3 11.5h4"/><rect x="9" y="10.5" width="9" height="5" rx="1" ${fo()}/><rect x="6.5" y="15" width="27" height="4.4" rx="1.2" ${fo()}/><path ${st(2.8)} d="M10 19v10M20 19v10M30 19v10"/><path ${st(2.4, W, 0.7)} d="M5 31c2.5-2 5-2 7.5 0s5 2 7.5 0 5-2 7.5 0 5 2 7.5 0"/>`],
|
||
// Thermometer
|
||
['#D38B0F', () => `<path ${st(2.6)} d="M16.5 23.4V9a3.5 3.5 0 0 1 7 0v14.4a6.2 6.2 0 1 1-7 0z"/><circle cx="20" cy="28.6" r="3.4" ${fo()}/><path ${st(2.6)} d="M20 27V15"/><path ${st(2.2, W, 0.7)} d="M27 11h3.5M27 16h3.5M27 21h3.5"/>`],
|
||
// Pferdekopfpumpe
|
||
['#7A430A', () => `<path ${st(2.8)} d="M14 33l5-16 5 16"/><path ${st(3.2)} d="M9.5 14.6 31 10.8"/><path ${fo()} d="M5 12.4l5.6-1.2 1.6 8.6-3.2.6z"/><path ${st(2.2)} d="M7.8 20v13"/><path ${st(2.4)} d="M29.4 11v5"/><circle cx="29.5" cy="19" r="3.6" ${fo()}/><path ${st(2.6)} d="M5 33.5h30"/>`],
|
||
// Kohlebrocken mit Facetten
|
||
['#8A4D0C', (c) => `<path ${fo()} d="M8.5 24 11.5 13 21 7.5l9.5 5.5 3 11-6.2 8.5H14z"/><path ${st(2, c)} d="M11.5 13l9.5 6 12.5 5M21 7.5V19l-6 13.5"/>`],
|
||
// Ladesäule
|
||
['#BF730C', (c) => `<rect x="8.5" y="6" width="14" height="28" rx="3" ${fo()}/><rect x="11.5" y="9.5" width="8" height="6" rx="1.2" fill="${c}"/><path fill="${c}" d="M16.6 18.5l-3.2 5.6h2.6l-1 4.4 4-6h-2.7l1.2-4z"/><path ${st(2.6)} d="M22.5 22h3a2.5 2.5 0 0 1 2.5 2.5V29a2.5 2.5 0 0 0 5 0v-7.5"/><rect x="30.5" y="15.5" width="5" height="6" rx="1.4" ${fo()}/>`],
|
||
// Blatt mit Blitz
|
||
['#A86F0A', (c) => `<path ${fo()} d="M8 32C8 18.5 15 9 32 8c0 16-8.5 24-24 24z"/><path fill="${c}" d="M23 12.5l-7 9h4.4l-2 6.5 7.2-9.4h-4.4z"/>`],
|
||
// Raffinerie-Kolonnen
|
||
['#94540B', () => `<rect x="7.5" y="14" width="6.4" height="20" rx="3.2" ${fo()}/><rect x="16.8" y="7" width="6.4" height="27" rx="3.2" ${fo()}/><rect x="26.1" y="18" width="6.4" height="16" rx="3.2" ${fo(W, 0.75)}/><path ${st(2.4)} d="M13.9 22h2.9M23.2 26h2.9M5 34h30"/>`],
|
||
// drei Wellen (Gezeiten)
|
||
['#C5800C', () => [[12, 1], [20, 0.8], [28, 0.58]].map(([y, o]) => `<path ${st(3.2, W, o)} d="M5 ${y}c2.5-2.8 5-2.8 7.5 0s5 2.8 7.5 0 5-2.8 7.5 0 5 2.8 7.5 0"/>`).join('')],
|
||
// Sechseck mit Blitz
|
||
['#B7720C', (c) => `<path ${fo()} d="${poly(20, 20, 14.5, 6)}"/><path fill="${c}" d="M22.6 9.5 14.4 21.6h5.2l-1.8 8.9 8.3-12.2h-5.3z"/>`],
|
||
// Kanister
|
||
['#86480B', (c) => `<path ${fo()} d="M10 12l4.5-4.5H28a2 2 0 0 1 2 2V32a2 2 0 0 1-2 2H12a2 2 0 0 1-2-2z"/><rect x="18" y="9.6" width="8.5" height="3" rx="1.5" fill="${c}"/><path ${st(2.6, c)} d="M14.5 18l11 11M25.5 18l-11 11"/><path ${st(3)} d="M11.4 11.4 8 8"/>`],
|
||
// Kreislauf mit Blitz
|
||
['#D08A0B', () => {
|
||
const arc = (a, b) => { const [x1, y1] = pt(20, 20, 12, a), [x2, y2] = pt(20, 20, 12, b), [tx, ty] = pt(20, 20, 12, b + 18), [p1, q1] = pt(20, 20, 7.6, b - 2), [p2, q2] = pt(20, 20, 16.4, b - 2); return `<path ${st(3)} d="M${x1} ${y1}A12 12 0 0 1 ${x2} ${y2}"/><path ${fo()} d="M${p1} ${q1}L${tx} ${ty}L${p2} ${q2}z"/>`; };
|
||
return `${arc(-80, 60)}${arc(100, 240)}<path ${fo()} d="M21.6 12.5 15.6 21h4.4l-1.6 6.6 6.6-8.8h-4.6z"/>`;
|
||
}],
|
||
],
|
||
|
||
// ---------------------------------------------------------------- Automobil: Schiefer und Graphit
|
||
auto: [
|
||
// Lenkrad
|
||
['#334155', () => `<circle cx="20" cy="20" r="12.2" ${st(3.4)}/><circle cx="20" cy="20" r="3.6" ${fo()}/><path ${st(3)} d="M8.5 18.2h8M23.5 18.2h8M20 23.6V32"/>`],
|
||
// Auto von der Seite
|
||
['#475569', (c) => {
|
||
const wheel = (x) => `<circle cx="${x}" cy="26.5" r="4.6" fill="${c}"/><circle cx="${x}" cy="26.5" r="3.3" ${fo()}/><circle cx="${x}" cy="26.5" r="1.2" fill="${c}"/>`;
|
||
return `<path ${fo()} d="M4.5 26v-4c0-1 .7-1.8 1.7-2l4.6-1 4.5-4.5a3 3 0 0 1 2.1-.9h7.4a3 3 0 0 1 2.3 1.1l3.5 4.2 3.6.9c.9.2 1.5 1 1.5 1.9V26z"/><path ${fo(c, 0.9)} d="M17.2 15.8h3.4v3.6h-6.9zM22.4 15.8h3.1l3 3.6h-6.1z"/>${wheel(11.5)}${wheel(28.5)}`;
|
||
}],
|
||
// Felge
|
||
['#1E293B', () => {
|
||
const sp = Array.from({ length: 5 }, (_, i) => { const [a, b] = pt(20, 20, 3.4, i * 72), [x, y] = pt(20, 20, 9.2, i * 72); return `M${a} ${b}L${x} ${y}`; }).join('');
|
||
return `<circle cx="20" cy="20" r="12.6" ${st(3.6)}/><circle cx="20" cy="20" r="8.8" ${st(1.4, W, 0.5)}/><path ${st(2.8)} d="${sp}"/><circle cx="20" cy="20" r="2.6" ${fo()}/>`;
|
||
}],
|
||
// Auto von vorn
|
||
['#52525B', (c) => `<path ${fo()} d="M7 29.5V21.5l3.3-9a3 3 0 0 1 2.8-2h13.8a3 3 0 0 1 2.8 2l3.3 9v8z"/><path fill="${c}" d="M12.4 19.5l2.2-5.8a1.5 1.5 0 0 1 1.4-1h8a1.5 1.5 0 0 1 1.4 1l2.2 5.8z"/><g fill="${c}"><circle cx="12.2" cy="24.4" r="2.1"/><circle cx="27.8" cy="24.4" r="2.1"/></g><path ${st(2, c)} d="M17 25h6"/><g ${fo()}><rect x="8" y="28.5" width="5.4" height="5" rx="1.6"/><rect x="26.6" y="28.5" width="5.4" height="5" rx="1.6"/></g><path ${st(2.2)} d="M7 18.4H5M33 18.4h2"/>`],
|
||
// Tachometer
|
||
['#3F3F46', () => {
|
||
const ticks = [-120, -80, -40, 0, 40, 80, 120].map((a) => { const [x1, y1] = pt(20, 23, 8, a), [x2, y2] = pt(20, 23, 10.2, a); return `M${x1} ${y1}L${x2} ${y2}`; }).join('');
|
||
const [nx, ny] = pt(20, 23, 9.5, 50);
|
||
return `<path ${st(3)} d="M8.2 29.8a13.6 13.6 0 1 1 23.6 0"/><path ${st(1.8, W, 0.6)} d="${ticks}"/><path ${st(3)} d="M20 23 ${nx} ${ny}"/><circle cx="20" cy="23" r="2.8" ${fo()}/>`;
|
||
}],
|
||
// Schaltkulisse
|
||
['#0F172A', () => `<path ${st(2.6, W, 0.8)} d="M11 10.5v19M20 10.5v19M29 10.5v19M11 20h18"/><g ${fo()}><circle cx="11" cy="10.5" r="3"/><circle cx="20" cy="10.5" r="3"/><circle cx="11" cy="29.5" r="3"/><circle cx="20" cy="29.5" r="3"/><circle cx="29" cy="29.5" r="3"/></g><circle cx="29" cy="10.5" r="4.2" ${fo()}/><circle cx="29" cy="10.5" r="1.6" fill="#0F172A"/>`],
|
||
// Scheinwerfer
|
||
['#64748B', () => `<path ${fo()} d="M20 9.5h1.5a10.5 10.5 0 0 1 0 21H20z"/><path ${st(2.8)} d="M16 12 7 13.6M16 17.4 6.2 18.4M16 22.6l-9.8.8M16 28l-9-1.4"/>`],
|
||
// Reifen mit Profil
|
||
['#374151', () => `<path ${fo()} fill-rule="evenodd" d="${gear(20, 20, 14.6, 12.6, 22, 8.2)}"/><circle cx="20" cy="20" r="3.6" ${fo()}/>`],
|
||
// Funkschlüssel
|
||
['#4B5563', (c) => `<rect x="6.5" y="5.5" width="13.5" height="19" rx="4.6" ${fo()}/><g fill="${c}"><circle cx="13.25" cy="11.5" r="2.3"/><circle cx="13.25" cy="18.5" r="2.3"/></g><path ${st(3.6)} d="M18.5 22l13 12"/><path ${st(2.6)} d="M26.4 29.4l2.4-2.6M22.9 26.2l2.4-2.6"/>`],
|
||
// Kolben mit Pleuel
|
||
['#1F2937', (c) => `<path ${fo()} d="M11 6.5h18V18a2 2 0 0 1-2 2H13a2 2 0 0 1-2-2z"/><path ${st(2, c)} d="M11 10.5h18M11 14h18"/><path ${st(4)} d="M20 19l-3 8.5"/><circle cx="16.5" cy="30" r="4.4" ${st(3)}/>`],
|
||
// Zündkerze
|
||
['#2D3748', (c) => `<rect x="17.8" y="4" width="4.4" height="4.6" rx="1.2" ${fo()}/><path ${fo(W, 0.75)} d="M16.3 9h7.4l-.8 8.5h-5.8z"/><rect x="12.5" y="17.5" width="15" height="6.5" rx="1.6" ${fo()}/><rect x="15.8" y="24" width="8.4" height="6.6" ${fo()}/><path ${st(1.8, c)} d="M15.8 26.4h8.4M15.8 28.6h8.4"/><path ${st(2.6)} d="M20 30.6v3.6h3.6"/>`],
|
||
// Ampel
|
||
['#4A5568', (c) => `<rect x="13" y="4.5" width="14" height="31" rx="5" ${fo()}/><g fill="${c}"><circle cx="20" cy="11.2" r="3.2"/><circle cx="20" cy="20" r="3.2"/><circle cx="20" cy="28.8" r="3.2"/></g><circle cx="20" cy="28.8" r="1.5" ${fo()}/>`],
|
||
// Straße in Perspektive
|
||
['#3B4252', (c) => `<path ${fo()} d="M15.5 6h9L34 34H6z"/><path fill="${c}" d="M19.3 8.5h1.4l.25 4.4h-1.9zM18.9 16h2.2l.35 6h-2.9zM18.4 25.5h3.2l.45 8.5h-4.1z"/>`],
|
||
// Zielflagge
|
||
['#283447', (c) => {
|
||
const sq = [[1, 0], [3, 0], [0, 1], [2, 1], [1, 2], [3, 2]].map(([i, j]) => `<rect x="${f2(10 + i * 5.5)}" y="${6.5 + j * 5}" width="5.5" height="5" fill="${c}"/>`).join('');
|
||
return `<path ${st(3)} d="M9 34.5V6"/><rect x="10" y="6.5" width="22" height="15" ${fo()}/>${sq}`;
|
||
}],
|
||
// Autositz
|
||
['#57606F', () => `<rect x="11.5" y="4.5" width="8" height="5" rx="2" ${fo()}/><path ${fo()} d="M11 11h8.6a1.6 1.6 0 0 1 1.6 1.8l-1.6 12.2H10.6l-1.2-12.2A1.6 1.6 0 0 1 11 11z"/><path ${fo()} d="M10 26.5h17.5a3 3 0 0 1 0 6H10z"/><path ${st(2.8)} d="M14 32.5V36M24.5 32.5V36"/>`],
|
||
// Motorblock
|
||
['#44403C', (c) => `<path ${st(2.8)} d="M15.5 8h9M20 8v3"/><path ${fo()} d="M10 13.5h4v-2.5h12v2.5h3.5l2 3H34v10h-2.5l-2 3H13l-3-4H6.5v-8H10z"/><circle cx="21" cy="21.5" r="3.6" fill="${c}"/>`],
|
||
// Motorrad
|
||
['#20262E', () => `<g ${st(2.8)}><circle cx="9.5" cy="26" r="5.4"/><circle cx="30.5" cy="26" r="5.4"/></g><path ${st(3)} d="M9.5 26l6.5-8.5h8l6.5 8.5M16 17.5l-2.5-4h-3.5M24 17.5l2-5h4"/><path ${fo()} d="M15 17.5h10l-2 4h-6z"/>`],
|
||
// Schalthebel
|
||
['#3C4A5C', () => `<circle cx="20" cy="10" r="5.6" ${fo()}/><path ${st(3.4)} d="M20 15v11"/><path ${fo()} d="M12.5 34c0-5 3.3-8.5 7.5-8.5s7.5 3.5 7.5 8.5z"/>`],
|
||
// Kreisverkehr
|
||
['#596273', () => {
|
||
const arc = (a, b) => { const [x1, y1] = pt(20, 20, 11, a), [x2, y2] = pt(20, 20, 11, b), [tx, ty] = pt(20, 20, 11, b + 22), [p1, q1] = pt(20, 20, 6.4, b - 2), [p2, q2] = pt(20, 20, 15.6, b - 2); return `<path ${st(3)} d="M${x1} ${y1}A11 11 0 0 1 ${x2} ${y2}"/><path ${fo()} d="M${p1} ${q1}L${tx} ${ty}L${p2} ${q2}z"/>`; };
|
||
return `${arc(0, 80)}${arc(120, 200)}${arc(240, 320)}`;
|
||
}],
|
||
// Schraubenschlüssel
|
||
['#2F3B4C', (c) => `<g transform="rotate(-45 20 20)"><rect x="17.3" y="14" width="5.4" height="21" rx="2.7" ${fo()}/><circle cx="20" cy="10.5" r="7.2" ${fo()}/><rect x="17.4" y="2.5" width="5.2" height="8.6" rx="1" fill="${c}"/></g>`],
|
||
// Turbolader-Spirale
|
||
['#475467', () => `<path ${st(3)} d="M20 20a3 3 0 0 1 6 0 6 6 0 0 1-12 0 9 9 0 0 1 18 0 12 12 0 0 1-24 0"/><path ${st(3)} d="M8 20V8.5h6"/>`],
|
||
// Rückspiegel
|
||
['#1E2633', (c) => `<path ${fo()} d="M7 11c0-2 1.5-3.2 3.5-3.2h19c2 0 3.5 1.2 3.5 3.2l-1 9c-.2 2-1.7 3.2-3.5 3.2h-17c-1.8 0-3.3-1.2-3.5-3.2z"/><path ${st(2.2, c)} d="M13 19.5l4-7M18.5 19.5l3-5.2"/><path ${st(3)} d="M20 23v6"/><rect x="14.5" y="29" width="11" height="4.2" rx="1.6" ${fo()}/>`],
|
||
// Navigationspfeil
|
||
['#3E4C5E', (c) => `<circle cx="20" cy="20" r="14.5" ${fo()}/><path fill="${c}" d="M20 9.5l7.5 19-7.5-4.2-7.5 4.2z"/>`],
|
||
// Kurve als Warnschild
|
||
['#4E5B6E', (c) => `<path ${fo()} stroke="${W}" stroke-width="3" stroke-linejoin="round" d="${poly(20, 20, 15, 4)}"/><path ${st(2.8, c)} d="M16.5 29v-5c0-3.2 7-4.2 7-8.6V14"/><path fill="${c}" d="M19.6 14.4h7.8L23.5 9z"/>`],
|
||
// Warndreieck
|
||
['#2A3441', () => `<path ${st(3.6)} d="M20 6.5 34 31H6z"/><path ${fo(W, 0.6)} d="M20 16.5 26.2 27H13.8z"/><path ${st(2.6)} d="M11 34.5h18"/>`],
|
||
// Fahrgestell von oben
|
||
['#37475A', () => `<rect x="14" y="7" width="12" height="26" rx="2.4" ${st(2.6)}/><path ${st(2.6)} d="M9 12.5h22M9 27.5h22"/><g ${fo()}><rect x="5" y="8.5" width="5" height="8" rx="1.6"/><rect x="30" y="8.5" width="5" height="8" rx="1.6"/><rect x="5" y="23.5" width="5" height="8" rx="1.6"/><rect x="30" y="23.5" width="5" height="8" rx="1.6"/></g>`],
|
||
// Bremsscheibe mit Sattel
|
||
['#252F3D', (c) => `<circle cx="18" cy="22" r="12.5" ${fo()}/><g fill="${c}">${[0, 60, 120, 180, 240, 300].map((a) => { const [x, y] = pt(18, 22, 8, a + 30); return `<circle cx="${x}" cy="${y}" r="1.7"/>`; }).join('')}<circle cx="18" cy="22" r="3.6"/></g><path ${fo()} stroke="${c}" stroke-width="2" d="M23.5 5.5h7a3 3 0 0 1 3 3v10h-6.4v-6.5h-3.6z"/>`],
|
||
// Tempo-Winkel
|
||
['#4D5866', () => `<path ${st(3.8, W, 0.4)} d="M6.5 12l8 8-8 8"/><path ${st(3.8, W, 0.7)} d="M15.5 12l8 8-8 8"/><path ${st(3.8)} d="M24.5 12l8 8-8 8"/>`],
|
||
// Garage mit Rolltor
|
||
['#3A4350', (c) => `<path ${fo()} d="M5 17.5 20 7l15 10.5V33H5z"/><rect x="10.5" y="19" width="19" height="14" fill="${c}"/><path ${st(2.2)} d="M10.5 22.6h19M10.5 26.6h19M10.5 30.6h19"/>`],
|
||
// Zahnradpaar
|
||
['#2E3A48', () => `<path ${fo()} fill-rule="evenodd" d="${gear(15, 15.5, 9.6, 7.2, 10, 3)}"/><path ${fo(W, 0.72)} fill-rule="evenodd" d="${gear(27, 27.5, 7.4, 5.5, 8, 2.3, 22.5)}"/>`],
|
||
// Auto von oben
|
||
['#525C6A', (c) => `<rect x="12" y="4.5" width="16" height="31" rx="6" ${fo()}/><path fill="${c}" d="M14.5 13.5c3.6-1.6 7.4-1.6 11 0l-1 4.6c-2.9-.9-6.1-.9-9 0zM15.4 27c2.9.8 6.3.8 9.2 0l.8 3.2c-3.4 1.1-7.4 1.1-10.8 0z"/><g ${fo()}><rect x="9" y="14" width="3.4" height="2.6" rx="1"/><rect x="27.6" y="14" width="3.4" height="2.6" rx="1"/></g>`],
|
||
// Abbiegepfeil
|
||
['#626C7B', () => `<path ${st(4)} d="M12 34V21a7 7 0 0 1 7-7h8"/><path ${fo()} d="M26 6.5 34.5 14 26 21.5z"/>`],
|
||
],
|
||
|
||
// ---------------------------------------------------------------- Banken und Versicherungen: Marineblau
|
||
banks: [
|
||
// ionische Säule
|
||
['#1E3A8A', (c) => `<rect x="9" y="7.5" width="22" height="3.4" rx="1.2" ${fo()}/><path ${fo()} d="M10.5 12.1h19c0 1.8-1.3 3.1-3 3.1h-13c-1.7 0-3-1.3-3-3.1z"/><circle cx="11.4" cy="14.2" r="2.6" ${fo()}/><circle cx="28.6" cy="14.2" r="2.6" ${fo()}/><circle cx="11.4" cy="14.2" r="1" fill="${c}"/><circle cx="28.6" cy="14.2" r="1" fill="${c}"/><rect x="14" y="16.2" width="12" height="13" ${fo()}/><path ${st(1.4, c)} d="M17.5 18v9.4M20 18v9.4M22.5 18v9.4"/><rect x="11" y="29.6" width="18" height="3.6" rx="1.2" ${fo()}/>`],
|
||
// Tresortür
|
||
['#1E40AF', (c) => {
|
||
const sp = [0, 90, 180, 270].map((a) => { const [x1, y1] = pt(20, 20, 4.4, a + 45), [x2, y2] = pt(20, 20, 6.8, a + 45); return `M${x1} ${y1}L${x2} ${y2}`; }).join('');
|
||
return `<rect x="7" y="7" width="26" height="24" rx="4" ${fo()}/><rect x="10" y="31" width="5" height="2.6" rx="1" ${fo()}/><rect x="25" y="31" width="5" height="2.6" rx="1" ${fo()}/><circle cx="20" cy="19" r="7.6" fill="${c}"/><circle cx="20" cy="19" r="4" ${st(2)}/><g transform="translate(0 -1)"><path ${st(2)} d="${sp}"/></g><path ${st(2.2, c)} d="M9.5 12.5v3M9.5 22.5v3"/>`;
|
||
}],
|
||
// Münzstapel
|
||
['#172554', (c) => {
|
||
const coin = (x, y, o) => `<path ${fo(W, o * 0.72)} d="M${x - 10} ${y}v3.4c0 1.9 4.5 3.4 10 3.4s10-1.5 10-3.4V${y}z"/><ellipse cx="${x}" cy="${y}" rx="10" ry="3.4" ${fo(W, o)} stroke="${c}" stroke-width="1.2"/>`;
|
||
return `${coin(19, 27, 1)}${coin(21, 20.5, 1)}${coin(19.5, 14, 1)}<ellipse cx="19.5" cy="14" rx="5.6" ry="1.8" ${st(1.3, c)}/>`;
|
||
}],
|
||
// Schild mit Haken
|
||
['#1D4ED8', (c) => `<path ${fo()} d="M20 6 31 10v8.6c0 7-4.7 12.3-11 14.4-6.3-2.1-11-7.4-11-14.4V10z"/><path ${st(3.2, c)} d="M14.6 19.4l3.8 3.8 7-7.2"/>`],
|
||
// Schlüssel
|
||
['#0C4A6E', () => `<circle cx="13.5" cy="13.5" r="5.6" ${st(3.4)}/><path ${st(3.4)} d="M17.5 17.5l14 14"/><path ${st(3)} d="M25.2 25.2l3.2-3.2M29.4 29.4l2.6-2.6"/>`],
|
||
// Waage
|
||
['#2563EB', () => {
|
||
const pan = (x) => `<path ${st(1.6, W, 0.8)} d="M${x} 13.2l-3.8 8.8M${x} 13.2l3.8 8.8"/><path ${fo()} d="M${x - 5} 22h10a5 5 0 0 1-10 0z"/>`;
|
||
return `<path ${st(2.6)} d="M20 10v21M9 13.2h22M14 32.5h12"/><circle cx="20" cy="8.4" r="2.2" ${fo()}/>${pan(9)}${pan(31)}`;
|
||
}],
|
||
// Geldscheine
|
||
['#1E3A5F', (c) => `<rect x="9.5" y="8" width="25" height="16" rx="2.4" ${fo(W, 0.5)}/><rect x="5.5" y="14" width="25" height="17" rx="2.4" ${fo()}/><circle cx="18" cy="22.5" r="4.4" ${st(2, c)}/><g fill="${c}"><circle cx="9.6" cy="18" r="1.3"/><circle cx="26.4" cy="27" r="1.3"/></g>`],
|
||
// Sparschwein
|
||
['#233876', (c) => `<path ${fo()} d="M13 14.2l1.6-5.4 5 3.6z"/><ellipse cx="19" cy="21" rx="12.5" ry="9" ${fo()}/><rect x="29" y="17.4" width="5" height="6.4" rx="2" ${fo()}/><g ${fo()}><rect x="11" y="26" width="4.4" height="7.5" rx="1.6"/><rect x="21.6" y="26" width="4.4" height="7.5" rx="1.6"/></g><path ${st(2.2, c)} d="M15.5 15.6h7"/><circle cx="26" cy="18.6" r="1.4" fill="${c}"/>`],
|
||
// Kreditkarte
|
||
['#1C3D7A', (c) => `<rect x="5" y="9.5" width="30" height="21" rx="3.2" ${fo()}/><rect x="5" y="13.6" width="30" height="4.4" fill="${c}"/><rect x="9" y="21.5" width="7" height="5.2" rx="1.2" fill="${c}"/><path ${st(2.2, c)} d="M20.5 24.2h10"/>`],
|
||
// Kurs nach oben
|
||
['#0F2D6B', () => `<g ${fo(W, 0.68)}><rect x="7.5" y="24" width="5.4" height="10" rx="1.2"/><rect x="15.5" y="19.5" width="5.4" height="14.5" rx="1.2"/><rect x="23.5" y="15" width="5.4" height="19" rx="1.2"/></g><path ${st(2.8)} d="M6.5 19 14.5 12l5 4L29 8.5"/><path ${fo()} d="M34 5.5 25.6 6.6l5.9 6.2z"/>`],
|
||
// Regenschirm
|
||
['#274690', () => `<path ${fo()} d="M5 20a15 13 0 0 1 30 0${'a2.5 2 0 0 0-5 0'.repeat(6)}z"/><path ${st(3)} d="M20 20v10.5a3 3 0 0 1-6 0"/><path ${st(2.6)} d="M20 7V4.5"/>`],
|
||
// Münze mit Kerbrand
|
||
['#193B6E', (c) => `<path ${fo()} d="${star(20, 20, 14.5, 24, 0.91)}"/><circle cx="20" cy="20" r="9.4" ${st(2.2, c)}/><path fill="${c}" d="${poly(20, 20, 4.6, 4)}"/>`],
|
||
// geschliffener Edelstein
|
||
['#2A4A9C', (c) => `<path ${fo()} d="M11 8.5h18l6 8.5-15 16.5L5 17z"/><path ${st(2, c)} d="M5.5 17h29M15 8.5 12 17l8 16 8-16-3-8.5M20 8.5 15.5 17M20 8.5l4.5 8.5"/>`],
|
||
// Goldbarren
|
||
['#163060', () => `<g ${fo()}><path d="M4.5 33 7 25h10l2.5 8z"/><path d="M20.5 33 23 25h10l2.5 8z"/></g><path ${fo(W, 0.8)} d="M12.5 23 15 15h10l2.5 8z"/><path ${st(2.4)} d="M31 6.5v5.4M28.3 9.2h5.4"/>`],
|
||
// Kuppelbau
|
||
['#1F4E8C', () => `<path ${st(2.4)} d="M20 7V4.2"/><path ${fo()} d="M11 15.5a9 8.5 0 0 1 18 0z"/><rect x="8" y="16" width="24" height="3.2" rx="1" ${fo()}/><path ${st(3)} d="M11.5 22v7M17.5 22v7M22.5 22v7M28.5 22v7"/><rect x="6" y="30.5" width="28" height="3.6" rx="1.2" ${fo()}/>`],
|
||
// Zinssatz-Prozent
|
||
['#0E3A66', (c) => `<circle cx="20" cy="20" r="14.5" ${fo()}/><path ${st(3, c)} d="M13.5 27 26.5 13"/><g fill="${c}"><circle cx="14.4" cy="14.4" r="3.1"/><circle cx="25.6" cy="25.6" r="3.1"/></g>`],
|
||
// Geldbörse
|
||
['#2B4C7E', (c) => `<rect x="9.5" y="6.5" width="15" height="7" rx="1.6" ${fo(W, 0.6)}/><rect x="5" y="11" width="28" height="21" rx="3.6" ${fo()}/><rect x="22" y="16.5" width="13" height="10" rx="3" ${fo()} stroke="${c}" stroke-width="2"/><circle cx="27" cy="21.5" r="1.7" fill="${c}"/>`],
|
||
// Taschenrechner
|
||
['#1A2F6B', (c) => `<rect x="9" y="4.5" width="22" height="31" rx="3.5" ${fo()}/><rect x="12.4" y="8" width="15.2" height="6.4" rx="1.2" fill="${c}"/><g fill="${c}">${[0, 1, 2].flatMap((r) => [0, 1, 2].map((k) => `<rect x="${f2(12.4 + k * 5.6)}" y="${f2(17.6 + r * 5.6)}" width="4" height="4" rx="1"/>`)).join('')}</g>`],
|
||
// Kreisdiagramm
|
||
['#1E3F80', () => `<path ${fo()} d="M19 21V8a13 13 0 1 0 13 13z"/><path ${fo(W, 0.62)} d="M22 18V5a13 13 0 0 1 13 13z"/>`],
|
||
// Rettungsring
|
||
['#244A86', () => {
|
||
const seg = (a) => { const [x1, y1] = pt(20, 20, 11, a - 22), [x2, y2] = pt(20, 20, 11, a + 22); return `M${x1} ${y1}A11 11 0 0 1 ${x2} ${y2}`; };
|
||
return `<circle cx="20" cy="20" r="11" ${st(7, W, 0.5)}/><path ${st(7.4)} d="${[45, 135, 225, 315].map(seg).join('')}"/>`;
|
||
}],
|
||
// Sanduhr
|
||
['#163A73', () => `<path ${st(3)} d="M10 6h20M10 34h20"/><path ${st(2.6)} d="M12.5 6.5c0 7.2 7.5 9 7.5 13.5s-7.5 6.3-7.5 13.5M27.5 6.5c0 7.2-7.5 9-7.5 13.5s7.5 6.3 7.5 13.5"/><path ${fo()} d="M14.6 31.5c1.4-3.6 3.6-4.5 5.4-4.5s4 .9 5.4 4.5zM15.4 12h9.2c-.9 2.4-2.9 3.6-4.6 4.6-1.7-1-3.7-2.2-4.6-4.6z"/>`],
|
||
// Turm (Strategie)
|
||
['#2A3F7A', () => `<path ${fo()} d="M11 7h4.4v3.2h2.4V7h4.4v3.2h2.4V7H29v7.5l-3.2 3.2V27l3.2 3v4.5H11V30l3.2-3v-9.3L11 14.5z"/>`],
|
||
// Überweisungspfeile
|
||
['#1B4F86', () => `<path ${st(3.2)} d="M8 14h22M24.5 8.5 30 14l-5.5 5.5"/><path ${st(3.2, W, 0.62)} d="M32 26H10M15.5 20.5 10 26l5.5 5.5"/>`],
|
||
// Eichel (Sparen)
|
||
['#0F3460', () => `<path ${st(2.6)} d="M20 8.5V4.5"/><path ${fo()} d="M8.5 17c0-5.2 5-8.5 11.5-8.5s11.5 3.3 11.5 8.5z"/><path ${fo(W, 0.75)} d="M11 19h18c0 8.6-4 14.4-9 15.6-5-1.2-9-7-9-15.6z"/>`],
|
||
// Siegel mit Bändern
|
||
['#2C4E95', (c) => `<path ${fo(W, 0.7)} d="M13.5 24 9.5 35l5-2 3 4 3-9.5zM26.5 24l4 11-5-2-3 4-3-9.5z"/><path ${fo()} d="${star(20, 17, 12.5, 12, 0.84)}"/><circle cx="20" cy="17" r="6.4" ${st(2.2, c)}/>`],
|
||
// Leuchtturm
|
||
['#1A3A6B', (c) => `<path ${fo()} d="M15.5 8 20 4.4 24.5 8z"/><rect x="16.5" y="8.4" width="7" height="4" rx="1" ${fo()}/><path ${fo()} d="M16 13.4h8l2.6 19H13.4z"/><path ${st(2.4, c)} d="M15.3 19.5h9.4M14.5 26h11"/><path ${st(2.4, W, 0.65)} d="M27 8.6l7-2.4M27 12.2l7 2.4M13 8.6 6 6.2M13 12.2l-7 2.4"/><path ${st(2.6)} d="M8 33.5h24"/>`],
|
||
// Anker
|
||
['#22427E', () => `<circle cx="20" cy="8.4" r="3.2" ${st(2.6)}/><path ${st(3)} d="M20 11.6V33M14 16.5h12M8 24.5c1 5.4 6 8.5 12 8.5s11-3.1 12-8.5"/><path ${fo()} d="M5 26l3-5.4 3 5.4zM29 26l3-5.4 3 5.4z"/>`],
|
||
// Stufen mit Pfeil
|
||
['#1E3E75', () => `<path ${fo()} d="M6 34v-6h7v-6h7v-6h7v-6h7v24z"/><path ${st(2.8)} d="M6 20.5 17 9.5"/><path ${fo()} d="M21.5 5 19.8 13.6 13 6.8z"/>`],
|
||
// Kompass
|
||
['#173F70', (c) => `<circle cx="20" cy="20" r="14" ${st(2.8)}/><path ${fo()} d="M20 8.5l4.2 11.5h-8.4z"/><path ${fo(W, 0.55)} d="M15.8 20h8.4L20 31.5z"/><circle cx="20" cy="20" r="1.8" fill="${c}"/>`],
|
||
// Münze fällt in die Sparbox
|
||
['#254D91', (c) => `<circle cx="20" cy="10" r="5.8" ${fo()}/><circle cx="20" cy="10" r="3.2" ${st(1.8, c)}/><rect x="6.5" y="18" width="27" height="16" rx="3.2" ${fo()}/><path ${st(2.6, c)} d="M14.5 22.6h11"/><path ${st(2, c)} d="M11 29.5h4"/>`],
|
||
// Vermögenspyramide
|
||
['#123B78', () => `<rect x="14.5" y="7" width="11" height="7.4" rx="1.4" ${fo()}/><rect x="10" y="16.4" width="20" height="7.4" rx="1.4" ${fo(W, 0.8)}/><rect x="5.5" y="25.8" width="29" height="7.4" rx="1.4" ${fo(W, 0.6)}/>`],
|
||
// Füllfederspitze
|
||
['#2E4A86', (c) => `<path ${fo()} d="M20 4.5c4.2 4 8 9 8 15l-4 7.5v7.5h-8V27l-4-7.5c0-6 3.8-11 8-15z"/><path ${st(2, c)} d="M20 15v11"/><circle cx="20" cy="15" r="2.4" fill="${c}"/><path ${st(2, c)} d="M16 29.5h8"/>`],
|
||
],
|
||
|
||
// ---------------------------------------------------------------- Pharma und Biotech: Magenta
|
||
pharma: [
|
||
// Molekül (Ring mit Seitenketten)
|
||
['#DB2777', () => {
|
||
const ring = poly(17, 21, 8, 6);
|
||
const [tx, ty] = pt(17, 21, 8, 0), [bx, by] = pt(17, 21, 8, 120);
|
||
return `<path ${st(2.6)} d="${ring}"/><circle cx="17" cy="21" r="3.8" ${st(1.8, W, 0.65)}/><path ${st(2.4)} d="M${tx} ${ty}V8.6M${bx} ${by}L30 28.6"/><circle cx="${tx}" cy="7.6" r="3" ${fo()}/><circle cx="31" cy="29.2" r="3.2" ${fo()}/>`;
|
||
}],
|
||
// zwei Tabletten mit Bruchkerbe
|
||
['#BE185D', (c) => `<circle cx="14.5" cy="15" r="7.6" ${fo()}/><path ${st(2, c)} d="M9.5 20 19.5 10"/><circle cx="26" cy="26" r="6.6" ${fo(W, 0.78)}/><path ${st(2, c)} d="M21.6 26h8.8"/>`],
|
||
// Spritze
|
||
['#C026D3', (c) => `<g transform="rotate(45 20 20)"><path ${st(2.4)} d="M20 10V5M16 5h8M13.5 10h13"/><rect x="16" y="10" width="8" height="15.5" rx="1.6" ${fo()}/><path ${st(1.4, c)} d="M16 14.5h4M16 18h4M16 21.5h4"/><path ${st(1.8)} d="M20 25.5v8.5"/></g>`],
|
||
// Mörser mit Stößel
|
||
['#A21CAF', () => `<path ${st(4.4)} d="M21.5 17.5l8.2-10"/><path ${fo()} d="M8 18h24c0 6.6-5.4 12-12 12S8 24.6 8 18z"/><path ${st(3)} d="M14.5 33h11"/>`],
|
||
// Pipette mit Tropfen
|
||
['#9D174D', () => `<g transform="rotate(30 20 18)"><path ${fo()} d="M16.5 11V8a3.5 3.5 0 0 1 7 0v3z"/><rect x="14.5" y="11" width="11" height="3" rx="1.2" ${fo()}/><path ${fo(W, 0.8)} d="M17.5 14h5v6.5L20 24l-2.5-3.5z"/></g><path ${fo()} d="${drop(16.6, 26, 3)}"/>`],
|
||
// Zellteilung
|
||
['#86198F', () => `<circle cx="14.5" cy="20" r="8.6" ${st(2.6)}/><circle cx="25.5" cy="20" r="8.6" ${st(2.6, W, 0.7)}/><circle cx="13" cy="19" r="3.2" ${fo()}/><circle cx="27" cy="21" r="3.2" ${fo(W, 0.8)}/>`],
|
||
// Blatt mit Kreuz
|
||
['#D6336C', (c) => `<path ${fo()} d="M8 32C8 18.5 15 9 32 8c0 16-8.5 24-24 24z"/><path ${st(3, c)} d="M20.5 15.5v9M16 20h9"/>`],
|
||
// DNA-Doppelhelix
|
||
['#C2185B', () => `<path ${st(2.4, W, 0.8)} d="M15.2 8.4h9.6M14 20h12M15.2 31.6h9.6"/><path ${st(3)} d="M13 5c0 7.5 14 7.5 14 15s-14 7.5-14 15"/><path ${st(3, W, 0.62)} d="M27 5c0 7.5-14 7.5-14 15s14 7.5 14 15"/>`],
|
||
// Reagenzglas
|
||
['#B0157A', () => `<g transform="rotate(28 20 20)"><path ${st(2.8)} d="M15 6.5V27a5 5 0 0 0 10 0V6.5M12.6 6.5h14.8"/><path ${fo()} d="M15 18h10v9a5 5 0 0 1-10 0z"/><g ${fo(W, 0.8)}><circle cx="18.6" cy="13.6" r="1.6"/><circle cx="21.8" cy="10.4" r="1.2"/></g></g>`],
|
||
// Erlenmeyerkolben
|
||
['#A3195B', () => `<path ${st(2.6)} d="M14.2 6h11.6M16.5 6.5V15L8 29.5A3 3 0 0 0 10.6 34h18.8a3 3 0 0 0 2.6-4.5L23.5 15V6.5"/><path ${fo()} d="M11.6 24.5h16.8l3 5.1a2 2 0 0 1-1.7 3H10.3a2 2 0 0 1-1.7-3z"/><circle cx="21.5" cy="19.5" r="1.6" ${fo(W, 0.8)}/>`],
|
||
// Mikroskop
|
||
['#D0247F', () => `<rect x="15" y="4.5" width="6.4" height="15" rx="1.6" transform="rotate(-25 18 12)" ${fo()}/><path ${st(3)} d="M20.5 30.5a8 8 0 0 0 4.4-14.6M10 24.5h12M8.5 33.5h23"/><path ${st(3)} d="M16 24.5v9"/>`],
|
||
// Herz mit Pulslinie
|
||
['#8E1A6E', (c) => `<path ${fo()} d="M20 33.5C8.4 26 5 19.6 5 14.4a7.5 7.5 0 0 1 15-1.6 7.5 7.5 0 0 1 15 1.6c0 5.2-3.4 11.6-15 19.1z"/><path ${st(2.6, c)} d="M7.5 20.5h6l2.6-4.6 3.6 8.2 3-6 2.2 2.4h7.6"/>`],
|
||
// Heftpflaster
|
||
['#B5308A', (c) => `<g transform="rotate(-45 20 20)"><rect x="4.5" y="13.5" width="31" height="13" rx="6.5" ${fo()}/><rect x="15" y="13.5" width="10" height="13" fill="${c}"/><g ${fo()}><circle cx="18" cy="17.5" r="1.3"/><circle cx="22" cy="17.5" r="1.3"/><circle cx="18" cy="22.5" r="1.3"/><circle cx="22" cy="22.5" r="1.3"/></g></g>`],
|
||
// Erreger mit Stacheln
|
||
['#9B2C8C', (c) => {
|
||
const sp = Array.from({ length: 8 }, (_, i) => { const [x1, y1] = pt(20, 20, 8.5, i * 45), [x2, y2] = pt(20, 20, 12, i * 45); return `M${x1} ${y1}L${x2} ${y2}`; }).join('');
|
||
const kn = Array.from({ length: 8 }, (_, i) => { const [x, y] = pt(20, 20, 13.2, i * 45); return `<circle cx="${x}" cy="${y}" r="2.3"/>`; }).join('');
|
||
return `<path ${st(2.6)} d="${sp}"/><g ${fo()}>${kn}</g><circle cx="20" cy="20" r="9" ${fo()}/><g fill="${c}"><circle cx="17.4" cy="18" r="1.9"/><circle cx="22.8" cy="22.2" r="1.6"/></g>`;
|
||
}],
|
||
// Tablettenblister
|
||
['#C0266D', (c) => `<rect x="8" y="5.5" width="24" height="29" rx="4" ${fo()}/><g fill="${c}">${[12.5, 20, 27.5].flatMap((y) => [14.5, 25.5].map((x) => `<circle cx="${x}" cy="${y}" r="3.3"/>`)).join('')}</g>`],
|
||
// Tropfflasche
|
||
['#7E1D63', (c) => `<rect x="17" y="4" width="6" height="7" rx="3" ${fo()}/><rect x="15" y="10.4" width="10" height="3.6" rx="1" ${fo()}/><rect x="11.5" y="14.8" width="17" height="20" rx="3.6" ${fo()}/><path fill="${c}" d="${drop(20, 18.6, 4.4)}"/>`],
|
||
// Infusionsbeutel
|
||
['#B81E72', (c) => `<path ${fo()} d="M12 5.5h16a2 2 0 0 1 2 2V21a5 5 0 0 1-5 5H15a5 5 0 0 1-5-5V7.5a2 2 0 0 1 2-2z"/><path ${st(2.2, c)} d="M14.5 10.5h5M14.5 14.5h5M14.5 18.5h5"/><path ${st(2.4)} d="M20 26v9"/><rect x="17.6" y="28.4" width="4.8" height="4" rx="1.2" ${fo()}/>`],
|
||
// Petrischale mit Kolonien
|
||
['#E0367A', () => `<circle cx="20" cy="20" r="14" ${st(2.8)}/><circle cx="20" cy="20" r="10" ${fo(W, 0.3)}/><g ${fo()}><circle cx="15.5" cy="16" r="3"/><circle cx="24" cy="14.5" r="2.2"/><circle cx="23" cy="24" r="2.8"/><circle cx="14.5" cy="24.8" r="1.8"/></g>`],
|
||
// Antikörper (Y-Form)
|
||
['#A81E6E', () => `<path ${st(3.4, W, 0.6)} d="M16 22.6 9 15.6M24 22.6l7-7"/><path ${st(3.4)} d="M20 34.5V21L11 11.5M20 21l9-9.5"/><g ${fo()}><circle cx="10" cy="10.4" r="3"/><circle cx="30" cy="10.4" r="3"/></g>`],
|
||
// Spross mit zwei Blättern
|
||
['#B51D63', () => `<path ${st(3)} d="M20 34V18M12.5 34h15"/><path ${fo()} d="M20 21c-8 0-12-4-12-11 7 0 12 4 12 11z"/><path ${fo(W, 0.75)} d="M20 17.5c0-6.5 4-10.5 11-10.5 0 6.5-4 10.5-11 10.5z"/>`],
|
||
// Bakterie mit Geißeln
|
||
['#8A1F75', (c) => `<g transform="rotate(-30 20 20)"><path ${st(2.4, W, 0.75)} d="M30 20c2 0 2.6-2.2 4.6-2.2M10 20c-2 0-2.6 2.2-4.6 2.2"/><rect x="9" y="13.5" width="22" height="13" rx="6.5" ${fo()}/><g fill="${c}"><circle cx="15" cy="20.5" r="1.8"/><circle cx="20.4" cy="17.8" r="1.8"/><circle cx="25.4" cy="21.6" r="1.8"/></g></g>`],
|
||
// Becherglas mit Skala
|
||
['#D33A7E', (c) => `<path ${st(2.6)} d="M9.5 6.5h20M12 7v24a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7"/><path ${fo()} d="M12 18.5h16V31a3 3 0 0 1-3 3H15a3 3 0 0 1-3-3z"/><path ${st(2, c)} d="M22.5 23h5.5M24.5 28h3.5"/><path ${st(2.2, W, 0.7)} d="M23 11h5M23 14.6h3"/>`],
|
||
// Chromosom
|
||
['#9D2370', (c) => `<rect x="16.5" y="4.5" width="7" height="31" rx="3.5" transform="rotate(28 20 20)" ${fo()}/><rect x="16.5" y="4.5" width="7" height="31" rx="3.5" transform="rotate(-28 20 20)" ${fo(W, 0.75)}/><circle cx="20" cy="20" r="2.6" fill="${c}"/>`],
|
||
// Schutzschild mit Tropfen
|
||
['#C72A72', (c) => `<path ${fo()} d="M20 5.5 32 10v9c0 7.4-5 12.8-12 15.4C13 31.8 8 26.4 8 19v-9z"/><path fill="${c}" d="${drop(20, 11, 5)}"/>`],
|
||
// Röhrchen im Ständer
|
||
['#8F1B66', (c) => `<g ${fo()}><rect x="10" y="7" width="5" height="21" rx="2.5"/><rect x="17.5" y="10" width="5" height="18" rx="2.5" ${fo(W, 0.7)}/><rect x="25" y="5.5" width="5" height="22.5" rx="2.5"/></g><rect x="6" y="15" width="28" height="3.6" rx="1.2" ${fo()} stroke="${c}" stroke-width="1.6"/><path ${st(2.6)} d="M7.6 18.6V33M32.4 18.6V33M5 33.5h30"/>`],
|
||
// Zentrifuge
|
||
['#B42A7F', (c) => `<circle cx="20" cy="20" r="14" ${fo()}/><g fill="${c}">${Array.from({ length: 6 }, (_, i) => { const [x, y] = pt(20, 20, 8.6, i * 60); return `<circle cx="${x}" cy="${y}" r="2.6"/>`; }).join('')}</g><circle cx="20" cy="20" r="2.4" ${st(2, c)}/>`],
|
||
// Kugel-Stab-Molekül
|
||
['#CC2E78', () => `<path ${st(3)} d="M20 21 10 12M20 21l11-8M20 21v10"/><circle cx="20" cy="21" r="5.4" ${fo()}/><g ${fo(W, 0.8)}><circle cx="9.6" cy="11.6" r="3.8"/><circle cx="31" cy="12.6" r="3.8"/><circle cx="20" cy="31.4" r="3.6"/></g>`],
|
||
// Heilblüte
|
||
['#A0206E', (c) => `<g ${fo(W, 0.85)}>${Array.from({ length: 5 }, (_, i) => { const [x, y] = pt(20, 20, 7.6, i * 72); return `<circle cx="${x}" cy="${y}" r="5.8"/>`; }).join('')}</g><circle cx="20" cy="20" r="4" fill="${c}"/><circle cx="20" cy="20" r="2" ${fo()}/>`],
|
||
// Klemmbrett mit Verordnung
|
||
['#D12C6A', (c) => `<rect x="8.5" y="7" width="23" height="28" rx="3.2" ${fo()}/><rect x="14.5" y="4.4" width="11" height="5.6" rx="1.6" ${fo()} stroke="${c}" stroke-width="1.8"/><path ${st(2.4, c)} d="M13.5 17h13M13.5 22.5h13M13.5 28h7"/>`],
|
||
// Mitochondrium
|
||
['#93205F', (c) => `<g transform="rotate(-25 20 20)"><ellipse cx="20" cy="20" rx="15" ry="9" ${fo()}/><path ${st(2.2, c)} d="M8.5 20h2l1.8-4.5 3 9 3-9 3 9 3-9 3 9 1.8-4.5h2"/></g>`],
|
||
// Ampulle
|
||
['#C02F86', (c) => `<path ${fo()} d="M17 4.5h6v4.2l1.6 3V32a2 2 0 0 1-2 2h-5.2a2 2 0 0 1-2-2V11.7l1.6-3z"/><path ${st(2, c)} d="M17 9.6h6"/><rect x="15.4" y="17.5" width="9.2" height="9" fill="${c}"/><path ${st(2.2)} d="M18 22h4"/>`],
|
||
// Nervenzelle
|
||
['#AE2A6A', () => `<path ${st(2.6)} d="M20 20 9 9M9 9V5.6M9 9H5.6M20 20 32 10M32 10l-.6-4M20 20l-12 6M20 20l3.4 9.6 5 3M23.4 29.6 21 34.6"/><circle cx="20" cy="20" r="5.6" ${fo()}/>`],
|
||
],
|
||
|
||
// ---------------------------------------------------------------- Konsum: Orange und Koralle
|
||
consumer: [
|
||
// Einkaufswagen
|
||
['#EA580C', () => `<path ${fo(W, 0.4)} d="M11.2 13h20l-3.2 10.5H13.6z"/><path ${st(2.8)} d="M5.5 9h4l3.4 14.5h15.4l3.2-10.5H11.2"/><circle cx="14.5" cy="29" r="2.8" ${fo()}/><circle cx="26.5" cy="29" r="2.8" ${fo()}/>`],
|
||
// Kaffeetasse mit Dampf
|
||
['#C2410C', () => `<path ${fo()} d="M9 16h18v7a8 8 0 0 1-8 8h-2a8 8 0 0 1-8-8z"/><path ${st(2.6)} d="M27 18.5h1.5a3.5 3.5 0 0 1 0 7H27M7 34h24"/><path ${st(2, W, 0.7)} d="M14 12.5c-1.5-1.5 1.5-3 0-4.5M19 12.5c-1.5-1.5 1.5-3 0-4.5M24 12.5c-1.5-1.5 1.5-3 0-4.5"/>`],
|
||
// Geschenk mit Schleife
|
||
['#E4572E', (c) => `<rect x="7" y="13.5" width="26" height="6" rx="1.4" ${fo()}/><rect x="9" y="20.5" width="22" height="12.5" rx="1.4" ${fo(W, 0.85)}/><rect x="18.3" y="13.5" width="3.4" height="19.5" fill="${c}"/><path ${st(2.6)} d="M20 13c-2-4.5-7.5-5.2-7.5-2.2S16.5 13 20 13s7.5.8 7.5-2.2S22 8.5 20 13z"/>`],
|
||
// Preisschild (helle Platte)
|
||
['#FB923C', (c) => {
|
||
const d = '#431407';
|
||
return `<path fill="${d}" d="M8 10.5V18l13.5 13.5a2 2 0 0 0 2.8 0l7.2-7.2a2 2 0 0 0 0-2.8L18 8h-7.5A2.5 2.5 0 0 0 8 10.5z"/><circle cx="13" cy="13" r="2.1" fill="${c}"/><path ${st(1.8, d, 0.7)} d="M11.6 11.6C9 9 7.5 7 9.2 5.4"/>`;
|
||
}, true],
|
||
// Kleiderbügel
|
||
['#F2683C', () => `<path ${st(2.4)} d="M20 15v-2a3 3 0 1 0-3-3"/><path ${st(2.8)} d="M20 15 6.2 25.6a1.6 1.6 0 0 0 1 2.9h25.6a1.6 1.6 0 0 0 1-2.9z"/>`],
|
||
// Schere
|
||
['#DD5A12', (c) => `<path ${st(3)} d="M15 23.5 25.5 7M25 23.5 14.5 7"/><circle cx="12" cy="27.4" r="4.6" ${st(2.8)}/><circle cx="28" cy="27.4" r="4.6" ${st(2.8)}/><circle cx="20" cy="15.6" r="1.9" ${fo()}/><circle cx="20" cy="15.6" r=".8" fill="${c}"/>`],
|
||
// Apfel
|
||
['#F97316', () => `<path ${fo()} d="M20 13.5c-2-1.5-4-2-6-2-4 0-6.5 3.6-6.5 8 0 6 4 13 8 13 1.6 0 2.6-.8 4.5-.8s2.9.8 4.5.8c4 0 8-7 8-13 0-4.4-2.5-8-6.5-8-2 0-4 .5-6 2z"/><path ${fo()} d="M21.2 11.2c0-3 2-5.2 5.2-5.6 0 3-2 5.2-5.2 5.6z"/><path ${st(1.8)} d="M20 13.5c0-2 .3-3.5 1-5"/>`],
|
||
// Einkaufstüte mit Henkeln
|
||
['#E8590C', (c) => `<path ${st(2.8)} d="M14.5 17V11.5a5.5 5.5 0 0 1 11 0V17"/><path ${fo()} d="M8.5 15h23l1.6 18.5H6.9z"/><circle cx="14.5" cy="19" r="1.6" fill="${c}"/><circle cx="25.5" cy="19" r="1.6" fill="${c}"/>`],
|
||
// Turnschuh
|
||
['#C2410C', (c) => `<path ${fo()} d="M6 12.5h5.5c1 3 3.5 4.5 6.5 4.5l2.5-1.5c2.5 3 6 4.5 10 5.3a3.5 3.5 0 0 1 3 3.5V27H6z"/><rect x="5" y="28.6" width="30" height="4.2" rx="2.1" ${fo(W, 0.7)}/><path ${st(2.2, c)} d="M15.5 22.5l2-2.5M20 23l2-2.5"/>`],
|
||
// Lippenstift
|
||
['#E4572E', () => `<rect x="13" y="22" width="14" height="12" rx="1.6" ${fo()}/><rect x="14.5" y="17.6" width="11" height="3.4" rx=".8" ${fo(W, 0.75)}/><path ${fo()} d="M15.5 16.6V11l9-5.5v11.1z"/>`],
|
||
// Parfümflakon
|
||
['#F2683C', (c) => `<rect x="10" y="16" width="20" height="18" rx="5" ${fo()}/><rect x="17" y="11.5" width="6" height="5" ${fo(W, 0.8)}/><rect x="15" y="5.5" width="10" height="6" rx="1.4" ${fo()}/><circle cx="20" cy="25" r="4" ${st(2.4, c)}/>`],
|
||
// Sonnenbrille
|
||
['#DD5A12', () => `<path ${st(2.6)} d="M4.5 14.5h31M17.5 17.5c1.5-1.4 3.5-1.4 5 0"/><path ${fo()} d="M5 14.5h12.5V19a6 6 0 0 1-6 6H10a5 5 0 0 1-5-5z"/><path ${fo()} d="M22.5 14.5H35V20a5 5 0 0 1-5 5h-1.5a6 6 0 0 1-6-6z"/>`],
|
||
// Armbanduhr
|
||
['#D9480F', (c) => `<rect x="15" y="4.5" width="10" height="31" rx="2.5" ${fo(W, 0.6)}/><circle cx="20" cy="20" r="10" ${fo()}/><path ${st(2.4, c)} d="M20 14v6l3.8 2.6"/>`],
|
||
// Eistüte mit drei Kugeln
|
||
['#F06A2A', (c) => `<path ${fo(W, 0.8)} d="M12.5 21h15L20 36z"/><circle cx="15" cy="16.5" r="5.5" ${fo()}/><circle cx="25" cy="16.5" r="5.5" ${fo()}/><circle cx="20" cy="10.5" r="5.5" ${fo()}/><path ${st(2, c)} d="M11 21h18"/>`],
|
||
// Cupcake mit Kirsche
|
||
['#CF4F1D', (c) => `<path ${fo()} d="M10.5 21.5h19L27 34H13z"/><path ${st(2, c)} d="M16.3 24l.8 7.5M20 24v7.5M23.7 24l-.8 7.5"/><path ${fo(W, 0.75)} d="M9 20.5a5 5 0 0 1 3.5-6.3 7.6 7.6 0 0 1 15 0 5 5 0 0 1 3.5 6.3z"/><circle cx="20" cy="8.4" r="2.8" ${fo()}/>`],
|
||
// Weinglas
|
||
['#B93A0A', () => `<path ${st(2.6)} d="M12.3 5.5h15.4V12a7.7 7.7 0 0 1-15.4 0z"/><path ${fo()} d="M12.3 12h15.4a7.7 7.7 0 0 1-15.4 0z"/><path ${st(2.8)} d="M20 20v11.5M14 33.5h12"/>`],
|
||
// T-Shirt mit Streifen
|
||
['#EA580C', (c) => `<path ${fo()} d="M14 7l-9 5 3 7 4-2v16h16V17l4 2 3-7-9-5c-.5 2.5-3 4-6 4s-5.5-1.5-6-4z"/><path ${st(2.4, c)} d="M12 23.5h16"/>`],
|
||
// Diamant
|
||
['#E2622F', (c) => `<path ${fo()} d="M12 8.5h16l6.5 8.5L20 33.5 5.5 17z"/><path ${st(2, c)} d="M5.5 17h29M12 8.5l3.5 8.5L20 8.5l4.5 8.5L28 8.5M15.5 17 20 33l4.5-16"/>`],
|
||
// Ring mit Stein
|
||
['#C2410C', () => `<circle cx="20" cy="24.5" r="9.3" ${st(3.6)}/><path ${fo()} d="M14.5 9.5 17.3 5.5h5.4l2.8 4L20 15z"/>`],
|
||
// Bonbon im Papier
|
||
['#F97316', (c) => `<path ${fo(W, 0.75)} d="M14 16.5 5 11.5v17l9-5zM26 16.5l9-5v17l-9-5z"/><circle cx="20" cy="20" r="8" ${fo()}/><path ${st(2.2, c)} d="M16.5 14.5c-2.3 3.6-2.3 7.4 0 11M23.5 14.5c2.3 3.6 2.3 7.4 0 11"/>`],
|
||
// Handtasche
|
||
['#DD5A12', (c) => `<path ${st(2.8)} d="M13.5 16c0-6 2.5-9 6.5-9s6.5 3 6.5 9"/><path ${fo()} d="M7 15.5h26L31 33H9z"/><rect x="16.5" y="19.5" width="7" height="4.2" rx="1.2" fill="${c}"/>`],
|
||
// Kochtopf mit Deckel
|
||
['#E8590C', () => `<path ${fo()} d="M9 17.5h22V28a5 5 0 0 1-5 5H14a5 5 0 0 1-5-5z"/><path ${st(2.8)} d="M4.5 20.5H9M31 20.5h4.5M8 13.5h24"/><rect x="17" y="8.5" width="6" height="3.4" rx="1.2" ${fo()}/>`],
|
||
// Pizzastück
|
||
['#D9480F', (c) => `<path ${fo()} d="M9.5 13.5c7-3 14-3 21 0L20 35z"/><path ${st(3.4, W, 0.7)} d="M8 9.8c8-4 16-4 24 0"/><g fill="${c}"><circle cx="16" cy="17.5" r="2.2"/><circle cx="23.8" cy="18.2" r="2"/><circle cx="19.6" cy="25" r="2"/></g>`],
|
||
// Sofa
|
||
['#F2683C', (c) => `<rect x="9" y="10.5" width="22" height="11" rx="3" ${fo(W, 0.7)}/><rect x="10" y="20.5" width="20" height="8.5" rx="1.5" ${fo()}/><path ${st(2.2, c)} d="M20 21v7.5"/><rect x="5" y="16.5" width="6" height="12.5" rx="2.5" ${fo()}/><rect x="29" y="16.5" width="6" height="12.5" rx="2.5" ${fo()}/><path ${st(2.6)} d="M8 29v3.5M32 29v3.5"/>`],
|
||
// Herz mit Glanz
|
||
['#E4572E', (c) => `<path ${fo()} d="M20 33.5C10 26 5.5 21 5.5 15.2a7.2 7.2 0 0 1 14.5-2.4 7.2 7.2 0 0 1 14.5 2.4c0 5.8-4.5 10.8-14.5 18.3z"/><path ${st(2.4, c)} d="M10 15.5a4 4 0 0 1 3.5-3.8"/>`],
|
||
// Kinderwagen
|
||
['#CF4F1D', () => `<path ${fo(W, 0.7)} d="M19 17V6.5A10.5 10.5 0 0 1 29.5 17z"/><path ${fo()} d="M7.5 17h23a11.5 8.5 0 0 1-23 0z"/><path ${st(2.6)} d="M30.5 17l2.5-6h3"/><circle cx="12" cy="30.6" r="3" ${fo()}/><circle cx="26" cy="30.6" r="3" ${fo()}/>`],
|
||
// Spielwürfel
|
||
['#B93A0A', (c) => `<g transform="rotate(12 20 20)"><rect x="8" y="8" width="24" height="24" rx="5" ${fo()}/><g fill="${c}"><circle cx="14" cy="14" r="2.4"/><circle cx="26" cy="14" r="2.4"/><circle cx="20" cy="20" r="2.4"/><circle cx="14" cy="26" r="2.4"/><circle cx="26" cy="26" r="2.4"/></g></g>`],
|
||
// Luftballon
|
||
['#F06A2A', (c) => `<ellipse cx="20" cy="15" rx="9.2" ry="10.5" ${fo()}/><path ${fo()} d="M17.8 25.2h4.4L20 28.4z"/><path ${st(2.2, W, 0.75)} d="M20 28.5c-2.6 2-2.6 4 0 6.5"/><path ${st(2.2, c, 0.7)} d="M14.6 12.5a6 6 0 0 1 3.4-4.6"/>`],
|
||
// Becher mit Strohhalm
|
||
['#EA580C', (c) => `<path ${st(2.6)} d="M22 13l2.2-8 5.6-1.2"/><path ${fo()} d="M11 14.5h18l-2.2 19H13.2z"/><rect x="9.5" y="11.5" width="21" height="4" rx="1.6" ${fo()}/><path ${st(2.4, c)} d="M12.6 22.5h14.8"/>`],
|
||
// Föhn
|
||
['#E2622F', (c) => `<rect x="4.5" y="12.8" width="12" height="8.4" rx="1.6" ${fo(W, 0.8)}/><path ${st(4.8)} d="M24 24.5l2.6 9"/><circle cx="23.5" cy="17" r="8.6" ${fo()}/><circle cx="23.5" cy="17" r="3.2" fill="${c}"/>`],
|
||
// Knopf mit vier Löchern
|
||
['#D9480F', (c) => `<circle cx="20" cy="20" r="13.5" ${fo()}/><circle cx="20" cy="20" r="9.6" ${st(2, c, 0.55)}/><g fill="${c}"><circle cx="16.7" cy="16.7" r="2.1"/><circle cx="23.3" cy="16.7" r="2.1"/><circle cx="16.7" cy="23.3" r="2.1"/><circle cx="23.3" cy="23.3" r="2.1"/></g>`],
|
||
// Fliege
|
||
['#C2410C', () => `<path ${fo(W, 0.8)} d="M5.5 13.5a1.5 1.5 0 0 1 2.2-1.3L17 17.5v5l-9.3 5.3a1.5 1.5 0 0 1-2.2-1.3zM34.5 13.5a1.5 1.5 0 0 0-2.2-1.3L23 17.5v5l9.3 5.3a1.5 1.5 0 0 0 2.2-1.3z"/><rect x="16" y="15.5" width="8" height="9" rx="2.2" ${fo()}/>`],
|
||
],
|
||
|
||
// ---------------------------------------------------------------- Industrie: warmes Grau
|
||
industry: [
|
||
// Fabrik mit Schornstein
|
||
['#57534E', (c) => `<path ${fo()} d="M6 33V19.5l7 4.5v-4.5l7 4.5v-4.5l7 4.5V9h5v24z"/><path ${st(2, c)} d="M10 28.5h3M17 28.5h3M24 28.5h3"/><circle cx="29.5" cy="5.6" r="1.8" ${fo(W, 0.55)}/>`],
|
||
// Schraubenschlüssel
|
||
['#44403C', (c) => `<g transform="rotate(45 20 20)"><circle cx="20" cy="12" r="6.6" ${fo()}/><rect x="17.6" y="3.5" width="4.8" height="8.6" rx=".8" fill="${c}"/><rect x="17.5" y="15" width="5" height="19" rx="2.5" ${fo()}/><circle cx="20" cy="30.6" r="1.3" fill="${c}"/></g>`],
|
||
// Sechskantmutter
|
||
['#78716C', (c) => `<path ${fo()} d="${poly(20, 20, 13, 6, 30)}"/><circle cx="20" cy="20" r="5.4" fill="${c}"/><circle cx="20" cy="20" r="8.6" ${st(1.4, c, 0.45)}/>`],
|
||
// Turmdrehkran
|
||
['#292524', () => `<path ${st(2.6)} d="M7 10.5h27M13 10.5V33M9 33h8"/><path ${st(1.4, W, 0.7)} d="M13 6 33 10.5M13 6 7.5 10.5M13 14l3 3-3 3 3 3-3 3 3 3"/><path ${st(1.6)} d="M28.5 10.5V20"/><rect x="5.5" y="10.5" width="4" height="4" rx=".8" ${fo()}/><rect x="25.5" y="20" width="6" height="5" rx="1" ${fo()}/>`],
|
||
// zwei Zahnräder
|
||
['#5C534A', () => `<path ${fo()} fill-rule="evenodd" d="${gear(16, 23, 10.5, 8, 9, 3.2)}"/><path ${fo(W, 0.72)} fill-rule="evenodd" d="${gear(28.5, 11.5, 6.6, 5, 7, 1.9, 12)}"/>`],
|
||
// Kugellager
|
||
['#6B6358', () => `<circle cx="20" cy="20" r="13.2" ${st(3.2)}/><circle cx="20" cy="20" r="4.6" ${st(3.2)}/>${Array.from({ length: 8 }, (_, i) => { const [x, y] = pt(20, 20, 8.9, i * 45 + 22.5); return `<circle cx="${x}" cy="${y}" r="2.2" ${fo(W, i % 2 ? 0.75 : 1)}/>`; }).join('')}`],
|
||
// Förderband mit Kisten
|
||
['#3F3A36', () => `<rect x="9" y="13" width="9.5" height="9.5" rx="1.2" ${fo()}/><rect x="21" y="16" width="8" height="6.5" rx="1.2" ${fo(W, 0.72)}/><rect x="5" y="24.5" width="30" height="7" rx="3.5" ${st(2.4)}/><g ${fo()}><circle cx="9.5" cy="28" r="1.5"/><circle cx="20" cy="28" r="1.5"/><circle cx="30.5" cy="28" r="1.5"/></g><path ${st(2.2, W, 0.6)} d="M24 9h8M29 6l3 3-3 3"/>`],
|
||
// Hammer
|
||
['#4A4541', () => `<g transform="rotate(-40 20 20)"><rect x="17.7" y="13" width="4.6" height="23" rx="2" ${fo(W, 0.8)}/><path ${fo()} d="M9 5.5h17.5l4 4-4 4H9z"/></g>`],
|
||
// Amboss
|
||
['#57534E', () => `<path ${fo()} d="M4.5 11h23c4 0 7 1.6 8 4.6h-8.2c-1.1 2.6-3.1 4.1-5.6 4.6v4.3h-8v-4.3C9.6 19.4 6.6 16.4 4.5 11z"/><rect x="10" y="28.5" width="16" height="5" rx="1" ${fo()}/><rect x="14" y="24" width="8" height="5" ${fo(W, 0.7)}/>`],
|
||
// Schraube
|
||
['#44403C', (c) => `<path ${fo()} d="M10.5 5.5h19v6.5h-19z"/><rect x="15.5" y="12" width="9" height="20" ${fo()}/><path ${fo()} d="M15.5 31.5h9L20 36z"/><path ${st(2, c)} d="M15.5 17l9-2.2M15.5 22l9-2.2M15.5 27l9-2.2"/>`],
|
||
// Kolben mit Pleuel
|
||
['#625B55', (c) => `<path ${st(4)} d="M20 18v7"/><circle cx="20" cy="29" r="5" ${st(3)}/><rect x="11" y="5.5" width="18" height="14" rx="2" ${fo()}/><path ${st(2, c)} d="M11 9.4h18M11 13.2h18"/><circle cx="20" cy="16.8" r="1.6" fill="${c}"/>`],
|
||
// Roboterarm
|
||
['#36312D', (c) => `<path ${st(4)} d="M13 30v-8l9-9 7 4"/><rect x="7" y="30" width="12" height="4.5" rx="1.2" ${fo()}/><circle cx="13" cy="22" r="3.4" ${fo()}/><circle cx="22" cy="13" r="3.4" ${fo()}/><g fill="${c}"><circle cx="13" cy="22" r="1.2"/><circle cx="22" cy="13" r="1.2"/></g><path ${st(2.6)} d="M29 13.5v7.5M29 13.5h4.5M29 21h4.5"/>`],
|
||
// drei Silos
|
||
['#5C534A', (c) => `<path ${fo()} d="M5.5 33V14a4.5 4.5 0 0 1 9 0v19z"/><path ${fo(W, 0.72)} d="M15.5 33V10a4.5 4.5 0 0 1 9 0v23z"/><path ${fo()} d="M25.5 33V16a4.5 4.5 0 0 1 9 0v17z"/><path ${st(2, c)} d="M5.5 21h9M25.5 23h9"/>`],
|
||
// Zange
|
||
['#7A6F66', (c) => `<path ${st(3)} d="M17 5.5l2.6 13.5M23 5.5l-2.6 13.5"/><path ${st(4.4)} d="M18.5 22.5 11.5 34M21.5 22.5l7 11.5"/><circle cx="20" cy="20.5" r="3.2" ${fo()}/><circle cx="20" cy="20.5" r="1.2" fill="${c}"/>`],
|
||
// Anschlagwinkel
|
||
['#524A43', (c) => `<path ${fo()} d="M7 5.5h7.5v19h19.5V32H7z"/><path ${st(2, c)} d="M7 10.5h3.5M7 15.5h3.5M7 20.5h3.5M20 32v-3.5M25 32v-3.5M30 32v-3.5"/>`],
|
||
// Doppel-T-Träger
|
||
['#3F3A36', () => `<path ${fo(W, 0.5)} d="M27 7l5-3v5l-5 3zM20.5 12l5-3v16l-5 3zM27 28l5-3v5l-5 3z"/><path ${fo()} d="M9 7h18v5h-6.5v16H27v5H9v-5h6.5V12H9z"/>`],
|
||
// Kettenglieder
|
||
['#665E56', () => `<rect x="5" y="19" width="18" height="10" rx="5" ${st(3.2)} transform="rotate(-35 14 24)"/><rect x="17" y="11" width="18" height="10" rx="5" ${st(3.2, W, 0.72)} transform="rotate(-35 26 16)"/>`],
|
||
// Turbinenrad
|
||
['#57534E', (c) => {
|
||
const blades = Array.from({ length: 7 }, (_, i) => { const a = i * 360 / 7; const [x1, y1] = pt(20, 20, 4.5, a), [x2, y2] = pt(20, 20, 9.5, a + 10), [x3, y3] = pt(20, 20, 12.2, a + 42); return `M${x1} ${y1}Q${x2} ${y2} ${x3} ${y3}`; }).join('');
|
||
return `<circle cx="20" cy="20" r="14" ${st(2.4)}/><path ${st(2.8)} d="${blades}"/><circle cx="20" cy="20" r="4.4" ${fo()}/><circle cx="20" cy="20" r="1.5" fill="${c}"/>`;
|
||
}],
|
||
// Kranhaken
|
||
['#44403C', (c) => `<path ${st(2.4)} d="M20 3.5V9"/><rect x="15" y="8.5" width="10" height="7.5" rx="2" ${fo()}/><circle cx="20" cy="12.2" r="1.4" fill="${c}"/><path ${st(3.8)} d="M20 16v9a6 6 0 0 1-12 0v-1"/><path ${fo()} d="M5 24.5 8 19.5l3 5z"/>`],
|
||
// Spiralbohrer
|
||
['#36312D', (c) => `<g transform="rotate(40 20 20)"><rect x="16.5" y="3.5" width="7" height="10" rx="1" ${fo(W, 0.72)}/><path ${fo()} d="M16.5 13.5h7v15L20 36l-3.5-7.5z"/><path ${st(2, c)} d="M16.5 18l7-3M16.5 23l7-3M16.5 28l7-3"/></g>`],
|
||
// Kreissägeblatt
|
||
['#625B55', (c) => `<path ${fo()} d="${star(20, 20, 14.5, 14, 0.82)}"/><circle cx="20" cy="20" r="8" ${st(1.8, c, 0.5)}/><circle cx="20" cy="20" r="3.4" fill="${c}"/>`],
|
||
// Manometer
|
||
['#4A4541', (c) => `<path ${st(3.6)} d="M20 29v6M15 35h10"/><circle cx="20" cy="17.5" r="12" ${fo()}/><path ${st(2, c, 0.6)} d="M12.4 22.4a8.6 8.6 0 1 1 15.2 0"/><path ${st(2.6, c)} d="M20 17.5l5-5"/><circle cx="20" cy="17.5" r="2.2" fill="${c}"/>`],
|
||
// Gabelstapler
|
||
['#5C534A', (c) => `<path ${st(2.6)} d="M26 6v23M26 28h9"/><path ${fo()} d="M6 29V18h6.5l3-7.5H23V29z"/><path fill="${c}" d="M16.8 17l2-4.4H21V17z"/><circle cx="11" cy="29.5" r="3.6" ${fo()} stroke="${c}" stroke-width="1.6"/><circle cx="20" cy="29.5" r="3.6" ${fo()} stroke="${c}" stroke-width="1.6"/>`],
|
||
// Schutzhelm
|
||
['#7A6F66', (c) => `<path ${fo()} d="M8 24.5a12 12 0 0 1 24 0z"/><rect x="4.5" y="24" width="31" height="4.6" rx="2.2" ${fo()}/><path ${st(2.6, c)} d="M20 12.5v8"/>`],
|
||
// Walzwerk
|
||
['#3F3A36', (c) => `<path ${fo(W, 0.75)} d="M4 17.2h11.5l4 1.6H36v2.4H19.5l-4 1.6H4z"/><circle cx="20" cy="11" r="6.2" ${fo()}/><circle cx="20" cy="29" r="6.2" ${fo()}/><g fill="${c}"><circle cx="20" cy="11" r="1.8"/><circle cx="20" cy="29" r="1.8"/></g>`],
|
||
// Druckfeder
|
||
['#524A43', () => `<rect x="9" y="4.5" width="22" height="3.6" rx="1.2" ${fo()}/><rect x="9" y="31.9" width="22" height="3.6" rx="1.2" ${fo()}/><path ${st(2.8)} d="M13 11l14 3.6-14 3.6 14 3.6-14 3.6 14 3.6"/>`],
|
||
// Stahlcoil
|
||
['#665E56', (c) => `<path ${fo(W, 0.6)} d="M12 8h14v24H12a5 12 0 0 1 0-24z"/><ellipse cx="26" cy="20" rx="6.2" ry="12" ${fo()}/><ellipse cx="26" cy="20" rx="2.4" ry="4.8" fill="${c}"/>`],
|
||
// Schraubendreher
|
||
['#44403C', (c) => `<g transform="rotate(45 20 20)"><rect x="15.5" y="3" width="9" height="15" rx="3.6" ${fo()}/><path ${st(1.8, c, 0.6)} d="M18.5 6v9M21.5 6v9"/><rect x="18.3" y="18" width="3.4" height="13" ${fo(W, 0.8)}/><path ${fo(W, 0.8)} d="M18.3 31h3.4L21 36h-2z"/></g>`],
|
||
// Messschieber
|
||
['#57534E', (c) => `<rect x="4.5" y="9" width="31" height="6" rx="1" ${fo()}/><path ${st(2, c)} d="M9 9v3M13 9v2M17 9v3M21 9v2M25 9v3M29 9v2"/><path ${fo()} d="M6 15h5.5v16L6 26z"/><path ${fo(W, 0.72)} d="M19 6.5h8V21h-3v10l-5-5z"/>`],
|
||
// Werkstück-Würfel
|
||
['#4A4541', () => `<path ${fo()} d="M20 5 33 12.5 20 20 7 12.5z"/><path ${fo(W, 0.75)} d="M7 12.5 20 20v15L7 27.5z"/><path ${fo(W, 0.5)} d="M33 12.5 20 20v15l13-7.5z"/>`],
|
||
// Zahnstange mit Ritzel
|
||
['#625B55', () => {
|
||
const teeth = Array.from({ length: 8 }, (_, i) => `<rect x="${f2(5.6 + i * 3.7)}" y="24" width="2" height="3.4" rx=".4"/>`).join('');
|
||
return `<path ${fo()} fill-rule="evenodd" d="${gear(20, 13.5, 9, 7, 10, 2.6)}"/><g ${fo(W, 0.78)}>${teeth}<rect x="4.5" y="27" width="31" height="6" rx="1.2"/></g>`;
|
||
}],
|
||
// Gießpfanne mit Barren
|
||
['#36312D', (c) => `<g transform="rotate(-25 15 15)"><path ${fo()} d="M5 7.5h19l-2.2 14.5H7.2z"/><path ${st(2.4, c)} d="M5.8 12.5h17.6"/></g><path ${fo(W, 0.78)} d="${drop(26.8, 18.5, 2.6)}"/><rect x="12" y="28.5" width="22" height="5.5" rx="1.2" ${fo()}/>`],
|
||
],
|
||
|
||
// ---------------------------------------------------------------- Verteidigung: Oliv
|
||
defense: [
|
||
// Radarschirm
|
||
['#4D5B2E', () => `<circle cx="20" cy="20" r="12.6" ${st(2.2, W, 0.5)}/><circle cx="20" cy="20" r="7.4" ${st(1.6, W, 0.45)}/><path ${fo(W, 0.32)} d="M20 20V7.4a12.6 12.6 0 0 1 10.9 6.3z"/><path ${st(2.6)} d="M20 20l10.9-6.3"/><circle cx="20" cy="20" r="2.2" ${fo()}/><circle cx="26" cy="25" r="2" ${fo()}/>`],
|
||
// Satellit
|
||
['#3F4A26', (c) => `<g transform="rotate(-35 20 20)"><rect x="4.5" y="15.5" width="9.5" height="9" rx=".8" ${fo(W, 0.85)}/><rect x="26" y="15.5" width="9.5" height="9" rx=".8" ${fo(W, 0.85)}/><path ${st(1.2, c)} d="M9.25 15.5v9M4.5 20h9.5M30.75 15.5v9M26 20h9.5"/><path ${st(1.8)} d="M14 20h2.5M23.5 20H26"/><rect x="16.5" y="14.5" width="7" height="11" rx="1.4" ${fo()}/><path ${st(2)} d="M20 25.5v3"/><path ${fo()} d="M16.2 29h7.6a3.8 3.8 0 0 1-7.6 0z"/></g>`],
|
||
// geteiltes Schild mit Stern
|
||
['#556B2F', (c) => `<path ${fo(W, 0.6)} d="M20 6 31.5 10v8.5c0 7.2-4.8 12.6-11.5 14.8-6.7-2.2-11.5-7.6-11.5-14.8V10z"/><path ${fo()} d="M20 6v27.3c-6.7-2.2-11.5-7.6-11.5-14.8V10z"/><path fill="${c}" d="${star(20, 18.4, 6.4)}"/>`],
|
||
// Dienstgrad-Winkel
|
||
['#5A5A3C', () => `<path ${st(3.6)} d="M9.5 16.5 20 9l10.5 7.5"/><path ${st(3.6, W, 0.78)} d="M9.5 23.5 20 16l10.5 7.5"/><path ${st(3.6, W, 0.55)} d="M9.5 30.5 20 23l10.5 7.5"/>`],
|
||
// Kokarde mit Stern
|
||
['#364026', (c) => `<circle cx="20" cy="20" r="13" ${fo()}/><circle cx="20" cy="20" r="9.2" fill="${c}"/><path ${fo()} d="${star(20, 20.6, 7)}"/>`],
|
||
// Fadenkreuz
|
||
['#6B7240', () => `<circle cx="20" cy="20" r="11" ${st(2.8)}/><path ${st(2.8)} d="M20 5v7.5M20 27.5V35M5 20h7.5M27.5 20H35"/><circle cx="20" cy="20" r="2.4" ${fo()}/>`],
|
||
// Vorhängeschloss
|
||
['#2F3A22', (c) => `<path ${st(3.2)} d="M14 18v-4a6 6 0 0 1 12 0v4"/><rect x="9.5" y="17.5" width="21" height="15.5" rx="3" ${fo()}/><circle cx="20" cy="23.6" r="2.3" fill="${c}"/><path ${st(2.4, c)} d="M20 25v3.6"/>`],
|
||
// Schwingen mit Kreis
|
||
['#48552A', (c) => `<path ${fo()} d="M15.5 14H4.5l1.8 3.2h9.2zM15.5 19H7.5l1.8 3.2h6.2zM15.5 24h-5l1.8 3.2h3.2zM24.5 14h11l-1.8 3.2h-9.2zM24.5 19h8l-1.8 3.2h-6.2zM24.5 24h5l-1.8 3.2h-3.2z"/><circle cx="20" cy="20" r="5.6" ${fo()}/><circle cx="20" cy="20" r="2" fill="${c}"/>`],
|
||
// Kompassrose
|
||
['#556B2F', (c) => `<path ${fo(W, 0.6)} d="${star(20, 20, 10, 4, 0.4)}" transform="rotate(45 20 20)"/><path ${fo()} d="${star(20, 20, 15.5, 4, 0.26)}"/><circle cx="20" cy="20" r="2.2" fill="${c}"/>`],
|
||
// Fallschirm
|
||
['#3F4A26', () => `<path ${st(2)} d="M6 17.5 17.5 29M34 17.5 22.5 29M20 17v11"/><path ${fo()} d="M5 17.5a15 12 0 0 1 30 0c-2.5-1.6-5-1.6-7.5 0-2.5-1.6-5-1.6-7.5 0-2.5-1.6-5-1.6-7.5 0-2.5-1.6-5-1.6-7.5 0z"/><rect x="16.5" y="28" width="7" height="6.5" rx="1.4" ${fo()}/>`],
|
||
// Gefechtshelm
|
||
['#5E6638', (c) => `<path ${st(2.4, W, 0.7)} d="M10.5 27c2 4.5 5.5 6.5 9.5 6.5s7.5-2 9.5-6.5"/><path ${fo()} d="M5.5 26c0-11 6.5-18 14.5-18s14.5 7 14.5 18c0 1.5-1 2.5-2.5 2.5H8c-1.5 0-2.5-1-2.5-2.5z"/><path ${st(2.4, c, 0.75)} d="M9.5 21.5h21"/>`],
|
||
// Fernglas
|
||
['#4D5B2E', (c) => `<rect x="8" y="7.5" width="7" height="8" rx="1.5" ${fo(W, 0.75)}/><rect x="25" y="7.5" width="7" height="8" rx="1.5" ${fo(W, 0.75)}/><rect x="15" y="15.5" width="10" height="6" rx="1" ${fo(W, 0.75)}/><rect x="5.5" y="14" width="12" height="19" rx="4.6" ${fo()}/><rect x="22.5" y="14" width="12" height="19" rx="4.6" ${fo()}/><circle cx="11.5" cy="27.4" r="2.6" fill="${c}"/><circle cx="28.5" cy="27.4" r="2.6" fill="${c}"/>`],
|
||
// Rakete
|
||
['#3B4528', (c) => `<path ${fo(W, 0.6)} d="M16.5 28.5h7L20 36z"/><path ${fo(W, 0.75)} d="M14 19.5l-5 6.5v5l5-3zM26 19.5l5 6.5v5l-5-3z"/><path ${fo()} d="M20 4c4 3.5 6 8.5 6 14v10H14V18c0-5.5 2-10.5 6-14z"/><circle cx="20" cy="15.5" r="2.7" fill="${c}"/>`],
|
||
// Deltaflügler
|
||
['#617036', () => `<path ${fo()} d="M20 4l2.6 8.5L34.5 28v3.2l-11.7-3.4-.8 4.2h-4l-.8-4.2-11.7 3.4V28l11.9-15.5z"/>`],
|
||
// Drohne
|
||
['#525E30', (c) => `<path ${st(2.8)} d="M10.5 10.5l19 19M29.5 10.5l-19 19"/><g ${st(2.4)}><circle cx="9.5" cy="9.5" r="5"/><circle cx="30.5" cy="9.5" r="5"/><circle cx="9.5" cy="30.5" r="5"/><circle cx="30.5" cy="30.5" r="5"/></g><rect x="15" y="15" width="10" height="10" rx="2.4" ${fo()}/><circle cx="20" cy="20" r="1.8" fill="${c}"/>`],
|
||
// Kettenfahrzeug
|
||
['#364026', (c) => `<path ${st(2.8)} d="M25 16.5h10"/><path ${fo()} d="M13 17.5a4 4 0 0 1 4-4h6a4 4 0 0 1 4 4z"/><path ${fo(W, 0.8)} d="M8 23.5l2.5-5h19l2.5 5z"/><rect x="5" y="23.5" width="30" height="9" rx="4.5" ${fo()}/><g fill="${c}"><circle cx="10" cy="28" r="1.9"/><circle cx="15" cy="28" r="1.9"/><circle cx="20" cy="28" r="1.9"/><circle cx="25" cy="28" r="1.9"/><circle cx="30" cy="28" r="1.9"/></g>`],
|
||
// Anker
|
||
['#556B2F', () => `<circle cx="20" cy="7.6" r="3.2" ${st(2.6)}/><path ${st(3)} d="M20 11V33M14 16h12M8 23.5c0 5.8 5 9.5 12 9.5s12-3.7 12-9.5"/><path ${fo()} d="M5 25.5 8 20.5l3.2 4.6zM35 25.5l-3-5-3.2 4.6z"/>`],
|
||
// Erkennungsmarke an Kugelkette
|
||
['#4D5B2E', (c) => `<path ${st(2.4, W, 0.7)} stroke-dasharray=".1 3.4" d="M17 8.5C11 7 6.5 12 7 20c.4 6 2.5 10 5 13"/><g transform="rotate(15 21 21)"><rect x="13.5" y="8.5" width="16" height="24" rx="6" ${fo()}/><circle cx="21.5" cy="12.8" r="1.8" fill="${c}"/><path ${st(2.2, c)} d="M17.5 19.5h8M17.5 24h8M17.5 28.5h5"/></g>`],
|
||
// Funkgerät
|
||
['#2F3A22', (c) => `<path ${st(2.8)} d="M15 12.5V4"/><rect x="21.5" y="8.5" width="4.4" height="4.4" rx="1" ${fo(W, 0.75)}/><rect x="10.5" y="12" width="19" height="22.5" rx="3" ${fo()}/><path ${st(2.2, c)} d="M14.5 17.5h11M14.5 21.5h11M14.5 25.5h11"/><circle cx="20" cy="30.2" r="1.6" fill="${c}"/>`],
|
||
// Speerspitze
|
||
['#5A5A3C', (c) => `<path ${st(3.4)} d="M20 25v10.5"/><rect x="16" y="23.5" width="8" height="3.4" rx="1" ${fo(W, 0.8)}/><path ${fo()} d="M20 3.5c4 5 6.2 10 6.2 14.5 0 3-2 4.8-6.2 6.2-4.2-1.4-6.2-3.2-6.2-6.2 0-4.5 2.2-9.5 6.2-14.5z"/><path ${st(2.2, c)} d="M20 9.5v11"/>`],
|
||
// Wachturm
|
||
['#48552A', (c) => `<path ${st(2, W, 0.7)} d="M13.4 21 26 33M26.6 21 14 33"/><path ${st(2.6)} d="M13 19l-3 15M27 19l3 15M12 27h16"/><path ${fo()} d="M9.5 10.5 20 4l10.5 6.5z"/><rect x="11" y="11" width="18" height="8.5" rx="1" ${fo()}/><rect x="14" y="13.2" width="12" height="3.8" rx=".6" fill="${c}"/>`],
|
||
// Zinnenmauer mit Tor
|
||
['#3F4A26', (c) => `<path ${fo()} d="M5 33V11h4.8v5h3.6v-5h4.8v5h3.6v-5h4.8v5h3.6v-5H35v22z"/><path fill="${c}" d="M15.5 33v-6.5a4.5 4.5 0 0 1 9 0V33z"/>`],
|
||
// Fingerabdruck
|
||
['#6B7240', () => {
|
||
const arc = (r) => { const [x1, y1] = pt(20, 22, r, -125), [x2, y2] = pt(20, 22, r, 125); return `M${x1} ${y1}A${r} ${r} 0 1 1 ${x2} ${y2}`; };
|
||
return `<path ${st(2.6)} d="${arc(13)}${arc(8.5)}"/><path ${st(2.6, W, 0.8)} d="${arc(4)}M20 22v4"/>`;
|
||
}],
|
||
// Auge
|
||
['#4D5B2E', (c) => `<path ${fo()} d="M4 20c4-6.5 9.5-10 16-10s12 3.5 16 10c-4 6.5-9.5 10-16 10S8 26.5 4 20z"/><circle cx="20" cy="20" r="6.6" fill="${c}"/><circle cx="20" cy="20" r="3" ${fo()}/>`],
|
||
// U-Boot
|
||
['#364026', (c) => `<path ${st(2.4)} d="M18.5 12V6.5H22"/><path ${fo()} d="M15 17.5V12h7.5l2 5.5z"/><path ${fo()} d="M4.5 22c0-3 3-5 7-5h17c4 0 7 2 7 5s-3 5-7 5h-17c-4 0-7-2-7-5z"/><g fill="${c}"><circle cx="13" cy="22" r="1.5"/><circle cx="19" cy="22" r="1.5"/><circle cx="25" cy="22" r="1.5"/></g><path ${st(2.4, W, 0.6)} d="M5 32.5c2.5-2 5-2 7.5 0s5 2 7.5 0 5-2 7.5 0 5 2 7.5 0"/>`],
|
||
// Medaille mit Band
|
||
['#5E6638', (c) => `<path ${fo(W, 0.7)} d="M10.5 4h6.6l5 12h-6.6z"/><path ${fo()} d="M29.5 4h-6.6l-5 12h6.6z"/><circle cx="20" cy="25" r="9.4" ${fo()}/><circle cx="20" cy="25" r="5.2" ${st(2.4, c)}/>`],
|
||
// Radarkuppel auf Turm
|
||
['#525E30', (c) => `<path ${st(2.6)} d="M15.5 23.5l-3 10.5M24.5 23.5l3 10.5M13.5 30h13"/><circle cx="20" cy="14.5" r="10.5" ${fo()}/><path ${st(2, c)} d="M9.5 14.5h21M20 4v21M13 7.5c4.5 4 4.5 10 0 14M27 7.5c-4.5 4-4.5 10 0 14"/>`],
|
||
// Wabenpanzerung
|
||
['#617036', () => `<path ${fo()} d="${poly(13.94, 14.75, 6.4, 6)}"/><path ${fo(W, 0.72)} d="${poly(26.06, 14.75, 6.4, 6)}"/><path ${fo(W, 0.86)} d="${poly(20, 25.25, 6.4, 6)}"/>`],
|
||
// Schutzschirm über Gebäuden
|
||
['#3B4528', () => `<path ${st(2.8)} d="M4.5 31A15.5 15.5 0 0 1 35.5 31"/><path ${st(2, W, 0.55)} d="M10 31a10 10 0 0 1 20 0"/><g ${fo()}><rect x="13" y="23" width="4" height="8" rx=".6"/><rect x="18.2" y="19.5" width="4" height="11.5" rx=".6"/><rect x="23.4" y="25" width="3.6" height="6" rx=".6"/></g><path ${st(2.6)} d="M3.5 33.5h33"/>`],
|
||
// Tarnflecken
|
||
['#5A5A3C', () => `<path ${fo()} d="M6.5 9.5c2.5-3 8-3 10.5 0 2 2.4 5.5 1.6 6.5 4.6.9 3-2.4 5.2-5.6 4.6-3.5-.6-5.2 1.8-8.3 1-3.6-1-5.8-6.5-3.1-10.2z"/><path ${fo(W, 0.62)} d="M24.5 7.5c2.6-1.8 6.6-.6 8.2 2.4 1.5 2.8.2 6.2-2.8 6.9-2.6.6-4.4-.8-6-2.8-1.5-1.8-1.6-5 .6-6.5z"/><path ${fo(W, 0.8)} d="M9 26c1.5-3.3 6-4.2 9-2.6 2.6 1.4 4.6-1 7.6-.6 3.8.6 7.4 3.8 6.4 7.2-.9 3.3-5.4 3.8-8.6 2.8-2.6-.8-4.6 1.4-8 .6C11 32.5 7.6 29 9 26z"/>`],
|
||
// Fallgitter
|
||
['#2F3A22', () => `<path ${st(2.6, W, 0.85)} d="M14 9.6V31M20 7.2V31M26 9.6V31M8.5 19.5h23M8.5 26.5h23"/><path ${fo(W, 0.85)} d="M12.5 31h3l-1.5 3zM18.5 31h3l-1.5 3zM24.5 31h3l-1.5 3z"/><path ${st(3)} d="M7.5 34.5V17.5a12.5 12.5 0 0 1 25 0v17"/>`],
|
||
// Hubschrauber
|
||
['#4D5B2E', (c) => `<path ${st(2.6)} d="M6 9.5h28M21 9.5v5M14.5 33h14M17 29v4M26 29v4"/><path ${st(3.2)} d="M13 21.5 5 18"/><circle cx="5" cy="17.6" r="2.6" ${fo(W, 0.75)}/><ellipse cx="21.5" cy="22" rx="9" ry="7" ${fo()}/><path fill="${c}" d="M23 17.5h3.4a5 5 0 0 1 3.5 4.5H23z"/>`],
|
||
],
|
||
|
||
// ---------------------------------------------------------------- Immobilien: Ziegel und Ocker
|
||
realestate: [
|
||
// Schlüssel mit Haus als Griff
|
||
['#9A3412', (c) => `<path ${fo()} d="M5.5 18 12 12l6.5 6v8.5h-13z"/><circle cx="12" cy="20.6" r="2" fill="${c}"/><path ${st(3.2)} d="M18.5 21.5H34"/><path ${st(3)} d="M28.5 21.5v4.5M33 21.5v3.5"/>`],
|
||
// Fassade mit Fenstern
|
||
['#A16207', (c) => {
|
||
const win = [];
|
||
for (const y of [10.5, 15.5, 20.5]) for (const x of [13.3, 18.3, 23.3]) win.push(`<rect x="${x}" y="${y}" width="3.4" height="3.4" rx=".6"/>`);
|
||
return `<rect x="10" y="7" width="20" height="26" rx="1.6" ${fo()}/><g fill="${c}">${win.join('')}<rect x="17.5" y="26" width="5" height="7" rx=".8"/></g>`;
|
||
}],
|
||
// Treppengiebel
|
||
['#78350F', (c) => `<path ${fo()} d="M9 33V17h2.5v-3.5H14V10h2.5V6.5h7V10H26v3.5h2.5V17H31v16z"/><g fill="${c}"><path d="M17.5 33v-5.5a2.5 2.5 0 0 1 5 0V33z"/><rect x="12.5" y="20.5" width="3.2" height="3.6" rx=".5"/><rect x="24.3" y="20.5" width="3.2" height="3.6" rx=".5"/><circle cx="20" cy="14.2" r="1.9"/></g>`],
|
||
// Rundbogentür
|
||
['#B45309', (c) => `<path ${st(2.8)} d="M10 33V17a10 10 0 0 1 20 0v16M6.5 33.5h27"/><path ${fo()} d="M14 33V17.5a6 6 0 0 1 12 0V33z"/><circle cx="22.8" cy="25" r="1.3" fill="${c}"/>`],
|
||
// Grundriss
|
||
['#854D0E', () => `<rect x="7" y="8" width="26" height="24" rx="1.2" ${st(2.8)}/><path ${st(2.4)} d="M7 19.5h8M20 8v7M20 23v9M25 19.5h8"/><path ${st(1.4, W, 0.6)} d="M15 19.5a5 5 0 0 1 5-5"/>`],
|
||
// Standortnadel mit Haus
|
||
['#7C2D12', (c) => `<path ${fo()} d="M20 34s-10.5-9.6-10.5-17.5a10.5 10.5 0 0 1 21 0C30.5 24.4 20 34 20 34z"/><path fill="${c}" d="M14.5 17.5 20 12.5l5.5 5v6h-11z"/><rect x="18.6" y="19.6" width="2.8" height="3.9" ${fo()}/>`],
|
||
// Stadtsilhouette
|
||
['#A0522D', (c) => `<path ${fo(W, 0.7)} d="M6 33V19l4.5-4.5L15 19v14z"/><path ${fo()} d="M16 33V12a4 4 0 0 1 8 0v21z"/><path ${fo(W, 0.85)} d="M25 33V16h9v17z"/><path ${st(1.8, W, 0.85)} d="M29.5 16v-5"/><path ${st(1.4, c)} d="M18.6 15v15M21.4 15v15"/>`],
|
||
// Hochhaus mit Spitze
|
||
['#8B3A14', (c) => `<path ${st(2.4)} d="M20 3v5"/><path ${fo()} d="M13.5 34V12l6.5-4.5 6.5 4.5v22z"/><path ${st(2, c)} d="M17.6 14.5v16M22.4 14.5v16"/>`],
|
||
// Bungalow mit Garage
|
||
['#9C5A10', (c) => `<path ${fo()} d="M3.5 22 15 13l11.5 9h-2.5v11H6V22z"/><path ${fo(W, 0.72)} d="M24 33V22.5h12.5V33z"/><g fill="${c}"><rect x="13" y="25" width="4.4" height="8" rx=".6"/><rect x="8.5" y="23.5" width="3" height="3" rx=".5"/></g><path ${st(1.8, c, 0.8)} d="M26 26.5h8.5M26 30h8.5"/>`],
|
||
// Sprossenfenster mit Bank
|
||
['#78350F', (c) => `<path ${fo()} d="M9 31V17a11 10 0 0 1 22 0v14z"/><path ${st(2.4, c)} d="M20 8.5V31M9 20h22"/><rect x="6.5" y="30.5" width="27" height="3.6" rx="1.2" ${fo()}/>`],
|
||
// Ziegelmauer
|
||
['#9A3412', () => {
|
||
const w = 9.07, h = 5.4, rows = [8, 14.8, 21.6, 28.4];
|
||
const rect = (x, y, bw) => `<rect x="${f2(x)}" y="${y}" width="${f2(bw)}" height="${h}" rx=".8"/>`;
|
||
return `<g ${fo()}>${rows.map((y, r) => r % 2
|
||
? rect(5, y, 3.83) + rect(10.23, y, w) + rect(20.7, y, w) + rect(31.17, y, 3.83)
|
||
: rect(5, y, w) + rect(15.47, y, w) + rect(25.93, y, w)).join('')}</g>`;
|
||
}],
|
||
// Farbroller
|
||
['#B45309', (c) => `<path ${st(2.6)} d="M29 10h3.5v8.5H20v4.5"/><rect x="6.5" y="5.5" width="23" height="9" rx="2.6" ${fo()}/><path ${st(1.8, c, 0.55)} d="M11 8.5v3M16 8.5v3M21 8.5v3"/><rect x="17.4" y="22.5" width="5.2" height="12.5" rx="2.6" ${fo()}/>`],
|
||
// Zeichendreieck
|
||
['#854D0E', (c) => `<path ${fo()} d="M7 33.5V6l27.5 27.5z"/><path fill="${c}" d="M12.2 28.3V18.6l9.7 9.7z"/><path ${st(2, c)} d="M7 11h3M7 15.5h3M7 20h3"/>`],
|
||
// Hängeschild am Galgen
|
||
['#7C2D12', (c) => `<path ${st(2.8)} d="M9 35V6h21"/><path ${st(2)} d="M15.5 6v5M27.5 6v5"/><rect x="12.5" y="11" width="18" height="12.5" rx="2" ${fo()}/><path fill="${c}" d="M17 21v-3.8l4.5-3.7 4.5 3.7V21z"/>`],
|
||
// Viadukt
|
||
['#A0522D', (c) => `<path ${st(2.4)} d="M3.5 8.5h33"/><rect x="4" y="11.5" width="32" height="22" rx="1" ${fo()}/><path fill="${c}" d="M6.5 33.5v-8a4 4 0 0 1 8 0v8zM16 33.5v-8a4 4 0 0 1 8 0v8zM25.5 33.5v-8a4 4 0 0 1 8 0v8z"/>`],
|
||
// Reihenhäuser
|
||
['#9A3412', (c) => `<path ${fo(W, 0.7)} d="M4.5 33V20l4.8-5 4.8 5v13z"/><path ${fo()} d="M15.2 33V15.5l4.8-5 4.8 5V33z"/><path ${fo(W, 0.85)} d="M25.9 33V19l4.8-5 4.8 5v14z"/><g fill="${c}"><rect x="8" y="27" width="2.6" height="6"/><rect x="18.7" y="26" width="2.6" height="7"/><rect x="29.4" y="27" width="2.6" height="6"/></g>`],
|
||
// Giebel mit Tür
|
||
['#B0611A', () => `<path ${st(4.4)} d="M5.5 21.5 20 8l14.5 13.5"/><rect x="16" y="19.5" width="8" height="13" rx="1.4" ${fo()}/><path ${st(3, W, 0.6)} d="M8 34h24"/>`],
|
||
// Haus auf Plakette
|
||
['#93400F', (c) => `<circle cx="20" cy="20" r="14" ${fo()}/><path fill="${c}" d="M11 21.5 20 13l9 8.5V29H11z"/><rect x="18" y="23.5" width="4" height="5.5" ${fo()}/>`],
|
||
// Gartenzaun
|
||
['#A16207', () => {
|
||
const pick = [5, 10.2, 15.4, 20.6, 25.8, 31].map((x) => `<path d="M${x} 33V13l2-3 2 3v20z"/>`).join('');
|
||
return `<path ${st(2.6, W, 0.6)} d="M3.5 18.5h33M3.5 27h33"/><g ${fo()}>${pick}</g>`;
|
||
}],
|
||
// Briefkasten
|
||
['#78350F', (c) => `<path ${st(3.2)} d="M18 23v11.5"/><path ${st(2.6, W, 0.75)} d="M30 19V6.5h4.5"/><path ${fo()} d="M6.5 23V15a6 6 0 0 1 6-6H25a6 6 0 0 1 6 6v8z"/><path ${st(2.4, c)} d="M11 16.5h9"/>`],
|
||
// Türklinke mit Schild
|
||
['#8B3A14', (c) => `<rect x="11" y="5.5" width="10" height="29" rx="5" ${fo()}/><path ${st(4)} d="M16 14.5h15"/><circle cx="16" cy="14.5" r="1.4" fill="${c}"/><path fill="${c}" d="M16 22.5a2.2 2.2 0 0 1 1.2 4l.8 3.8h-4l.8-3.8a2.2 2.2 0 0 1 1.2-4z"/>`],
|
||
// Treppe
|
||
['#B45309', () => `<path ${fo()} d="M5 34.5V28.5h6v-6h6v-6h6v-6h6v-6h6v30z"/><path ${st(2.4, W, 0.6)} d="M4 24 25 4"/>`],
|
||
// Parzellenplan
|
||
['#9C5A10', () => `<rect x="5.5" y="5.5" width="13" height="13" rx="1.6" ${fo()}/><rect x="22.6" y="6.6" width="10.8" height="10.8" rx="1.4" ${st(2.4)}/><rect x="6.6" y="22.6" width="10.8" height="10.8" rx="1.4" ${st(2.4)}/><rect x="21.5" y="21.5" width="13" height="13" rx="1.6" ${fo(W, 0.65)}/>`],
|
||
// Haus mit Turm
|
||
['#7C2D12', (c) => `<path ${fo()} d="M4.5 33V20.5l8.5-7.5 8.5 7.5V33z"/><path ${fo(W, 0.8)} d="M23 33V17h9v16z"/><path ${fo()} d="M21.5 17.5 27.5 5.5l6 12z"/><g fill="${c}"><rect x="11" y="26" width="4" height="7"/><rect x="25.8" y="20.5" width="3.4" height="4.2" rx="1.7"/></g>`],
|
||
// Wohnblock mit Balkonen
|
||
['#A0522D', (c) => {
|
||
const win = [];
|
||
for (const y of [8.5, 15.5, 22.5]) for (const x of [14, 22]) win.push(`<rect x="${x}" y="${y}" width="4" height="4" rx=".6"/>`);
|
||
return `<rect x="11.5" y="5" width="17" height="29" rx="1.4" ${fo()}/><g fill="${c}">${win.join('')}<rect x="17.8" y="28.5" width="4.4" height="5.5"/></g><path ${st(2.6, W, 0.75)} d="M6.5 13.5h5M6.5 20.5h5M6.5 27.5h5M28.5 13.5h5M28.5 20.5h5M28.5 27.5h5"/>`;
|
||
}],
|
||
// Fachwerkhaus
|
||
['#854D0E', (c) => `<path ${fo()} d="M7 33V17.5l13-10.5 13 10.5V33z"/><path ${st(2.2, c)} d="M7 18.5h26M7 25.5h26M20 18.5V33M7.5 18.5l6.5 7M32.5 18.5l-6.5 7"/>`],
|
||
// Schlüsselloch
|
||
['#9A3412', (c) => `<circle cx="20" cy="20" r="14" ${fo()}/><path fill="${c}" d="M20 10.5a4.3 4.3 0 0 1 2.4 7.9l1.8 9.6h-8.4l1.8-9.6a4.3 4.3 0 0 1 2.4-7.9z"/>`],
|
||
// Haus mit Baum
|
||
['#B0611A', (c) => `<path ${st(2.6, W, 0.8)} d="M28.5 21v12"/><circle cx="28.5" cy="15.5" r="7" ${fo(W, 0.8)}/><path ${fo()} d="M4.5 33V21.5L13 14l8.5 7.5V33z"/><rect x="11" y="26" width="4" height="7" fill="${c}"/><path ${st(2.4)} d="M3.5 34h33"/>`],
|
||
// Dach mit Gaube
|
||
['#93400F', (c) => `<path ${fo()} d="M4 31.5 20 8.5l16 23z"/><path fill="${c}" d="M15.5 27v-5.5l4.5-4 4.5 4V27z"/><path ${st(2.4, W, 0.7)} d="M3.5 34.5h33"/>`],
|
||
// Grundstücksfahne
|
||
['#A16207', () => `<path ${st(2.6)} d="M14 31V6.5"/><path ${fo()} d="M14 6.5h14l-3.4 4.8 3.4 4.8H14z"/><path ${st(2.6, W, 0.65)} d="M5 33c5-3 25-3 30 0"/>`],
|
||
// Maßband
|
||
['#7C2D12', (c) => `<path ${fo(W, 0.78)} d="M20 23.5h15v6H20z"/><path ${st(1.8, c)} d="M25 23.5v2.6M29 23.5v2.6M33 23.5v2.6"/><circle cx="16" cy="20" r="11" ${fo()}/><circle cx="16" cy="20" r="4" fill="${c}"/><circle cx="16" cy="20" r="1.5" ${fo()}/>`],
|
||
// Haus mit Aufwärtspfeil
|
||
['#8B3A14', () => `<path ${st(2.8)} d="M6 19.5V33h28V19.5M3.5 21.5 20 7.5l16.5 14"/><path ${fo()} d="M17.6 31v-7h-4L20 16.5l6.4 7.5h-4v7z"/>`],
|
||
],
|
||
|
||
// ---------------------------------------------------------------- Versorger: Cyan und Himmelblau
|
||
utilities: [
|
||
// Wasserhahn mit Tropfen
|
||
['#0891B2', () => `<path ${st(4)} d="M7.5 14H20a6 6 0 0 1 6 6v2"/><path ${st(2.8)} d="M14 14V8.5M10.5 8.5h7M5.5 10.5v7"/><path ${fo()} d="${drop(26, 25.5, 3.2)}"/>`],
|
||
// Strommast
|
||
['#0E7490', () => `<path ${st(2.4)} d="M13.5 33 18.6 7.5h2.8L26.5 33M8.5 13h23M10.5 19.5h19"/><path ${st(1.5, W, 0.75)} d="M16.8 19.5l7.2 7M23.2 19.5l-7.2 7M15.4 26.5h9.2"/><g ${fo()}><circle cx="8.5" cy="15.6" r="1.6"/><circle cx="31.5" cy="15.6" r="1.6"/><circle cx="10.5" cy="22.1" r="1.6"/><circle cx="29.5" cy="22.1" r="1.6"/></g>`],
|
||
// Glühbirne
|
||
['#0369A1', (c) => `<circle cx="20" cy="15.5" r="9" ${fo()}/><rect x="16" y="20" width="8" height="7" rx="1.2" ${fo()}/><path ${st(1.8, c)} d="M17.2 15.5l2.8 3 2.8-3M20 18.5v5"/><path ${st(2.4)} d="M16 30h8M17.6 33.4h4.8"/>`],
|
||
// Heizkörper
|
||
['#0284C7', () => {
|
||
const fins = [7, 12.4, 17.8, 23.2, 28.6].map((x) => `<rect x="${x}" y="10" width="4.4" height="19" rx="2.2" ${fo()}/>`).join('');
|
||
return `<path ${st(2, W, 0.55)} d="M5 14h30M5 25h30"/>${fins}<path ${st(2.2, W, 0.7)} d="M9.2 29v3.4M30.8 29v3.4"/>`;
|
||
}],
|
||
// Steckdose
|
||
['#155E75', (c) => `<circle cx="20" cy="20" r="12.6" ${fo()}/><circle cx="20" cy="20" r="8.4" ${st(1.6, c, 0.55)}/><circle cx="16" cy="20" r="2.1" fill="${c}"/><circle cx="24" cy="20" r="2.1" fill="${c}"/><g fill="${c}"><rect x="18.2" y="9.8" width="3.6" height="2.4" rx=".8"/><rect x="18.2" y="27.8" width="3.6" height="2.4" rx=".8"/></g>`],
|
||
// Wasserturm
|
||
['#0E87A8', () => `<path ${fo()} d="M10.5 11.5 20 6l9.5 5.5z"/><rect x="11" y="12.2" width="18" height="8" rx="1.4" ${fo(W, 0.9)}/><path ${st(2.4)} d="M14.5 20.2 12 33M25.5 20.2 28 33M20 20.2V33"/><path ${st(1.6, W, 0.75)} d="M13.2 26.6h13.6"/>`],
|
||
// Kreislauf
|
||
['#0B6E99', () => `<path ${st(3)} d="M29.2 17.5A9.6 9.6 0 0 0 12.4 13.4"/><path ${fo()} d="M8.6 10.2l1.6 7.4 6.2-3.8z"/><path ${st(3)} d="M10.8 22.5a9.6 9.6 0 0 0 16.8 4.1"/><path ${fo()} d="M31.4 29.8l-1.6-7.4-6.2 3.8z"/><path ${fo(W, 0.75)} d="${drop(20, 15.2, 2.7)}"/>`],
|
||
// Wasserwellen
|
||
['#0C7FA6', () => {
|
||
const wave = (y) => `M5 ${y}q3.75-4 7.5 0t7.5 0 7.5 0 7.5 0`;
|
||
return `<path ${st(3.2)} d="${wave(13)}"/><path ${st(3.2, W, 0.8)} d="${wave(20.5)}"/><path ${st(3.2, W, 0.6)} d="${wave(28)}"/>`;
|
||
}],
|
||
// Solarpanel
|
||
['#0369A1', (c) => `<path ${st(2.6)} d="M17 26v7M11.5 33.5h11"/><path ${fo()} d="M10.5 7.5h23l-4.5 18.5H6z"/><path ${st(2, c)} d="M8.2 16.8h23M17.5 7.5l-3.5 18.5M25.5 7.5l-3.5 18.5"/>`],
|
||
// Gasbrenner
|
||
['#1478A8', () => `<g ${fo()}><path d="${drop(11, 13.5, 2.6)}"/><path d="${drop(17, 11.5, 2.8)}"/><path d="${drop(23, 11.5, 2.8)}"/><path d="${drop(29, 13.5, 2.6)}"/></g><rect x="6" y="24" width="28" height="4.4" rx="2.2" ${fo()}/><path ${st(2.6, W, 0.65)} d="M10 32.5h20"/>`],
|
||
// Zählerskala
|
||
['#0E7490', () => {
|
||
const ticks = [-60, -30, 0, 30, 60].map((a) => { const [x1, y1] = pt(20, 26, 9.5, a), [x2, y2] = pt(20, 26, 12.5, a); return `M${x1} ${y1}L${x2} ${y2}`; }).join('');
|
||
return `<path ${st(3.2)} d="M6 26a14 14 0 0 1 28 0"/><path ${st(2.4, W, 0.7)} d="${ticks}"/><path ${st(3)} d="M20 26l6.2-7.4"/><circle cx="20" cy="26" r="3.2" ${fo()}/><path ${st(2.6, W, 0.6)} d="M8 33h24"/>`;
|
||
}],
|
||
// Rohrbogen mit Flanschen
|
||
['#0A5F80', () => `<path ${st(5.4)} d="M9 12.5h8.5a6 6 0 0 1 6 6V29"/><rect x="5" y="7" width="4" height="11" rx="1" ${fo()}/><rect x="18" y="29" width="11" height="4" rx="1" ${fo()}/>`],
|
||
// Kühlturm mit Dampf
|
||
['#0891B2', () => `<path ${fo(W, 0.6)} d="M12.5 12.5a4 4 0 0 1 2.5-5.6 5.6 5.6 0 0 1 10 0 4 4 0 0 1 2.5 5.6z"/><path ${fo()} d="M10.5 34c2.4-6.4 2.4-12.4-1-18h21c-3.4 5.6-3.4 11.6-1 18z"/>`],
|
||
// Staudamm
|
||
['#0F8DB8', () => `<path ${fo(W, 0.5)} d="M4 15h15v19H4z"/><path ${st(2.4)} d="M5 19c2-1.6 4-1.6 6 0s4 1.6 6 0"/><path ${fo()} d="M17 7h6l8 27H17z"/><path ${st(2.6, W, 0.7)} d="M32 29.5c1 1.6 2 2.6 3.5 3"/>`],
|
||
// Mülltonne
|
||
['#155E75', (c) => `<path ${fo()} d="M10 13h20l-2 18H12z"/><rect x="8" y="8.5" width="24" height="4.4" rx="1.6" ${fo()}/><path ${st(2.2, c)} d="M16 17v10M20 17v10M24 17v10"/><circle cx="14" cy="32.4" r="2.4" ${fo()} stroke="${c}" stroke-width="1.4"/><circle cx="26" cy="32.4" r="2.4" ${fo()} stroke="${c}" stroke-width="1.4"/>`],
|
||
// Thermometer
|
||
['#0284C7', (c) => `<path ${fo()} d="M15.5 8.5a4.5 4.5 0 0 1 9 0v14.6a7.5 7.5 0 1 1-9 0z"/><path ${st(2.6, c)} d="M20 9.5v16"/><circle cx="20" cy="28.6" r="3.6" fill="${c}"/><path ${st(2.2, W, 0.7)} d="M27.5 10.5h3.5M27.5 15.5h3.5M27.5 20.5h3.5"/>`],
|
||
// Netzstecker
|
||
['#0679A8', (c) => `<path ${st(3)} d="M15 4v6.5M25 4v6.5M20 26v9"/><path ${fo()} d="M10.5 10h19v7.5a9.5 9.5 0 0 1-19 0z"/><path ${st(2.2, c, 0.7)} d="M15 15.5h10"/>`],
|
||
// Wasserrad
|
||
['#0E87A8', () => {
|
||
const sp = Array.from({ length: 8 }, (_, i) => { const [x, y] = pt(20, 17, 13, i * 45); return `M20 17L${x} ${y}`; }).join('');
|
||
return `<path ${st(2.6)} d="${sp}"/><circle cx="20" cy="17" r="9" ${st(2.6)}/><circle cx="20" cy="17" r="3.2" ${fo()}/><path ${st(2.8, W, 0.65)} d="M4 34c2.6-2 5.4-2 8 0s5.4 2 8 0 5.4-2 8 0 5.4 2 8 0"/>`;
|
||
}],
|
||
// Hochspannung-Warnschild
|
||
['#0B6E99', (c) => `<path ${fo()} d="M20 5.5c1 0 1.8.5 2.3 1.4l12.4 22c1 1.8-.2 4.1-2.3 4.1H7.6c-2.1 0-3.3-2.3-2.3-4.1l12.4-22c.5-.9 1.3-1.4 2.3-1.4z"/><path fill="${c}" d="M21.6 12 15 23.2h4.6l-1.6 7 6.6-11.2H20z"/>`],
|
||
// Duschkopf
|
||
['#0C7FA6', () => `<path ${st(2.8)} d="M8 34.5V13a6 6 0 0 1 6-6h4.5a4 4 0 0 1 4 4v3"/><path ${fo()} d="M15 18.5a7.5 5 0 0 1 15 0z"/><path ${st(2.4, W, 0.75)} d="M17.5 22.5l-1 3.5M22.5 22.5v3.5M27.5 22.5l1 3.5M16 29.5l-1 3.5M22.5 29.5v3.5M29 29.5l1 3.5"/>`],
|
||
// Ladesäule
|
||
['#0369A1', (c) => `<path ${st(2.6)} d="M23 20h3.5a3 3 0 0 1 3 3v5"/><rect x="26.8" y="27.5" width="5.4" height="5.4" rx="1.2" ${fo()}/><rect x="9" y="5.5" width="14" height="28" rx="2.6" ${fo()}/><path fill="${c}" d="M17.4 9.5 12.6 16.5h3.2l-1.2 5 4.8-7.2h-3.2z"/><path ${st(2.4, W, 0.65)} d="M5.5 34.5h29"/>`],
|
||
// Gasbehälter
|
||
['#1478A8', (c) => `<path ${fo()} d="M8 12v18.5c0 2 5.4 3.6 12 3.6s12-1.6 12-3.6V12z"/><ellipse cx="20" cy="12" rx="12" ry="3.8" ${fo(W, 0.7)}/><path ${st(2, c)} d="M14 17v14.5M20 17.5v15.5M26 17v14.5"/>`],
|
||
// Gullydeckel
|
||
['#0E7490', (c) => `<rect x="7" y="7" width="26" height="26" rx="4.5" ${fo()}/><path ${st(2.6, c)} d="M12 12.5h6.5M21.5 12.5H28M12 17.5h6.5M21.5 17.5H28M12 22.5h6.5M21.5 22.5H28M12 27.5h6.5M21.5 27.5H28"/>`],
|
||
// drei Tropfen
|
||
['#0891B2', () => `<path ${fo()} d="${drop(20, 5, 8)}"/><path ${fo(W, 0.75)} d="${drop(9, 19, 4)}"/><path ${fo(W, 0.6)} d="${drop(31, 19, 4)}"/>`],
|
||
// Netzknoten im Sechseck
|
||
['#0A5F80', (c) => {
|
||
const p = Array.from({ length: 6 }, (_, i) => pt(20, 20, 12.5, i * 60 + 30));
|
||
return `<path ${st(2.4, W, 0.6)} d="${poly(20, 20, 12.5, 6, 30)}"/><path ${st(2.6)} d="${p.filter((_, i) => i % 2 === 0).map(([x, y]) => `M20 20L${x} ${y}`).join('')}"/><g ${fo()}>${p.map(([x, y]) => `<circle cx="${x}" cy="${y}" r="2.8"/>`).join('')}<circle cx="20" cy="20" r="4"/></g><circle cx="20" cy="20" r="1.5" fill="${c}"/>`;
|
||
}],
|
||
// Isolatorenkette
|
||
['#155E75', () => `<path ${st(2.8)} d="M5 7h30M20 7v20"/><g ${fo()}><ellipse cx="20" cy="11.5" rx="6" ry="2"/><ellipse cx="20" cy="16" rx="6" ry="2"/><ellipse cx="20" cy="20.5" rx="6" ry="2"/></g><path ${st(2.6)} d="M4.5 32c4-4 9-5 15.5-5s11.5 1 15.5 5"/>`],
|
||
// Wasserstoff-Molekül
|
||
['#0284C7', (c) => `<path ${st(4)} d="M16 20h8"/><circle cx="11.5" cy="20" r="7" ${fo()}/><circle cx="28.5" cy="20" r="7" ${fo(W, 0.8)}/><g fill="${c}"><circle cx="9.5" cy="17.6" r="1.8"/><circle cx="26.5" cy="17.6" r="1.8"/></g>`],
|
||
// Hydrant
|
||
['#0B6E99', (c) => `<path ${fo()} d="M13 13.5a7 7 0 0 1 14 0z"/><rect x="18.5" y="4.5" width="3" height="3" rx=".6" ${fo()}/><rect x="13" y="14.5" width="14" height="16" rx="1" ${fo()}/><rect x="8.5" y="17.5" width="5" height="5" rx="1" ${fo(W, 0.8)}/><rect x="26.5" y="17.5" width="5" height="5" rx="1" ${fo(W, 0.8)}/><rect x="10" y="30.5" width="20" height="4" rx="1.2" ${fo()}/><circle cx="20" cy="22.5" r="2.4" fill="${c}"/>`],
|
||
// Wärmepumpe
|
||
['#0E87A8', (c) => {
|
||
const blades = [0, 120, 240].map((a) => `<ellipse cx="16" cy="16.6" rx="2" ry="3.4" transform="rotate(${a} 16 20)"/>`).join('');
|
||
return `<rect x="5" y="9" width="30" height="22" rx="3" ${fo()}/><circle cx="16" cy="20" r="7.6" fill="${c}"/><g ${fo()}>${blades}<circle cx="16" cy="20" r="1.6"/></g><path ${st(2, c)} d="M27 14.5h4M27 18.5h4M27 22.5h4M27 26.5h4"/><path ${st(2.6, W, 0.7)} d="M9 31v3M31 31v3"/>`;
|
||
}],
|
||
// Regenwolke
|
||
['#0679A8', () => `<path ${fo()} d="M11 23a6 6 0 0 1-.6-12A8.5 8.5 0 0 1 27 10a6.5 6.5 0 0 1 2 13z"/><path ${st(2.6, W, 0.75)} d="M14 27.5l-1.5 4.5M20.5 27.5 19 32M27 27.5l-1.5 4.5"/>`],
|
||
// Kippschalter
|
||
['#0C7FA6', (c) => `<rect x="10" y="5" width="20" height="30" rx="4" ${fo()}/><rect x="14" y="10" width="12" height="20" rx="2" fill="${c}"/><rect x="15.6" y="11.6" width="8.8" height="8.4" rx="1.2" ${fo()}/>`],
|
||
// Schwengelpumpe
|
||
['#155E75', () => `<path ${st(3)} d="M14 12 5.5 6.5M22 15h6.5v3"/><rect x="14" y="9.5" width="8" height="22.5" rx="2" ${fo()}/><rect x="9.5" y="31" width="17" height="3.4" rx="1" ${fo()}/><path ${fo(W, 0.8)} d="${drop(28.5, 21, 2.4)}"/>`],
|
||
],
|
||
|
||
// ---------------------------------------------------------------- Telekommunikation: Violett
|
||
telecom: [
|
||
// Funkwellen
|
||
['#7C3AED', () => {
|
||
const arc = (r) => { const [x1, y1] = pt(20, 28, r, -42), [x2, y2] = pt(20, 28, r, 42); return `M${x1} ${y1}A${r} ${r} 0 0 1 ${x2} ${y2}`; };
|
||
return `<path ${st(3.2, W, 0.5)} d="${arc(17)}"/><path ${st(3.2, W, 0.75)} d="${arc(11.5)}"/><path ${st(3.2)} d="${arc(6)}"/><circle cx="20" cy="28" r="2.8" ${fo()}/>`;
|
||
}],
|
||
// Satellitenschüssel
|
||
['#6D28D9', () => `<path ${fo()} d="M8 14 26 32A13 13 0 0 1 8 14z"/><path ${st(2.2)} d="M17 23l8-8"/><circle cx="26" cy="14" r="2.4" ${fo()}/><path ${st(2, W, 0.7)} d="M28.6 8.6a5.4 5.4 0 0 1 2.8 2.8M29.6 4.6a9.6 9.6 0 0 1 5.8 5.8"/>`],
|
||
// Sprechblase
|
||
['#9333EA', (c) => `<path ${fo()} d="M9 8.5h22a3 3 0 0 1 3 3v12.5a3 3 0 0 1-3 3H18.5L12 32.5V27H9a3 3 0 0 1-3-3V11.5a3 3 0 0 1 3-3z"/><g fill="${c}"><circle cx="14" cy="17.8" r="2"/><circle cx="20" cy="17.8" r="2"/><circle cx="26" cy="17.8" r="2"/></g>`],
|
||
// Smartphone
|
||
['#7E22CE', (c) => `<rect x="12" y="5.5" width="16" height="29" rx="3.6" ${fo()}/><rect x="14.4" y="9.4" width="11.2" height="19" rx="1.2" fill="${c}"/><path ${st(1.6, W, 0.85)} d="M17 14h6M17 18h6M17 22h3.5"/><circle cx="20" cy="31.4" r="1.2" fill="${c}"/>`],
|
||
// Signalbalken
|
||
['#5B21B6', () => [[8, 6, 0.5], [15, 11, 0.68], [22, 16, 0.84], [29, 22, 1]].map(([x, h, o]) => `<rect x="${x - 2.4}" y="${32 - h}" width="4.8" height="${h}" rx="1.4" ${fo(W, o)}/>`).join('')],
|
||
// Globus
|
||
['#8B5CF6', () => `<circle cx="20" cy="20" r="12.6" ${st(2.6)}/><ellipse cx="20" cy="20" rx="5.4" ry="12.6" ${st(2)}/><path ${st(2)} d="M7.4 20h25.2"/><path ${st(1.6, W, 0.7)} d="M9.4 13.4h21.2M9.4 26.6h21.2"/>`],
|
||
// Telefonhörer
|
||
['#581C87', () => `<path ${fo()} d="M12.4 7.6c1-.6 2.3-.3 2.9.7l2.6 4.3c.6 1 .3 2.3-.7 2.9l-1.8 1.1c1 3 3.3 5.9 6.5 7.6l1.4-1.6c.8-.9 2.1-1 3-.3l3.9 3.1c.9.7 1.1 2 .4 3l-1.7 2.3c-1 1.4-2.8 2-4.4 1.5C16 29.2 10.5 23 8.7 14.1c-.3-1.6.4-3.3 1.8-4.1z"/><path ${st(2.2, W, 0.7)} d="M23.5 7.5a9 9 0 0 1 9 9M23.5 12.5a4 4 0 0 1 4 4"/>`],
|
||
// Gittermast mit Funkwellen
|
||
['#6B21A8', () => `<path ${st(2.6)} d="M13 34 20 15l7 19M15.6 27h8.8M11 34h18"/><path ${st(2, W, 0.7)} d="M15.6 27 22.4 20.6M24.4 27 17.6 20.6"/><circle cx="20" cy="11" r="3" ${fo()}/><path ${st(2.6)} d="M12.5 5.5a8 8 0 0 0 0 11M27.5 5.5a8 8 0 0 1 0 11"/>`],
|
||
// Glasfaserbündel im Querschnitt
|
||
['#7C3AED', (c) => `<circle cx="20" cy="20" r="14" ${fo()}/><g fill="${c}">${[0, 60, 120, 180, 240, 300].map((a) => { const [x, y] = pt(20, 20, 7.4, a); return `<circle cx="${x}" cy="${y}" r="2.8"/>`; }).join('')}<circle cx="20" cy="20" r="2.8"/></g><circle cx="20" cy="20" r="1.2" ${fo()}/>`],
|
||
// Router mit Antennen
|
||
['#5B21B6', (c) => `<path ${st(2.8)} d="M11.5 20 9 8.5M28.5 20 31 8.5"/><rect x="5.5" y="19.5" width="29" height="12" rx="3" ${fo()}/><g fill="${c}"><circle cx="11.5" cy="25.5" r="1.7"/><circle cx="16.5" cy="25.5" r="1.7"/></g><path ${st(2.2, c)} d="M22 25.5h7"/>`],
|
||
// Briefumschlag
|
||
['#8B5CF6', (c) => `<rect x="5.5" y="10" width="29" height="20" rx="3" ${fo()}/><path ${st(2.4, c)} d="M8 12.8 20 22l12-9.2"/>`],
|
||
// Satellit
|
||
['#6D28D9', (c) => `<g transform="rotate(-35 20 20)"><path ${st(2.2)} d="M13 20h14"/><rect x="3.5" y="15.5" width="10" height="9" rx="1.2" ${fo(W, 0.85)}/><rect x="26.5" y="15.5" width="10" height="9" rx="1.2" ${fo(W, 0.85)}/><path ${st(1.4, c, 0.8)} d="M8.5 15.5v9M31.5 15.5v9"/><rect x="16" y="14.5" width="8" height="11" rx="2" ${fo()}/></g><path ${st(2.4, W, 0.7)} d="M7 30.5a6.5 6.5 0 0 0 4.5 4.5M5.5 25a12 12 0 0 0 9.5 9.5"/>`],
|
||
// Netzstecker mit Kabel
|
||
['#7E22CE', () => `<path ${st(3)} d="M15.5 13V6M24.5 13V6M20 25v3.5c0 3-2 5-5 5H9"/><rect x="11.5" y="12.5" width="17" height="13" rx="3.4" ${fo()}/>`],
|
||
// Netzwerkbuchse
|
||
['#9333EA', (c) => `<rect x="7" y="7.5" width="26" height="25" rx="3.6" ${fo()}/><path fill="${c}" d="M12 13.5h16V25h-4v3.5h-8V25h-4z"/><path ${st(1.8)} d="M15.2 13.5v4.5M18.4 13.5v4.5M21.6 13.5v4.5M24.8 13.5v4.5"/>`],
|
||
// zwei Sprechblasen
|
||
['#581C87', (c) => `<path ${fo(W, 0.6)} d="M8 6h15a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3h-9l-5 4v-4H8a3 3 0 0 1-3-3V9a3 3 0 0 1 3-3z"/><path ${fo()} stroke="${c}" stroke-width="2" d="M17 14h15a3 3 0 0 1 3 3v8a3 3 0 0 1-3 3h-2v5l-5.5-5H17a3 3 0 0 1-3-3v-8a3 3 0 0 1 3-3z"/>`],
|
||
// Mesh-Netz
|
||
['#4C1D95', () => {
|
||
const n = [0, 60, 120, 180, 240, 300].map((a) => pt(20, 20, 12.5, a));
|
||
return `<path ${st(2.2, W, 0.6)} d="M${n.map((p) => p.join(' ')).join('L')}z${n.map((p) => `M20 20L${p.join(' ')}`).join('')}"/><g ${fo()}>${n.map(([x, y]) => `<circle cx="${x}" cy="${y}" r="3"/>`).join('')}<circle cx="20" cy="20" r="4"/></g>`;
|
||
}],
|
||
// Rundsendung nach beiden Seiten (helle Platte)
|
||
['#C4B5FD', () => {
|
||
const d = '#2E1065';
|
||
const arc = (r, a) => { const [x1, y1] = pt(20, 20, r, a - 42), [x2, y2] = pt(20, 20, r, a + 42); return `M${x1} ${y1}A${r} ${r} 0 0 1 ${x2} ${y2}`; };
|
||
return `<circle cx="20" cy="20" r="3.8" fill="${d}"/><path ${st(3, d)} d="${arc(8.5, 90)}${arc(8.5, 270)}"/><path ${st(3, d, 0.6)} d="${arc(14.5, 90)}${arc(14.5, 270)}"/>`;
|
||
}, true],
|
||
// Papierflieger
|
||
['#7638D8', (c) => `<path ${fo()} d="M4.5 18.5 35 6.5l-6 25-8.5-6.2z"/><path ${fo(W, 0.7)} d="M18 23.5v9l5-5.4z"/><path ${st(2, c)} d="M34 7.5 18 23.5"/>`],
|
||
// Glocke
|
||
['#6A2BC4', () => `<path ${fo()} d="M20 6a2 2 0 0 1 2 2v.8a8.5 8.5 0 0 1 6.5 8.3V24l3 4.5h-23l3-4.5v-6.9a8.5 8.5 0 0 1 6.5-8.3V8a2 2 0 0 1 2-2z"/><path ${fo()} d="M16.5 30.5h7a3.5 3.5 0 0 1-7 0z"/><path ${st(2.4, W, 0.6)} d="M31 8a10 10 0 0 1 3.2 5.5M9 8a10 10 0 0 0-3.2 5.5"/>`],
|
||
// Funkgerät
|
||
['#8136E0', (c) => `<path ${st(2.8)} d="M16.5 12V4.5"/><rect x="12.5" y="11.5" width="15" height="24" rx="3" ${fo()}/><rect x="15.5" y="14.5" width="9" height="6" rx="1" fill="${c}"/><path ${st(2, c)} d="M16 25h8M16 28.5h8M16 32h8"/>`],
|
||
// SIM-Karte
|
||
['#5E1F9E', (c) => `<path ${fo()} d="M10 5h13.5l7 7v20.5A2.5 2.5 0 0 1 28 35H10a2.5 2.5 0 0 1-2.5-2.5v-25A2.5 2.5 0 0 1 10 5z"/><rect x="12" y="15" width="14" height="14" rx="2" fill="${c}"/><path ${st(1.8)} d="M19 15v14M12 22h7"/>`],
|
||
// Sinuswellen
|
||
['#7A2FD0', () => `<path ${st(2.4, W, 0.45)} d="M4 20c3 9 6 9 8 0s5-9 8 0 5 9 8 0 5-9 8 0"/><path ${st(3.4)} d="M4 20c3-9 6-9 8 0s5 9 8 0 5-9 8 0 5 9 8 0"/>`],
|
||
// Kettenglieder
|
||
['#4F1A8A', () => `<g transform="rotate(-45 20 20)"><rect x="4.5" y="14.5" width="18" height="11" rx="5.5" ${st(3.2)}/><rect x="17.5" y="14.5" width="18" height="11" rx="5.5" ${st(3.2, W, 0.7)}/></g>`],
|
||
// Tastenfeld
|
||
['#9146E6', () => [[9.5, 6, 1], [17, 6, 0.75], [24.5, 6, 1], [9.5, 13.5, 0.75], [17, 13.5, 1], [24.5, 13.5, 0.75], [9.5, 21, 1], [17, 21, 0.75], [24.5, 21, 1], [17, 28.5, 1]].map(([x, y, o]) => `<rect x="${x}" y="${y}" width="6" height="6" rx="1.6" ${fo(W, o)}/>`).join('')],
|
||
// Senden und Empfangen
|
||
['#672AB8', () => `<path ${st(3.4)} d="M14 32V9M8 15l6-6 6 6"/><path ${st(3.4, W, 0.65)} d="M26 8v23M20 25l6 6 6-6"/>`],
|
||
// Fernsehturm
|
||
['#5A1C96', (c) => `<path ${st(2.6)} d="M20 3.5v8M13 34.5h14"/><path ${fo()} d="M18 20h4l1.8 14.5h-7.6z"/><circle cx="20" cy="16" r="5.6" ${fo()}/><path ${st(1.8, c)} d="M14.6 16h10.8"/>`],
|
||
// Videokamera
|
||
['#8A3FE3', (c) => `<rect x="4.5" y="11.5" width="21" height="17" rx="3.6" ${fo()}/><path ${fo()} d="M27.5 18 35.5 13v14l-8-5z"/><circle cx="10.5" cy="17" r="2.2" fill="${c}"/>`],
|
||
// zwei Geräte verbunden
|
||
['#702CC0', (c) => `<rect x="4" y="8" width="11" height="18" rx="2.4" ${fo()}/><rect x="25" y="14" width="11" height="18" rx="2.4" ${fo()}/><g fill="${c}"><rect x="6.2" y="10.5" width="6.6" height="10.5" rx="1"/><rect x="27.2" y="16.5" width="6.6" height="10.5" rx="1"/></g><path ${st(2.6, W, 0.75)} d="M16.5 21.5l4-4.5v6.5l4-4.5"/>`],
|
||
// Leitstern im Ring
|
||
['#53208F', () => `<circle cx="20" cy="20" r="10.5" ${st(2.4, W, 0.55)}/><path ${fo()} d="${star(20, 20, 15.5, 4, 0.26)}"/>`],
|
||
// Radarschirm
|
||
['#7F35DB', (c) => `<circle cx="20" cy="20" r="14" ${fo()}/><circle cx="20" cy="20" r="8.5" ${st(1.6, c, 0.45)}/><path ${st(2.6, c)} d="M20 20 29.9 10.1"/><circle cx="20" cy="20" r="2.2" fill="${c}"/><circle cx="13.5" cy="25" r="2" fill="${c}"/>`],
|
||
// Lichtleiter laufen zusammen
|
||
['#9B4DEA', () => `<path ${st(3, W, 0.65)} d="M5 8.5c11 0 14 11.5 24 11.5M5 31.5c11 0 14-11.5 24-11.5"/><path ${st(3)} d="M5 20h24"/><circle cx="31.5" cy="20" r="4" ${fo()}/>`],
|
||
// Posteingang
|
||
['#5D24A8', () => `<path ${st(2.4, W, 0.6)} d="M5.5 22 9.5 12h3M34.5 22l-4-10h-3"/><path ${fo()} d="M5 22h8.5l2 4h9l2-4H35v8.5a3 3 0 0 1-3 3H8a3 3 0 0 1-3-3z"/><path ${st(3.2)} d="M20 5v12M14.5 11.5 20 17l5.5-5.5"/>`],
|
||
],
|
||
|
||
// ---------------------------------------------------------------- Logistik: Petrol
|
||
logistics: [
|
||
// Lastwagen
|
||
['#0F766E', (c) => {
|
||
const wheel = (x) => `<circle cx="${x}" cy="27" r="4.2" fill="${c}"/><circle cx="${x}" cy="27" r="2.9" ${fo()}/>`;
|
||
return `<rect x="4.5" y="10" width="19" height="15" rx="1.6" ${fo()}/><path ${fo(W, 0.85)} d="M24.5 14h5.6l4.4 5.5V25h-10z"/><path fill="${c}" d="M26.4 16h3l2.5 3.3h-5.5z"/>${wheel(11)}${wheel(29)}`;
|
||
}],
|
||
// Kisten auf Palette
|
||
['#0D9488', (c) => `<rect x="7.5" y="18" width="12" height="11" rx="1.2" ${fo()}/><rect x="20.5" y="18" width="12" height="11" rx="1.2" ${fo(W, 0.82)}/><rect x="13.5" y="7" width="13" height="10.5" rx="1.2" ${fo()}/><path ${st(1.6, c)} d="M13.5 18v4M26.5 18v4M20 7v4"/><rect x="6" y="30" width="28" height="3" rx="1" ${fo(W, 0.7)}/>`],
|
||
// Globus mit Umlaufbahn
|
||
['#115E59', (c) => `<circle cx="20" cy="20" r="8.6" ${fo()}/><ellipse cx="20" cy="20" rx="3.6" ry="8.6" ${st(1.4, c)}/><path ${st(1.4, c)} d="M11.4 20h17.2"/><g transform="rotate(-24 20 20)"><path ${st(2.4)} d="M4.5 20a15.5 6 0 0 0 31 0"/><path ${fo()} d="M35.5 15.6l3 4.8h-6z"/></g>`],
|
||
// Gabelstapler
|
||
['#134E4A', (c) => `<path ${st(2.6)} d="M28 8v24.5h7.5"/><rect x="29.6" y="20" width="6.4" height="9.5" rx="1" ${fo(W, 0.8)}/><path ${st(2.2)} d="M10 19v-7h6l2.4 7"/><path ${fo()} d="M7.5 19H19l2.5 4.5h4.5v8H7.5z"/><circle cx="12" cy="32" r="3.4" ${fo()} stroke="${c}" stroke-width="1.6"/><circle cx="22.5" cy="32" r="3.4" ${fo()} stroke="${c}" stroke-width="1.6"/>`],
|
||
// Zug von vorn
|
||
['#0E7C7B', (c) => `<path ${fo()} d="M12.5 7h15a3.5 3.5 0 0 1 3.5 3.5V25a3.5 3.5 0 0 1-3.5 3.5h-15A3.5 3.5 0 0 1 9 25V10.5A3.5 3.5 0 0 1 12.5 7z"/><rect x="12.5" y="10.5" width="15" height="7.5" rx="1.6" fill="${c}"/><circle cx="14" cy="23.5" r="1.8" fill="${c}"/><circle cx="26" cy="23.5" r="1.8" fill="${c}"/><path ${st(2.4)} d="M13.5 28.5 10 34M26.5 28.5 30 34"/>`],
|
||
// Route zwischen zwei Standorten
|
||
['#1F7A70', (c) => {
|
||
const pin = (x, y, r, o) => `<path ${fo(W, o)} d="M${x} ${f2(y + r * 2.1)}L${f2(x - r * 0.86)} ${f2(y + r * 0.6)}A${r} ${r} 0 1 1 ${f2(x + r * 0.86)} ${f2(y + r * 0.6)}z"/><circle cx="${x}" cy="${y}" r="${f2(r * 0.4)}" fill="${c}"/>`;
|
||
return `<path ${st(2.4, W, 0.75)} stroke-dasharray="0.1 4.4" d="M11 21c0 7 7 11 14 11"/>${pin(11, 10, 4.4, 0.8)}${pin(28, 17, 5.2, 1)}`;
|
||
}],
|
||
// Eilsendung: Uhr mit Tempo
|
||
['#14B8A6', () => {
|
||
const d = '#042F2E';
|
||
return `<circle cx="20" cy="20" r="10" ${st(2.8, d)}/><path ${st(2.4, d)} d="M20 14v6l4 2.5"/><path ${st(2.4, d, 0.7)} d="M3.5 15h3.5M2.5 20h4.5M3.5 25h3.5"/><path ${st(2.8, d)} d="M32 15l4 5-4 5"/>`;
|
||
}, true],
|
||
// Containerschiff
|
||
['#0B6B64', () => `<g ${fo(W, 0.85)}><rect x="8" y="15" width="6" height="6" rx=".6"/><rect x="15" y="15" width="6" height="6" rx=".6"/><rect x="22" y="15" width="6" height="6" rx=".6"/><rect x="11.5" y="8.5" width="6" height="6" rx=".6"/></g><rect x="29.5" y="10" width="4.5" height="11" rx="1" ${fo()}/><path ${fo()} d="M3.5 22h33l-4.5 9H8z"/><path ${st(2.2, W, 0.6)} d="M4.5 35c2.5-1.5 4.5-1.5 7.5 0s5 1.5 7.5 0 5-1.5 7.5 0 5 1.5 7.5 0"/>`],
|
||
// Container von vorn
|
||
['#12827A', (c) => `<rect x="5" y="9" width="30" height="22" rx="2" ${fo()}/><path ${st(2.2, c, 0.8)} d="M10.5 13.5v13M15.5 13.5v13M24.5 13.5v13M29.5 13.5v13"/><path ${st(1.6, c)} d="M20 9v22"/>`],
|
||
// Flugzeug von oben
|
||
['#0A5C57', () => `<path ${fo()} d="M20 4c1.6 0 2.4 1.6 2.4 3.5V15l11.6 7v3.5l-11.6-3.6V29l3.6 2.8V35L20 33.4 14 35v-3.2l3.6-2.8v-7.1L6 25.5V22l11.6-7V7.5C17.6 5.6 18.4 4 20 4z"/>`],
|
||
// Paket im Schrägbild
|
||
['#187C74', (c) => `<path ${fo(W, 0.8)} d="M20 6l13 6.5L20 19 7 12.5z"/><path ${fo()} d="M7 12.5 20 19v15L7 27.5z"/><path ${fo(W, 0.62)} d="M33 12.5 20 19v15l13-6.5z"/><path ${st(2.2, c, 0.7)} d="M13.5 9.2l13 6.5"/>`],
|
||
// Anker
|
||
['#0F8C82', () => `<circle cx="20" cy="8.5" r="3.2" ${st(2.6)}/><path ${st(3)} d="M20 11.7V33M13.5 17h13M8 22.5C9 29 13.5 33 20 33s11-4 12-10.5"/><path ${fo()} d="M5 24.5 8 18.5l3.6 5zM35 24.5 32 18.5l-3.6 5z"/>`],
|
||
// Turmdrehkran
|
||
['#136F6A', () => `<path ${st(2.8)} d="M12 34V6M4.5 10h31M12 6 4.5 10M12 6l23.5 4M7 34h10"/><path ${st(2)} d="M28 10v10"/><rect x="24" y="20" width="8" height="6.5" rx="1" ${fo()}/><rect x="4.5" y="11" width="5" height="4.5" rx=".8" ${fo(W, 0.75)}/>`],
|
||
// Sackkarre
|
||
['#0C4F4B', (c) => `<path ${st(3)} d="M9.5 5h4.5l4.5 24.5H34"/><rect x="19" y="11" width="13" height="15" rx="1.4" ${fo(W, 0.85)}/><path ${st(1.6, c, 0.7)} d="M19 18.5h13"/><circle cx="17.5" cy="31.5" r="3.6" ${fo()} stroke="${c}" stroke-width="1.6"/>`],
|
||
// Strichcode
|
||
['#179488', () => `<g ${fo()}>${[[6.5, 3], [11.5, 2], [15.5, 4], [21.5, 2], [25.5, 3], [30.5, 3]].map(([x, w]) => `<rect x="${x}" y="8" width="${w}" height="19" rx=".5"/>`).join('')}</g><path ${st(2.4, W, 0.6)} d="M7 32h26"/>`],
|
||
// Kompass (helle Platte)
|
||
['#5EEAD4', () => {
|
||
const d = '#042F2E';
|
||
return `<circle cx="20" cy="20" r="14" ${st(2.6, d)}/><path fill="${d}" d="M20 7.5l4.2 12.5h-8.4z"/><path ${fo(d, 0.5)} d="M20 32.5 15.8 20h8.4z"/><circle cx="20" cy="20" r="2" fill="#5EEAD4"/>`;
|
||
}, true],
|
||
// Lagerhalle mit Rolltor
|
||
['#0E6B6E', (c) => `<path ${fo()} d="M4 17 20 7l16 10v16.5H4z"/><rect x="11" y="19.5" width="18" height="14" fill="${c}"/><path ${st(2)} d="M11.5 23h17M11.5 27h17M11.5 31h17"/>`],
|
||
// Förderband
|
||
['#1A6E67', (c) => `<rect x="7" y="15" width="9" height="9" rx="1" ${fo()}/><rect x="19" y="9.5" width="12" height="14.5" rx="1" ${fo(W, 0.78)}/><rect x="4" y="25.5" width="32" height="7" rx="3.5" ${fo()}/><g fill="${c}">${[9, 15, 21, 27, 33].map((x) => `<circle cx="${x - 1.5}" cy="29" r="1.6"/>`).join('')}</g>`],
|
||
// Wegweiser
|
||
['#0F766E', () => `<path ${st(2.8)} d="M20 6v28M14 34h12"/><path ${fo()} d="M8.5 8.5h17l4 3.75-4 3.75h-17z"/><path ${fo(W, 0.75)} d="M31.5 19h-17l-4 3.75 4 3.75h17z"/>`],
|
||
// Verteilzentrum
|
||
['#0D9488', () => `<rect x="14.5" y="14.5" width="11" height="11" rx="1.8" ${fo()}/><path ${st(2.6)} d="M20 11.5V4.5M16.5 8 20 4.5 23.5 8M20 28.5v7M16.5 32l3.5 3.5 3.5-3.5M11.5 20h-7M8 16.5 4.5 20 8 23.5M28.5 20h7M32 16.5l3.5 3.5-3.5 3.5"/>`],
|
||
// Steuerrad
|
||
['#115E59', () => {
|
||
const sp = [0, 45, 90, 135, 180, 225, 270, 315];
|
||
return `<path ${st(2.4)} d="${sp.map((a) => { const [x1, y1] = pt(20, 20, 3, a), [x2, y2] = pt(20, 20, 13.2, a); return `M${x1} ${y1}L${x2} ${y2}`; }).join('')}"/><circle cx="20" cy="20" r="9" ${st(3.2)}/><g ${fo()}>${sp.map((a) => { const [x, y] = pt(20, 20, 14, a); return `<circle cx="${x}" cy="${y}" r="2.1"/>`; }).join('')}<circle cx="20" cy="20" r="3.2"/></g>`;
|
||
}],
|
||
// Drohne mit Paket
|
||
['#134E4A', (c) => `<path ${st(2.4)} d="M8 14h24M8 14v-4M32 14v-4M20 16v5M3.5 8.5h9M27.5 8.5h9"/><rect x="14" y="11.5" width="12" height="5" rx="2" ${fo()}/><rect x="13.5" y="21" width="13" height="12" rx="1.4" ${fo(W, 0.85)}/><path ${st(1.8, c, 0.7)} d="M20 21v5"/>`],
|
||
// Lieferschein auf Klemmbrett
|
||
['#0E7C7B', (c) => `<rect x="9" y="7" width="22" height="28" rx="3" ${fo()}/><rect x="15" y="4.5" width="10" height="5.5" rx="1.6" ${fo()} stroke="${c}" stroke-width="1.6"/><path ${st(2.2, c)} d="M13.5 17l2 2 3.5-3.5M13.5 25.5l2 2 3.5-3.5"/><path ${st(2.2, c, 0.6)} d="M22 17.5h5M22 26h5"/>`],
|
||
// Gleis von oben
|
||
['#1F7A70', () => `<path ${st(2.6, W, 0.6)} d="M9.5 8h21M9.5 14h21M9.5 20h21M9.5 26h21M9.5 32h21"/><path ${st(2.8)} d="M14 4v32M26 4v32"/>`],
|
||
// Kranhaken
|
||
['#0B5F5A', () => `<path ${st(2.6)} d="M20 3.5v7"/><rect x="15" y="9.5" width="10" height="7.5" rx="2" ${fo()}/><path ${st(3.6)} d="M20 17v8.5a5.5 5.5 0 0 1-11 0"/><path ${fo()} d="M6.4 26.5 9 20.5l2.6 6z"/>`],
|
||
// Route mit Wendepunkt
|
||
['#148C84', () => `<path ${st(3.2)} d="M8.5 33v-5a5.5 5.5 0 0 1 5.5-5.5h12.5a5.5 5.5 0 0 0 0-11H17"/><path ${fo()} d="M17.5 5.5v13l-7.5-6.5z"/><circle cx="8.5" cy="33" r="3.2" ${fo()}/>`],
|
||
// Packstation
|
||
['#10706A', (c) => `<rect x="6" y="5.5" width="28" height="29" rx="3" ${fo()}/><path ${st(1.8, c)} d="M15.33 5.5v29M24.66 5.5v29M6 15.2h28M6 24.8h28"/><rect x="25.6" y="16.1" width="7.5" height="7.8" fill="${c}"/><path ${fo()} d="M26.5 17v6l3-1.4v-3.2z"/>`],
|
||
// zugestelltes Paket
|
||
['#0A6660', (c) => `<rect x="4.5" y="13" width="22" height="20" rx="2" ${fo()}/><path ${st(2.2, c, 0.7)} d="M15.5 13v7"/><circle cx="28" cy="13" r="7.6" ${fo()} stroke="${c}" stroke-width="2"/><path ${st(2.4, c)} d="M24.6 13.2l2.4 2.4 4.4-4.6"/>`],
|
||
// Straße zum Horizont
|
||
['#1C8078', (c) => `<path ${fo()} d="M15.5 6h9L34 34H6z"/><path ${st(2.4, c)} d="M20 9.5v3.5M20 17v4.5M20 26v5.5"/>`],
|
||
// Luftschiff
|
||
['#0D5753', (c) => `<path ${fo()} d="M28 12l7-5.5v19L28 20z"/><ellipse cx="18" cy="16" rx="14" ry="7.6" ${fo()}/><path ${st(1.6, c, 0.55)} d="M6 16h24"/><path ${st(2)} d="M16 23v3M22 23v3"/><rect x="13.5" y="25.5" width="11" height="5" rx="1.6" ${fo(W, 0.85)}/>`],
|
||
// Fallschirm mit Paket
|
||
['#159A8E', () => `<path ${fo()} d="M5 17a15 12 0 0 1 30 0c-2.5-1.6-5-1.6-7.5 0-2.5-1.6-5-1.6-7.5 0-2.5-1.6-5-1.6-7.5 0-2.5-1.6-5-1.6-7.5 0z"/><path ${st(1.8, W, 0.75)} d="M6 17.5 15.5 26.5M34 17.5 24.5 26.5M20 17v9"/><rect x="15" y="26" width="10" height="9" rx="1.2" ${fo()}/>`],
|
||
// Sendungsverfolgung: Lupe über Paket
|
||
['#11645F', (c) => `<circle cx="17" cy="17" r="10.5" ${st(3)}/><path ${st(4.2)} d="M24.8 24.8 33 33"/><path ${fo()} d="M11.5 13.8 17 11l5.5 2.8v6.6L17 23.2l-5.5-2.8z"/><path ${st(1.4, c)} d="M11.5 13.8 17 16.6l5.5-2.8M17 16.6v6.6"/>`],
|
||
],
|
||
|
||
// ---------------------------------------------------------------- Medien: Karmin und Rose
|
||
media: [
|
||
// Filmklappe
|
||
['#E11D48', (c) => `<rect x="7" y="17" width="26" height="16" rx="2" ${fo()}/><path ${st(1.6, c, 0.6)} d="M11 24.5h18M11 28.5h11"/><g transform="rotate(-12 7 15.5)"><rect x="7" y="10" width="26" height="5.2" rx="1.2" ${fo()}/><path ${st(2.2, c)} d="M12.5 10.6l-2 4M18.5 10.6l-2 4M24.5 10.6l-2 4M30.5 10.6l-2 4"/></g>`],
|
||
// Mikrofon
|
||
['#BE123C', (c) => `<rect x="15" y="6" width="10" height="16" rx="5" ${fo()}/><path ${st(1.4, c)} d="M17 11h6M17 14.5h6"/><path ${st(2.6)} d="M11 18.5a9 9 0 0 0 18 0M20 27.5v5M15 33h10"/>`],
|
||
// Kopfhörer
|
||
['#9F1239', () => `<path ${st(3.2)} d="M8.5 24v-4a11.5 11.5 0 0 1 23 0v4"/><rect x="6" y="21" width="7.5" height="11.5" rx="3" ${fo()}/><rect x="26.5" y="21" width="7.5" height="11.5" rx="3" ${fo()}/>`],
|
||
// Zeitung
|
||
['#C81E3A', (c) => `<path ${st(2.4, W, 0.75)} d="M29 14h3v15a3 3 0 0 1-3 3"/><path ${fo()} d="M8 9h21v19a4 4 0 0 1-4 4H11a3 3 0 0 1-3-3z"/><path ${st(2.6, c)} d="M11.5 13.5h14"/><rect x="11.5" y="17" width="6" height="6" rx=".8" fill="${c}" fill-opacity=".75"/><path ${st(1.6, c, 0.6)} d="M20.5 18h5M20.5 22h5M11.5 27h14"/>`],
|
||
// Kamera
|
||
['#DB2742', (c) => `<path ${fo()} d="M14 12.5l2-3.5h8l2 3.5z"/><rect x="6" y="12" width="28" height="19" rx="3.5" ${fo()}/><circle cx="20" cy="21.5" r="6.4" fill="${c}"/><circle cx="20" cy="21.5" r="3.8" ${st(2, W, 0.85)}/><circle cx="29.5" cy="16" r="1.3" fill="${c}"/>`],
|
||
// Noten
|
||
['#881337', () => `<ellipse cx="12.8" cy="28.2" rx="4" ry="3" transform="rotate(-20 12.8 28.2)" ${fo()}/><ellipse cx="26.8" cy="25.2" rx="4" ry="3" transform="rotate(-20 26.8 25.2)" ${fo()}/><path ${st(2.6)} d="M16.4 27V11M30.4 24V8"/><path ${fo()} d="M15.1 11 31.7 7.4v4.4l-16.6 3.6z"/>`],
|
||
// Filmrolle
|
||
['#F43F5E', (c) => {
|
||
const holes = [0, 72, 144, 216, 288].map((a) => { const [x, y] = pt(20, 20, 7.2, a); return `<circle cx="${x}" cy="${y}" r="3"/>`; }).join('');
|
||
return `<path ${st(3, W, 0.7)} d="M20 33h13"/><circle cx="20" cy="20" r="13" ${fo()}/><g fill="${c}">${holes}<circle cx="20" cy="20" r="1.8"/></g>`;
|
||
}],
|
||
// Abspielfenster
|
||
['#D1344F', (c) => `<rect x="4.5" y="8" width="31" height="24" rx="6.5" ${fo()}/><path fill="${c}" d="M16.5 13.8v12.4L27 20z"/>`],
|
||
// Fernseher mit Antenne
|
||
['#A3153A', (c) => `<path ${st(2.4)} d="M14 4.5l6 6 6-6M11 34.5h18"/><rect x="5" y="10.5" width="30" height="21" rx="3.5" ${fo()}/><rect x="8.5" y="14" width="17" height="14" rx="2" fill="${c}"/><g fill="${c}"><circle cx="30" cy="17.5" r="1.7"/><circle cx="30" cy="23.5" r="1.7"/></g>`],
|
||
// Kofferradio
|
||
['#B91C3C', (c) => `<path ${st(2.4)} d="M10 13 27 5"/><rect x="5" y="13" width="30" height="21" rx="3" ${fo()}/><circle cx="14" cy="23.5" r="5.6" fill="${c}"/><circle cx="14" cy="23.5" r="2.2" ${fo()}/><path ${st(2.2, c)} d="M23.5 19.5h7M23.5 23.5h7M23.5 27.5h7"/>`],
|
||
// Megafon
|
||
['#E0315A', () => `<path ${fo()} d="M11.5 23.5h4.6l2 8.5h-4.6z"/><path ${fo()} d="M7 15.5h5L26.5 8v24L12 24.5H7a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2z"/><path ${st(2.6, W, 0.7)} d="M30.5 15a7 7 0 0 1 0 10"/>`],
|
||
// Preispokal
|
||
['#9B1B35', (c) => `<path ${st(2.6)} d="M12 9H8.5a4 4 0 0 0 4 7.5M28 9h3.5a4 4 0 0 1-4 7.5"/><path ${fo()} d="M12 6h16v8a8 8 0 0 1-16 0zM18 21.5h4v6.5h-4z"/><rect x="12.5" y="27.5" width="15" height="6" rx="1.4" ${fo()}/><path fill="${c}" d="${star(20, 12.5, 4, 5, 0.45)}"/>`],
|
||
// Schallplatte
|
||
['#C7254E', (c) => `<circle cx="20" cy="20" r="14.5" ${fo()}/><circle cx="20" cy="20" r="11" ${st(1.4, c, 0.45)}/><circle cx="20" cy="20" r="8" ${st(1.4, c, 0.45)}/><circle cx="20" cy="20" r="4.8" fill="${c}"/><circle cx="20" cy="20" r="1.5" ${fo()}/>`],
|
||
// offenes Buch
|
||
['#F05370', () => `<path ${fo()} d="M19 10.5C15.5 8 10.5 7.5 5 8.5v22c5.5-1 10.5-.5 14 2z"/><path ${fo(W, 0.72)} d="M21 10.5c3.5-2.5 8.5-3 14-2v22c-5.5-1-10.5-.5-14 2z"/>`],
|
||
// Federspitze
|
||
['#8C1531', (c) => `<rect x="14" y="4.5" width="12" height="4.5" rx="1.2" ${fo(W, 0.75)}/><path ${fo()} d="M14 10.5h12l3 12.5-9 13-9-13z"/><path ${st(2, c)} d="M20 35V25"/><circle cx="20" cy="22.5" r="2.4" fill="${c}"/>`],
|
||
// Lautsprecher mit Schall
|
||
['#D9304B', () => `<path ${fo()} d="M5 15h6l9-7.5v25L11 25H5z"/><path ${st(2.8)} d="M25 15a7 7 0 0 1 0 10"/><path ${st(2.8, W, 0.6)} d="M29.5 10.5a13 13 0 0 1 0 19"/>`],
|
||
// Bild mit Berg und Sonne
|
||
['#B4173E', (c) => `<rect x="5" y="8" width="30" height="24" rx="3.5" ${fo()}/><path fill="${c}" d="M8.5 28.5 16 18l5 6.5 3.5-4 7 8z"/><circle cx="26" cy="14.5" r="2.8" fill="${c}"/>`],
|
||
// Equalizer
|
||
['#E11D48', () => [[7, 8, 0.7], [12.2, 18, 0.85], [17.4, 26, 1], [22.6, 14, 0.85], [27.8, 22, 1], [33, 10, 0.7]].map(([x, h, o]) => `<path ${st(3.4, W, o)} d="M${x} ${20 - h / 2}v${h}"/>`).join('')],
|
||
// Stern mit Funkeln (helle Platte)
|
||
['#FDA4AF', () => {
|
||
const d = '#4C0519';
|
||
return `<path fill="${d}" d="${star(19, 22, 13.5, 5, 0.46)}"/><path ${fo(d, 0.7)} d="${star(32.5, 8, 4.4, 4, 0.32)}"/>`;
|
||
}, true],
|
||
// Popcorn
|
||
['#BE123C', (c) => `<g ${fo()}><circle cx="14" cy="13" r="4"/><circle cx="20" cy="10.5" r="4.4"/><circle cx="26" cy="13" r="4"/></g><path ${fo()} stroke="${c}" stroke-width="1.6" d="M9 15h22l-2.5 19.5h-17z"/><path ${st(2.4, c, 0.5)} d="M15.3 17.5l.9 15M24.7 17.5l-.9 15"/>`],
|
||
// Eintrittskarte
|
||
['#9F1239', (c) => `<g transform="rotate(-12 20 20)"><path ${fo()} d="M5.5 11h29v5.5a3.5 3.5 0 0 0 0 7V29h-29v-5.5a3.5 3.5 0 0 0 0-7z"/><path ${st(1.8, c)} stroke-dasharray="2 2.6" d="M26 13.5v13"/><path fill="${c}" d="${star(16, 20, 4.8, 5, 0.45)}"/></g>`],
|
||
// Kassette
|
||
['#C81E3A', (c) => `<rect x="4.5" y="9" width="31" height="22" rx="3" ${fo()}/><rect x="9" y="13" width="22" height="9" rx="4.5" fill="${c}"/><circle cx="14" cy="17.5" r="2.4" ${fo()}/><circle cx="26" cy="17.5" r="2.4" ${fo()}/><path fill="${c}" d="M11 31l2-5h14l2 5z"/>`],
|
||
// Vorspulen
|
||
['#DB2742', () => `<path ${fo()} d="M5 10.5v19l15-9.5z"/><path ${fo(W, 0.7)} d="M20 10.5v19l15-9.5z"/>`],
|
||
// Filmstreifen
|
||
['#881337', (c) => `<g transform="rotate(-30 20 20)"><rect x="1" y="12" width="38" height="16" rx="1.6" ${fo()}/><g fill="${c}">${[3, 8, 13, 18, 23, 28, 33].map((x) => `<rect x="${x + 0.7}" y="13.4" width="2.6" height="2.4" rx=".5"/><rect x="${x + 0.7}" y="24.2" width="2.6" height="2.4" rx=".5"/>`).join('')}<rect x="5" y="17.4" width="13" height="5.2" rx=".8" fill-opacity=".6"/><rect x="22" y="17.4" width="13" height="5.2" rx=".8" fill-opacity=".6"/></g></g>`],
|
||
// Aufnahme
|
||
['#F43F5E', () => `<circle cx="20" cy="20" r="14" ${st(3)}/><circle cx="20" cy="20" r="8" ${fo()}/>`],
|
||
// Schreibfeder
|
||
['#A81B40', (c) => `<path ${fo()} d="M33 5C22 6 13 13 10.5 25.5L14 29C26 26 32 17 33 5z"/><path ${st(1.8, c)} d="M30 9 13 26"/><path ${st(2.6)} d="M12 27.5 6 34"/>`],
|
||
// Malerpalette
|
||
['#CF2850', (c) => `<path ${fo()} d="M20 5C11 5 5 11.5 5 19c0 8 6.5 15 14.5 15 3 0 3.5-2.2 2.5-4-1.2-2 0-4 2.5-4H29c4 0 6-2.5 6-6.5C35 11 28.5 5 20 5z"/><g fill="${c}"><circle cx="12.5" cy="20" r="2.4"/><circle cx="14.5" cy="12.5" r="2.4"/><circle cx="22" cy="10.5" r="2.4"/><circle cx="28.5" cy="15.5" r="2.4"/></g>`],
|
||
// Spielkonsole
|
||
['#7F1230', (c) => `<path ${fo()} d="M12 12h16c4 0 6.5 3 7 7l1 7.5c.4 3-1.5 5-3.8 5-1.8 0-3-1-4.2-2.6L26 27H14l-2 1.9C10.8 30.5 9.6 31.5 7.8 31.5c-2.3 0-4.2-2-3.8-5L5 19c.5-4 3-7 7-7z"/><path ${st(2.2, c)} d="M9.5 20.5h6M12.5 17.5v6"/><g fill="${c}"><circle cx="26" cy="18" r="1.8"/><circle cx="29.5" cy="21.6" r="1.8"/></g>`],
|
||
// Lesezeichen
|
||
['#E8435F', (c) => `<path ${fo()} d="M11 5h18v30l-9-7-9 7z"/><path fill="${c}" d="${star(20, 15.5, 5, 5, 0.45)}"/>`],
|
||
// Filmprojektor
|
||
['#B01E44', (c) => `<circle cx="12.5" cy="11" r="6" ${fo()}/><circle cx="25.5" cy="11" r="6" ${fo(W, 0.8)}/><circle cx="12.5" cy="11" r="1.7" fill="${c}"/><circle cx="25.5" cy="11" r="1.7" fill="${c}"/><rect x="5.5" y="19" width="22" height="13" rx="2.4" ${fo()}/><path ${fo(W, 0.6)} d="M28 23l7-3.5v12L28 28z"/>`],
|
||
// Bühne mit Vorhang
|
||
['#951838', () => `<path ${fo()} d="M4.5 5h31v4.5c-2.6 1.6-5.15 1.6-7.75 0-2.6 1.6-5.15 1.6-7.75 0-2.6 1.6-5.15 1.6-7.75 0-2.6 1.6-5.15 1.6-7.75 0zM5 11h10c-.5 5.5-2.6 8.6-6 10.2 2.4 3.2 3.4 7.5 3.4 12.3H5zM35 11H25c.5 5.5 2.6 8.6 6 10.2-2.4 3.2-3.4 7.5-3.4 12.3H35z"/><path ${fo(W, 0.6)} d="M16 33.5h8l1.5 2h-11z"/>`],
|
||
// Mischpult
|
||
['#D42046', () => `<path ${st(2.2, W, 0.55)} d="M11 6v28M20 6v28M29 6v28"/><g ${fo()}><rect x="7" y="20" width="8" height="5" rx="1.6"/><rect x="16" y="10" width="8" height="5" rx="1.6"/><rect x="25" y="25" width="8" height="5" rx="1.6"/></g>`],
|
||
],
|
||
|
||
// ---------------------------------------------------------------- Grundstoffe und Chemie: Gelbgrün
|
||
materials: [
|
||
// Kristallgruppe
|
||
['#4D7C0F', (c) => `<path ${fo(W, 0.65)} d="M11.5 14 15 19l-1.5 13-5-11z"/><path ${fo(W, 0.65)} d="M28.5 14 25 19l1.5 13 5-11z"/><path ${fo()} d="M20 5l5.2 9.5L20 34l-5.2-19.5z"/><path ${st(1.2, c, 0.55)} d="M14.8 14.5h10.4M20 5v29"/>`],
|
||
// Atom
|
||
['#65A30D', () => `${[0, 60, 120].map((a) => `<ellipse cx="20" cy="20" rx="13" ry="4.8" transform="rotate(${a} 20 20)" ${st(2.2)}/>`).join('')}<circle cx="20" cy="20" r="3.2" ${fo()}/>`],
|
||
// Stahlband-Rolle
|
||
['#3F6212', (c) => `<rect x="20" y="29.5" width="14.5" height="3.5" rx="1" ${fo(W, 0.8)}/><circle cx="20" cy="20" r="13" ${fo()}/><circle cx="20" cy="20" r="9" ${st(1.4, c, 0.6)}/><circle cx="20" cy="20" r="5.4" ${st(1.4, c, 0.6)}/><circle cx="20" cy="20" r="2.4" fill="${c}"/>`],
|
||
// Polymerkette
|
||
['#5B7F1A', () => {
|
||
const p = [[7, 25], [13.5, 15], [20, 25], [26.5, 15], [33, 25]];
|
||
return `<path ${st(2.6)} d="M${p.map((x) => x.join(' ')).join('L')}M13.5 15V8.5M26.5 15V8.5"/>${p.map(([x, y], i) => `<circle cx="${x}" cy="${y}" r="3.2" ${fo(W, i % 2 ? 0.75 : 1)}/>`).join('')}<circle cx="13.5" cy="8" r="2.2" ${fo(W, 0.75)}/><circle cx="26.5" cy="8" r="2.2" ${fo(W, 0.75)}/>`;
|
||
}],
|
||
// Spitzhacke
|
||
['#365314', () => `<g transform="rotate(-38 20 20)"><path ${st(3.4)} d="M7 14.5c7.5-5 18.5-5 26 0"/><path ${st(3.2)} d="M20 11v23"/><rect x="17.2" y="9" width="5.6" height="5" rx="1.2" ${fo()}/></g>`],
|
||
// Waben
|
||
['#6E8B1E', () => [[14, 25, 1], [26, 25, 0.72], [20, 14.6, 0.86]].map(([x, y, o]) => `<path ${fo(W, o)} d="${poly(x, y, 6.4, 6)}"/>`).join('')],
|
||
// Ziegelmauer (helle Platte)
|
||
['#84CC16', () => {
|
||
const rows = [[8, [[6, 13.5], [20.5, 13.5]]], [14.2, [[6, 6.5], [13.5, 13], [27.5, 6.5]]], [20.4, [[6, 13.5], [20.5, 13.5]]], [26.6, [[6, 6.5], [13.5, 13], [27.5, 6.5]]]];
|
||
return `<g fill="#1A2E05">${rows.map(([y, bricks]) => bricks.map(([x, w]) => `<rect x="${x}" y="${y}" width="${w}" height="5" rx="1"/>`).join('')).join('')}</g>`;
|
||
}, true],
|
||
// Erlenmeyerkolben
|
||
['#557A12', (c) => `<path ${fo()} d="M16 5h8v2.4h-1v8.2l9.4 14.6c1.3 2-.1 4.3-2.5 4.3H10.1c-2.4 0-3.8-2.3-2.5-4.3L17 15.6V7.4h-1z"/><path ${st(1.8, c, 0.6)} d="M13 22h14"/><g fill="${c}"><circle cx="17" cy="28" r="2"/><circle cx="23" cy="25.5" r="1.5"/></g>`],
|
||
// Reagenzgläser im Ständer
|
||
['#4A6B10', () => [[8, 17], [17, 11], [26, 20]].map(([x, l]) => `<path ${fo(W, 0.4)} d="M${x} 5.5h6v22a3 3 0 0 1-6 0z"/><path ${fo()} d="M${x} ${l}h6v${27.5 - l}a3 3 0 0 1-6 0z"/>`).join('') + `<rect x="4.5" y="22" width="31" height="3.6" rx="1" ${fo()}/><path ${st(2.6)} d="M6.5 25.6V34.5M33.5 25.6V34.5"/>`],
|
||
// Barren gestapelt
|
||
['#6B8E23', () => [[8.5, 27, 1], [22, 27, 0.75], [15.25, 18.5, 0.9]].map(([x, y, o]) => `<path ${fo(W, o)} d="M${x} ${y}h9.5l2.5 7H${x - 2.5}z"/>`).join('')],
|
||
// Baumstämme gestapelt
|
||
['#3D5C0F', (c) => [[13, 26.5], [27, 26.5], [20, 14.5]].map(([x, y]) => `<circle cx="${x}" cy="${y}" r="6.6" ${fo()}/><circle cx="${x}" cy="${y}" r="3.6" ${st(1.4, c, 0.6)}/><circle cx="${x}" cy="${y}" r="1.1" fill="${c}"/>`).join('')],
|
||
// Blatt
|
||
['#5E8C15', (c) => `<path ${fo()} d="M7 33C7 17 16 7 33 7c0 17-10 26-26 26z"/><path ${st(2, c)} d="M8 32 25 15M16.5 23.5v-5.5M16.5 23.5h5.5"/>`],
|
||
// Fass
|
||
['#48701A', (c) => `<path ${fo()} d="M11.5 6h17c1.5 4.5 2.2 9 2.2 14s-.7 9.5-2.2 14h-17c-1.5-4.5-2.2-9-2.2-14s.7-9.5 2.2-14z"/><path ${st(2, c)} d="M10 13.5h20M10 26.5h20"/><circle cx="24.5" cy="9.5" r="1.4" fill="${c}"/>`],
|
||
// Amboss
|
||
['#739A1C', () => `<path ${fo()} d="M4 11h24c4.5 0 8 1.4 8 3.2-3.5 0-6.8 1-7.8 4.3-.7 2.2-2.2 3.5-4.2 3.5v3.5h4v5H12v-5h4V22c-3.6 0-5.2-3-6.2-6.4C9.2 13.8 5.4 12.6 4 11z"/><path ${st(2.4, W, 0.6)} d="M9 34.5h22"/>`],
|
||
// Lore mit Erz
|
||
['#2F4A0C', (c) => `<path ${fo(W, 0.7)} d="M8.5 15l3-5 4 2.5 4-4.5 5 3.5 3-2 4 5.5z"/><path ${fo()} d="M5 15h30l-3.5 13h-23z"/><g ${fo()} stroke="${c}" stroke-width="1.4"><circle cx="13" cy="30.5" r="3.2"/><circle cx="27" cy="30.5" r="3.2"/></g><path ${st(2.2)} d="M3 35h34"/>`],
|
||
// Benzolring
|
||
['#58761A', () => `<path ${st(2.8)} d="${poly(20, 20, 13, 6)}"/><circle cx="20" cy="20" r="6.4" ${st(2.6, W, 0.75)}/><g ${fo()}>${[0, 60, 120, 180, 240, 300].map((a) => { const [x, y] = pt(20, 20, 13, a); return `<circle cx="${x}" cy="${y}" r="2.6"/>`; }).join('')}</g>`],
|
||
// Silos
|
||
['#4F7A1F', () => `<path ${fo(W, 0.78)} d="M21 34V11.5a6 6 0 0 1 12 0V34z"/><path ${fo()} d="M7 34V18a5.5 5.5 0 0 1 11 0v16z"/><path ${st(2.2)} d="M18 12.5h3M4.5 34.5h31"/>`],
|
||
// Zementsack
|
||
['#5C8A10', (c) => `<path ${fo()} d="M10 8c3 1.5 17 1.5 20 0l2 24.5c-4 1.8-20 1.8-24 0z"/><path ${st(2, c, 0.6)} d="M10.5 13c4 1.2 15 1.2 19 0"/><rect x="14.5" y="18" width="11" height="8.5" rx="1.4" fill="${c}"/>`],
|
||
// Pipette mit Tropfen
|
||
['#426614', () => `<g transform="rotate(35 20 20)"><rect x="16.2" y="2.5" width="7.6" height="9" rx="3.2" ${fo()}/><path ${fo(W, 0.85)} d="M17.4 12.5h5.2V25L20 30l-2.6-5z"/></g><path ${fo()} d="${drop(11.5, 30.5, 2.6)}"/>`],
|
||
// Berg mit Stollen
|
||
['#6A9418', (c) => `<path ${fo()} d="M3 34 15 10l5 7 4-5 13 22z"/><path fill="${c}" d="M15 34v-5.5a5 5 0 0 1 10 0V34z"/><path ${st(1.8, c, 0.55)} d="M11.5 17 15 10l2.6 3.6"/>`],
|
||
// Kristallgitter
|
||
['#3A5711', () => {
|
||
const f = [[8, 14], [24, 14], [24, 30], [8, 30]], b = f.map(([x, y]) => [x + 8, y - 8]);
|
||
const sq = (q) => `M${q.map((p) => p.join(' ')).join('L')}z`;
|
||
return `<path ${st(2, W, 0.55)} d="${sq(b)}"/><path ${st(2.2, W, 0.8)} d="${f.map((p, i) => `M${p.join(' ')}L${b[i].join(' ')}`).join('')}"/><path ${st(2.6)} d="${sq(f)}"/><g ${fo()}>${[...f, ...b].map(([x, y]) => `<circle cx="${x}" cy="${y}" r="2.5"/>`).join('')}</g>`;
|
||
}],
|
||
// Schmelztiegel gießt
|
||
['#618720', () => `<path ${st(3)} d="M25.5 14c1.4 3 1.6 7 1.6 11.5"/><g transform="rotate(30 15 14)"><path ${fo()} d="M6.5 7h17l-2.2 14.5H8.7z"/></g><path ${fo(W, 0.75)} d="M18.5 27h17v7.5h-17z"/>`],
|
||
// Stahlträger
|
||
['#4B6E0E', () => `<path ${fo()} d="M8 6h24v6h-9v16h9v6H8v-6h9V12H8z"/>`],
|
||
// Edelstein
|
||
['#76A21E', (c) => `<path ${fo()} d="M11 8h18l6 8-15 17L5 16z"/><path ${st(1.6, c, 0.7)} d="M5.5 16h29M14.5 8.5 12 16l8 16 8-16-2.5-7.5"/>`],
|
||
// Nadelbäume
|
||
['#53751B', () => `<path ${fo(W, 0.7)} d="M29 12l5.6 7.7h-2.8l4.2 6.3h-3.5l3.5 4.9H22l3.5-4.9H22l4.2-6.3h-2.8z"/><path ${st(2.6, W, 0.7)} d="M29 31v3.5"/><path ${fo()} d="M15 5l8 11h-4l6 9h-5l5 7H5l5-7H5l6-9H7z"/><path ${st(3)} d="M15 32v3.5"/>`],
|
||
// Hochofen
|
||
['#4D7C0F', (c) => `<path ${fo(W, 0.7)} d="M20 2c2.2 2.5 3.2 4.2 0 6.6-3.2-2.4-2.2-4.1 0-6.6z"/><path ${st(2.8, W, 0.7)} d="M24 12.5c6 0 9.5 2.5 9.5 7.5v14.5"/><path ${fo()} d="M10.5 34.5 13 17l3-7.5h8l3 7.5 2.5 17.5z"/><path ${st(1.8, c, 0.7)} d="M13 17h14M12 25h16"/><path fill="${c}" d="M16.5 34.5v-4a3.5 3.5 0 0 1 7 0v4z"/>`],
|
||
// Sechskantmutter (helle Platte)
|
||
['#A3E635', () => `<path fill="#1A2E05" fill-rule="evenodd" d="${poly(20, 20, 14.5, 6, 30)}M26.2 20a6.2 6.2 0 1 0-12.4 0 6.2 6.2 0 1 0 12.4 0z"/>`, true],
|
||
// Granulat-Haufen
|
||
['#65A30D', () => [[9.5, 31, 1], [16.5, 31, 0.75], [23.5, 31, 1], [30.5, 31, 0.75], [13, 24.5, 0.75], [20, 24.5, 1], [27, 24.5, 0.75], [16.5, 18, 1], [23.5, 18, 0.75], [20, 11.5, 1]].map(([x, y, o]) => `<circle cx="${x}" cy="${y}" r="3.2" ${fo(W, o)}/>`).join('')],
|
||
// Drahtspule
|
||
['#3F6212', (c) => `<rect x="11" y="11" width="18" height="18" ${fo(W, 0.8)}/><path ${st(1.6, c, 0.6)} d="M11 15.5h18M11 20h18M11 24.5h18"/><rect x="6" y="7" width="5.5" height="26" rx="1.6" ${fo()}/><rect x="28.5" y="7" width="5.5" height="26" rx="1.6" ${fo()}/><path ${st(2.4)} d="M29 11.5c3.5-1.5 5.5-3.5 6.5-6"/>`],
|
||
// Elementkacheln
|
||
['#5B7F1A', (c) => `<rect x="6" y="6" width="13" height="13" rx="2.6" ${fo()}/><rect x="22.2" y="7.2" width="11.6" height="11.6" rx="2.2" ${st(2.4, W, 0.7)}/><rect x="7.2" y="22.2" width="11.6" height="11.6" rx="2.2" ${st(2.4, W, 0.7)}/><rect x="21" y="21" width="13" height="13" rx="2.6" ${fo()}/><circle cx="12.5" cy="12.5" r="2" fill="${c}"/><circle cx="27.5" cy="27.5" r="2" fill="${c}"/>`],
|
||
// Mörser und Stößel
|
||
['#365314', () => `<path ${st(3.6)} d="M21.5 16.5 31 5"/><path ${fo()} d="M5.5 18.5h29c0 7.5-5 12.5-11 13.5V34.5h-7V32c-6-1-11-6-11-13.5z"/>`],
|
||
// Erzbrocken
|
||
['#6E8B1E', (c) => `<path ${fo()} d="M8.5 14 18 6.5l11 3 5.5 10-4 11.5-12 3-9.5-6.5z"/><path ${st(1.8, c, 0.6)} d="M18 6.5l3 10.5 13.5 2.5M21 17l-8.5 16.5M21 17 8.5 14"/>`],
|
||
],
|
||
|
||
// ---------------------------------------------------------------- Gesundheit: Smaragd
|
||
health: [
|
||
// Stethoskop
|
||
['#059669', (c) => `<path ${st(2.6)} d="M12 7.5v6.5a6 6 0 0 0 12 0V7.5M18 20v4a6 6 0 0 0 12 0v-2"/><g ${fo()}><circle cx="12" cy="7.2" r="1.9"/><circle cx="24" cy="7.2" r="1.9"/><circle cx="30" cy="19" r="3.6"/></g><circle cx="30" cy="19" r="1.3" fill="${c}"/>`],
|
||
// Herz mit Pulslinie
|
||
['#047857', (c) => `<path ${fo()} d="M20 32.5S7 25 7 15.8A6.3 6.3 0 0 1 20 12a6.3 6.3 0 0 1 13 3.8C33 25 20 32.5 20 32.5z"/><path ${st(2, c)} d="M9 19.5h5.5l2-3.8 3 7.6 2.4-5.4 1.6 1.6H31"/>`],
|
||
// Kreuz im Rahmen
|
||
['#16A34A', () => `<rect x="6.5" y="6.5" width="27" height="27" rx="8" ${st(2.4, W, 0.55)}/><path ${fo()} d="M17 10.5h6v6.5h6.5v6H23v6.5h-6V23h-6.5v-6H17z"/>`],
|
||
// Klinik
|
||
['#15803D', (c) => `<path ${fo()} d="M7.5 33V15h8V8.5h9V15h8v18z"/><path ${st(2, c)} d="M20 10v5.6M17.2 12.8h5.6"/><g fill="${c}"><rect x="10.5" y="19" width="3" height="3" rx=".5"/><rect x="26.5" y="19" width="3" height="3" rx=".5"/><rect x="10.5" y="25" width="3" height="3" rx=".5"/><rect x="26.5" y="25" width="3" height="3" rx=".5"/><rect x="17.5" y="26" width="5" height="7" rx=".8"/></g>`],
|
||
// Pflaster über Kreuz
|
||
['#065F46', (c) => `<g transform="rotate(45 20 20)"><rect x="5" y="15" width="30" height="10" rx="5" ${fo(W, 0.5)}/></g><g transform="rotate(-45 20 20)"><rect x="5" y="15" width="30" height="10" rx="5" ${fo()}/><rect x="15.5" y="15" width="9" height="10" fill="${c}" fill-opacity=".22"/><g fill="${c}"><circle cx="18" cy="18.2" r=".9"/><circle cx="22" cy="18.2" r=".9"/><circle cx="18" cy="21.8" r=".9"/><circle cx="22" cy="21.8" r=".9"/></g></g>`],
|
||
// Zahn
|
||
['#0F8A5F', (c) => `<path ${fo()} d="M13 8c-3.5 0-5.5 3-5.5 6.5 0 4 2 6 2.8 9.5.8 3.6 1.2 9 3.7 9 2.3 0 2.5-6.5 6-6.5s3.7 6.5 6 6.5c2.5 0 2.9-5.4 3.7-9 .8-3.5 2.8-5.5 2.8-9.5C32.5 11 30.5 8 27 8c-2.8 0-4.2 1.5-7 1.5S15.8 8 13 8z"/><path ${st(1.6, c, 0.6)} d="M12.2 14c.4-1.7 1.5-2.6 3-2.8"/>`],
|
||
// Auge (helle Platte)
|
||
['#10B981', () => {
|
||
const d = '#022C22';
|
||
return `<path fill="${d}" d="M4.5 20S10 10.5 20 10.5 35.5 20 35.5 20 30 29.5 20 29.5 4.5 20 4.5 20z"/><circle cx="20" cy="20" r="6" fill="#10B981"/><circle cx="20" cy="20" r="2.6" fill="${d}"/><circle cx="22" cy="17.8" r="1.1" fill="#fff"/>`;
|
||
}, true],
|
||
// Spritze
|
||
['#0A7A55', (c) => `<g transform="rotate(45 20 20)"><path ${st(2.6)} d="M20 26v9.5M20 9V4.5M15.5 4.5h9M13.5 9h13"/><rect x="15.5" y="9" width="9" height="17" rx="1.4" ${fo()}/><path ${st(1.6, c)} d="M15.5 14h4M15.5 18h4M15.5 22h4"/></g>`],
|
||
// Tablettenblister
|
||
['#12805C', (c) => `<rect x="6" y="7" width="28" height="26" rx="4" ${fo()}/><g fill="${c}">${[13, 20, 27].map((x) => `<circle cx="${x}" cy="14" r="3.3"/>`).join('')}<circle cx="13" cy="26" r="3.3"/><circle cx="20" cy="26" r="3.3"/></g><circle cx="27" cy="26" r="2.6" ${st(1.6, c)}/>`],
|
||
// DNA-Doppelhelix
|
||
['#0B6B4F', () => `<path ${st(2.2, W, 0.8)} d="M15.5 8h9M15.5 32h9M17 14.5h6M17 25.5h6"/><path ${st(2.8, W, 0.6)} d="M27 4c0 8-14 8-14 16s14 8 14 16"/><path ${st(2.8)} d="M13 4c0 8 14 8 14 16s-14 8-14 16"/>`],
|
||
// Fieberthermometer
|
||
['#138A4E', (c) => `<path ${fo()} d="M15.5 9a4.5 4.5 0 0 1 9 0v13.2a7.5 7.5 0 1 1-9 0z"/><circle cx="20" cy="28" r="3.6" fill="${c}"/><path ${st(2.6, c)} d="M20 26V11.5"/><path ${st(2.2, W, 0.7)} d="M28 10h4M28 15h4M28 20h4"/>`],
|
||
// Krankenbett
|
||
['#067A5B', () => `<path ${st(3)} d="M6 8v26.5M6 26.5h28v8"/><rect x="6" y="19.5" width="28" height="7" ${fo()}/><rect x="9" y="14" width="8.5" height="5" rx="2.2" ${fo(W, 0.8)}/><path ${st(2.4, W, 0.65)} d="M27 6.5v8M23 10.5h8"/>`],
|
||
// Krankenwagen
|
||
['#0E6E48', (c) => `<path ${fo(W, 0.7)} d="M10 7.5h6V11h-6z"/><path ${fo()} d="M3.5 11h20v4h6l5.5 6v8.5H3.5z"/><path fill="${c}" d="M25 17h4.5l3.6 4H25z"/><path ${st(2.4, c)} d="M13.5 15v8M9.5 19h8"/><g ${fo()} stroke="${c}" stroke-width="1.6"><circle cx="10" cy="30" r="3.6"/><circle cx="28" cy="30" r="3.6"/></g>`],
|
||
// Brille
|
||
['#1A9160', () => `<path ${st(2.4, W, 0.7)} d="M5.5 22 3.5 13M34.5 22l2-9"/><circle cx="12" cy="23" r="6.6" ${st(2.8)}/><circle cx="28" cy="23" r="6.6" ${st(2.8)}/><path ${st(2.6)} d="M18.4 21.5a2.4 2.4 0 0 1 3.2 0"/>`],
|
||
// Lunge
|
||
['#05704F', () => `<path ${st(2.8)} d="M20 5v10M20 14l-3.5 3.5M20 14l3.5 3.5"/><path ${fo()} d="M15 13c-5 0-9 7-9 15 0 3 1.5 5 4 5 3 0 6-2 6-5V15c0-1-.4-2-1-2zM25 13c5 0 9 7 9 15 0 3-1.5 5-4 5-3 0-6-2-6-5V15c0-1 .4-2 1-2z"/>`],
|
||
// Mikroskop
|
||
['#117A48', () => `<path ${st(3)} d="M9 34h22M24.5 34c4.5-2 6.5-6 5.5-10.5-.6-2.8-2.6-4.8-5-5.5M12 28h12"/><g transform="rotate(-30 18 14)"><rect x="14.5" y="3" width="7" height="15.5" rx="1.6" ${fo()}/><rect x="13" y="17.5" width="10" height="3.6" rx="1" ${fo(W, 0.8)}/></g>`],
|
||
// Zelle mit Kern
|
||
['#0C5E45', (c) => `<path ${fo()} d="M20 5c8 0 15 5.5 15 14 0 9-7.5 16-16 16C10.5 35 5 29 5 21 5 11.5 12 5 20 5z"/><circle cx="17" cy="19" r="5.6" fill="${c}"/><circle cx="17" cy="19" r="2.4" ${fo()}/><g fill="${c}"><circle cx="27" cy="25" r="1.9"/><circle cx="26" cy="12.5" r="1.5"/><circle cx="13" cy="29" r="1.5"/></g>`],
|
||
// Erste-Hilfe-Koffer
|
||
['#059669', (c) => `<path ${st(2.8)} d="M15 10V7.5a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2V10"/><rect x="5" y="10" width="30" height="23" rx="3.5" ${fo()}/><path fill="${c}" d="M17.5 15h5v4.5H27v5h-4.5V29h-5v-4.5H13v-5h4.5z"/>`],
|
||
// Blatt und Tropfen
|
||
['#047857', (c) => `<path ${fo()} d="M5.5 33c0-14 7.5-23.5 20.5-26 0 14-7.5 23.5-20.5 26z"/><path ${st(2, c)} d="M6.5 32 20.5 15"/><path ${fo(W, 0.8)} d="${drop(31, 18, 4)}"/>`],
|
||
// Patientenakte
|
||
['#16A34A', (c) => `<path ${fo()} d="M5 10a2.5 2.5 0 0 1 2.5-2.5h8l3 3.5h14a2.5 2.5 0 0 1 2.5 2.5v17a2.5 2.5 0 0 1-2.5 2.5h-25A2.5 2.5 0 0 1 5 30.5z"/><path ${st(3, c)} d="M20 16.5v11M14.5 22h11"/>`],
|
||
// Apfel (helle Platte)
|
||
['#6EE7B7', () => {
|
||
const d = '#022C22';
|
||
return `<path fill="${d}" d="M20 12.5c-2-1.7-4.5-2.3-7-1.8-4.5 1-7 5.5-6.3 11 .8 6.3 4.8 12.3 9.3 12.3 1.6 0 2.6-.8 4-.8s2.4.8 4 .8c4.5 0 8.5-6 9.3-12.3.7-5.5-1.8-10-6.3-11-2.5-.5-5 .1-7 1.8z"/><path ${st(2.4, d)} d="M20 12.5c0-3 1-5.5 3-7"/><path ${fo(d, 0.7)} d="M22.5 8.5c2-3 5.5-3.8 8-3-1 3-4.5 4.5-8 3z"/>`;
|
||
}, true],
|
||
// Knochen
|
||
['#15803D', () => `<g transform="rotate(-45 20 20)"><path ${fo()} d="M11 16.8h18a4 4 0 1 1 3.4 3.2 4 4 0 1 1-3.4 3.2H11a4 4 0 1 1-3.4-3.2A4 4 0 1 1 11 16.8z"/></g>`],
|
||
// Schirm mit Kreuz
|
||
['#065F46', (c) => `<path ${fo()} d="M4.5 21a15.5 14 0 0 1 31 0c-2.6-1.8-5.2-1.8-7.75 0-2.6-1.8-5.2-1.8-7.75 0-2.6-1.8-5.2-1.8-7.75 0-2.6-1.8-5.2-1.8-7.75 0z"/><path ${st(2.6)} d="M20 20v10.5a3 3 0 0 1-6 0"/><path ${st(2.4, c)} d="M20 9v7.5M16.25 12.75h7.5"/>`],
|
||
// Blutstropfen mit Plus
|
||
['#0F8A5F', (c) => `<path ${fo()} d="${drop(20, 4, 11)}"/><path ${st(3, c)} d="M20 19v9M15.5 23.5h9"/>`],
|
||
// Hantel
|
||
['#0B8457', () => `<g transform="rotate(-30 20 20)"><path ${st(3.2)} d="M12 20h16"/><g ${fo()}><rect x="5" y="13" width="4.6" height="14" rx="1.6"/><rect x="10.2" y="10" width="4.6" height="20" rx="1.6"/><rect x="25.2" y="10" width="4.6" height="20" rx="1.6"/><rect x="30.4" y="13" width="4.6" height="14" rx="1.6"/></g></g>`],
|
||
// Arzneiflasche
|
||
['#127346', (c) => `<rect x="13" y="4.5" width="14" height="5" rx="1.4" ${fo()}/><path ${fo()} d="M14 11h12v2.5c3 1.2 5 3.5 5 6.5v12a3 3 0 0 1-3 3H12a3 3 0 0 1-3-3V20c0-3 2-5.3 5-6.5z"/><rect x="11.5" y="19.5" width="17" height="11" rx="1.4" fill="${c}"/><path ${st(2.4)} d="M20 22v6M17 25h6"/>`],
|
||
// Atemschutzmaske
|
||
['#08664A', (c) => `<path ${st(2.4)} d="M9 15H6.5a2.5 2.5 0 0 0 0 5c0 2 1 3.5 3 4M31 15h2.5a2.5 2.5 0 0 1 0 5c0 2-1 3.5-3 4"/><path ${fo()} d="M9 13c4-2 18-2 22 0v9c0 5-6 8-11 8s-11-3-11-8z"/><path ${st(1.8, c, 0.6)} d="M12.5 18h15M12.5 22.5h15"/>`],
|
||
// Infusionsbeutel
|
||
['#18914F', (c) => `<path ${st(2.4)} d="M20 3.5v3.5M20 28v3.5c0 2 1.5 3.5 4 3.5h8"/><path ${fo()} d="M12 7h16v16a5 5 0 0 1-5 5h-6a5 5 0 0 1-5-5z"/><path ${st(1.8, c, 0.6)} d="M15 12h4M15 16h4M15 20h4"/><path fill="${c}" d="${drop(24, 15, 2.2)}"/>`],
|
||
// Monitor mit Herzkurve
|
||
['#0D7350', (c) => `<path ${st(2.6)} d="M14 34h12M20 28v6"/><rect x="4.5" y="7" width="31" height="21" rx="3" ${fo()}/><path ${st(2.2, c)} d="M8 18h6l2-4.5 3 9.5 3-12 2.5 7H32"/>`],
|
||
// Kreislaufpfeil um Kreuz
|
||
['#0A5A40', () => `<path ${st(3)} d="M30.6 13.6a12.5 12.5 0 1 0 1.9 8.4"/><path ${fo()} d="M34 6.5v10.2H23.8z"/><path ${fo()} d="M17.7 13.5h4.6v4.2h4.2v4.6h-4.2v4.2h-4.6v-4.2h-4.2v-4.6h4.2z"/>`],
|
||
// Virus
|
||
['#14864F', (c) => {
|
||
const a = [0, 45, 90, 135, 180, 225, 270, 315];
|
||
return `<path ${st(2.6)} d="${a.map((g) => { const [x1, y1] = pt(20, 20, 8, g), [x2, y2] = pt(20, 20, 13, g); return `M${x1} ${y1}L${x2} ${y2}`; }).join('')}"/><g ${fo()}>${a.map((g) => { const [x, y] = pt(20, 20, 13.6, g); return `<circle cx="${x}" cy="${y}" r="2.3"/>`; }).join('')}<circle cx="20" cy="20" r="8.6"/></g><g fill="${c}"><circle cx="17" cy="18" r="1.8"/><circle cx="23" cy="22.5" r="1.5"/></g>`;
|
||
}],
|
||
// Rettungsring
|
||
['#0F9068', (c) => `<circle cx="20" cy="20" r="11" ${st(7)}/><circle cx="20" cy="20" r="11" fill="none" stroke="${c}" stroke-opacity=".4" stroke-width="7" stroke-dasharray="8.64 8.64" transform="rotate(-22.5 20 20)"/>`],
|
||
],
|
||
};
|
||
|
||
/** Branchen in fester Reihenfolge */
|
||
export const POOL_SECTORS = Object.keys(DEF);
|
||
|
||
/** Alle Pool-Marken: { Schlüssel: [Plattenfarbe, Bildmarke, helle Platte?] } */
|
||
export const POOL = {};
|
||
/** Schlüssel je Branche (gemeinsame Quelle für Server und Client) */
|
||
export const POOL_KEYS = {};
|
||
/** Branche einer Pool-Marke */
|
||
export const POOL_SECTOR = {};
|
||
for (const [sec, list] of Object.entries(DEF)) {
|
||
POOL_KEYS[sec] = list.map(([color, body, light], i) => {
|
||
const key = `p-${sec}-${i + 1}`;
|
||
POOL[key] = [color, body(color), !!light];
|
||
POOL_SECTOR[key] = sec;
|
||
return key;
|
||
});
|
||
}
|
||
/** Ist das ein Pool-Schlüssel? */
|
||
export const isPoolKey = (k) => Object.hasOwn(POOL, String(k ?? ''));
|
||
|
||
// ---------------------------------------------------------------- Generator: Branchenfarben und Branchensymbole
|
||
// Reicht der Pool einer Branche nicht, erzeugt logos.js ein Logo aus Branchenfarbe, Grundform, Monogramm und
|
||
// einem kleinen Branchensymbol. Die Farben sind dieselben Familien wie oben.
|
||
export const SECTOR_COLORS = Object.fromEntries(Object.entries(DEF).map(([k, list]) => [k, list.filter((x) => !x[2]).map((x) => x[0])]));
|
||
/** Kleines Branchensymbol (40er-Raster, weiß; wird verkleinert in eine Ecke gesetzt) */
|
||
export const SECTOR_GLYPH = {
|
||
tech: `<path ${st(4.4)} d="M13 11 4 20l9 9M27 11l9 9-9 9"/>`,
|
||
energy: `<path ${fo()} d="M23.5 3 9 23h9l-3 14 16-21h-9.5z"/>`,
|
||
auto: `<circle cx="20" cy="20" r="14" ${st(5)}/><circle cx="20" cy="20" r="4.5" ${fo()}/><path ${st(4.4)} d="M6 18h9M25 18h9M20 25v9"/>`,
|
||
banks: `<path ${fo()} d="M3 15 20 5l17 10z"/><path ${st(4.6)} d="M10 19v11M20 19v11M30 19v11"/><rect x="4" y="32" width="32" height="5" rx="1.6" ${fo()}/>`,
|
||
pharma: `<g transform="rotate(-45 20 20)"><path ${fo()} d="M13 13h7v14h-7a7 7 0 0 1 0-14z"/><path ${fo(W, 0.6)} d="M21.5 13H27a7 7 0 0 1 0 14h-5.5z"/></g>`,
|
||
consumer: `<path ${st(4.2)} d="M13 14v-3a7 7 0 0 1 14 0v3"/><path ${fo()} d="M5.5 14h29l-2 21a3 3 0 0 1-3 2.7H10.5a3 3 0 0 1-3-2.7z"/>`,
|
||
industry: `<path ${fo()} d="M3 37V18l10 6.5V18l10 6.5V18l7 4.5V4h7v33z"/>`,
|
||
defense: `<path ${fo()} d="M20 3 35 8.5v11c0 9.5-6.4 16.5-15 19.5C11.4 36 5 29 5 19.5v-11z"/>`,
|
||
realestate: `<path ${fo()} d="M4 19 20 5l16 14v17H4z"/>`,
|
||
utilities: `<path ${fo()} d="${drop(20, 3, 12)}"/>`,
|
||
telecom: `<path ${st(4.4)} d="M7.5 21a17.5 17.5 0 0 1 25 0M12.5 26.5a10 10 0 0 1 15 0"/><circle cx="20" cy="32" r="4" ${fo()}/>`,
|
||
logistics: `<rect x="2" y="9" width="23" height="19" rx="2" ${fo()}/><path ${fo()} d="M27 14h6l5 6.5V28H27z"/><circle cx="10" cy="32" r="4.5" ${fo()}/><circle cx="30" cy="32" r="4.5" ${fo()}/>`,
|
||
media: `<circle cx="20" cy="20" r="16" ${st(4.4)}/><path ${fo()} d="M15.5 12v16l13-8z"/>`,
|
||
materials: `<path ${fo()} d="M20 3 35 11.5v17L20 37 5 28.5v-17z"/>`,
|
||
health: `<path ${fo()} d="M15 4h10v11h11v10H25v11H15V25H4V15h11z"/>`,
|
||
};
|