// Illustrative mass-spectrum trace for the home hero. Deterministic (no random), // self-contained inline SVG. Big peaks use the accent; the rest are faint. export default function Spectrum({ height = 128 }: { height?: number }) { const W = 1000 const H = height const pad = 6 const n = 76 const peaks = Array.from({ length: n }, (_, i) => { const x = pad + (i / (n - 1)) * (W - 2 * pad) const s = Math.abs(Math.sin(i * 0.7)) * Math.abs(Math.sin(i * 0.27 + 1)) * (0.35 + 0.65 * Math.abs(Math.sin(i * 0.11))) const y = H - pad - (0.06 + 0.94 * s) * (H - 2 * pad) return { x, y, big: s > 0.55 } }) return ( {peaks.map((p, i) => ( ))} ) }