import { memo, useId, type Ref } from "react"; const LENS_ARC = "M-115 12 C-68 9 -67 -66 -9 -68 C52 -71 61 -10 111 6"; const streams = [ { rx: 122, ry: 19, y: 10, width: 0.7, opacity: 0.30 }, { rx: 116, ry: 19, y: 11, width: 1.1, opacity: 0.52 }, { rx: 106, ry: 17, y: 12, width: 2.4, opacity: 0.72 }, { rx: 92, ry: 15, y: 13, width: 3.6, opacity: 1 }, { rx: 79, ry: 14, y: 14, width: 2.3, opacity: 0.9 }, { rx: 66, ry: 12, y: 15, width: 0.9, opacity: 0.75 }, ]; export const VaultCore = memo(function VaultCore({ ref }: { ref: Ref }) { const id = useId(); const paint = (name: string) => `url(#${id}-${name})`; return ( {streams.map(({ rx, ry, y, width, opacity }) => ( ))} ); });