 Their function is unknown, but they also occur in some centipedes, and are possibly used to measure humidity or light levels in the surrounding environment.Millipede eyes consist of several simple flat-lensed ocelli arranged in a group or patch on each side of the head.These patches are also called ocular fields or ocellaria.