The eyespots on a Palamedes caterpillar deter predators.