Researchers used a specialized infrared lens to measure pupillary changes to participants watching erotic videos. Pupils widened most to videos of people who participants found attractive, thereby revealing where they were on the sexual spectrum from heterosexual to homosexual.