import './AmbientBackground.css'; /** Slow-rotating sacred geometry SVG — Flower of Life circles inscribed in a pentagram ring */ function SacredGeometry() { const cx = 50; const cy = 50; const R = 32; // outer circle radius // Six-petal Flower of Life petal centres (offset by R from centre) const petalAngles = [0, 60, 120, 180, 240, 300]; const petals = petalAngles.map((deg) => { const rad = (deg * Math.PI) / 180; return { x: cx + R * Math.cos(rad), y: cy + R * Math.sin(rad) }; }); // 5-pointed star vertices inscribed at radius R*1.15 const starR = R * 1.15; const starPts = Array.from({ length: 5 }, (_, i) => { const rad = ((i * 72 - 90) * Math.PI) / 180; return { x: cx + starR * Math.cos(rad), y: cy + starR * Math.sin(rad) }; }); const starPath = starPts.map((p, i) => (i === 0 ? `M${p.x},${p.y}` : `L${p.x},${p.y}`)).join(' ') + ' Z'; // Inner triangles (upward + downward — Star of David inner ring) const triR = R * 0.7; const triUp = [0, 120, 240].map((d) => { const rad = ((d - 90) * Math.PI) / 180; return `${cx + triR * Math.cos(rad)},${cy + triR * Math.sin(rad)}`; }).join(' '); const triDown = [60, 180, 300].map((d) => { const rad = ((d - 90) * Math.PI) / 180; return `${cx + triR * Math.cos(rad)},${cy + triR * Math.sin(rad)}`; }).join(' '); return ( {/* Outer ring */} {/* Middle ring */} {/* Inner ring */} {/* Flower of Life petal circles */} {petals.map((p, i) => ( ))} {/* Pentagon star */} {/* Merkaba triangles */} {/* Centre dot */} {/* Spoke lines to star points */} {starPts.map((p, i) => ( ))} ); } export default function AmbientBackground() { return (
{/* Sacred geometry watermark — centre of the main content area */}
); }