The protocol here describes the measurement of the spatial organization of the visual axes of housefly eyes, mapped by an automatic device, using the pseudopupil phenomenon and the pupil mechanism of the photoreceptor cells.