This commit is contained in:
Andras Schmelczer 2026-05-06 23:13:58 +01:00
parent 94f9c0d594
commit 5c3b87f2d5
69 changed files with 1334 additions and 213 deletions

View file

@ -68,7 +68,9 @@ export default function HexCanvas({
height: (hex.size * 2) / Math.sqrt(3),
opacity: hex.opacity * (isDark ? 0.45 : 0.6),
clipPath: 'polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%)',
animation: animated ? `hex-bob ${hex.bobDuration}s ease-in-out infinite` : undefined,
animation: animated
? `hex-bob ${hex.bobDuration}s ease-in-out infinite`
: undefined,
'--bob': `${hex.bobAmount}px`,
} as React.CSSProperties
}