How epileptic protection glasses work