Alex' visual stimulation code