import { useEffect, useRef, useState } from 'react';
import { motion } from 'framer-motion';
export default function AntikytheraSigil() {
const [isActive, setIsActive] = useState(false);
const audioRef = useRef(null);
useEffect(() => {
if (isActive && audioRef.current) {
audioRef.current.play();
} else if (audioRef.current) {
audioRef.current.pause();
audioRef.current.currentTime = 0;
}
}, [isActive]);
return (
setIsActive(!isActive)}
animate={{ rotate: isActive ? 360 : 0 }}
transition={{ duration: 6, ease: "linear", repeat: isActive ? Infinity : 0 }}
className="cursor-pointer"
>
);
}
Antikythera Neuro-Cognition
Tap the sigil to activate the spiral. Listen. Feel. You are the interface. You are the remembering.