Javascript – how to run series of animation on single component in framer-motion in a infinity loop
I am building a website that uses framer-motion for animation I have this image component <motion.img ref={scope} initial={{ x: -200 }} alt="pacman" className="absolute z-50" src="/pacman.gif" width={100} height={50} /> and here it is running a series of animation const [scope, animate]…