by periodically varying the intensity of light