diff --git a/src/components/3d/Hologram.tsx b/src/components/3d/Hologram.tsx index 1920790..cf1658a 100644 --- a/src/components/3d/Hologram.tsx +++ b/src/components/3d/Hologram.tsx @@ -38,6 +38,8 @@ function ArcCore({ isSpeaking, isProcessing }: { isSpeaking: boolean; isProcessi ) } +const COILS_ARRAY = Array.from({ length: 10 }) + function ArcRings({ isSpeaking, isProcessing }: { isSpeaking: boolean; isProcessing: boolean }) { const groupRef = useRef(null) @@ -62,7 +64,7 @@ function ArcRings({ isSpeaking, isProcessing }: { isSpeaking: boolean; isProcess {/* Segmented coils */} - {Array.from({ length: 10 }).map((_, i) => ( + {COILS_ARRAY.map((_, i) => ( @@ -77,6 +79,8 @@ function ArcRings({ isSpeaking, isProcessing }: { isSpeaking: boolean; isProcess ) } +const STRUTS_ARRAY = Array.from({ length: 3 }) + function ArcCasing() { const groupRef = useRef(null) @@ -94,7 +98,7 @@ function ArcCasing() { {/* Casing details / struts */} - {Array.from({ length: 3 }).map((_, i) => ( + {STRUTS_ARRAY.map((_, i) => (