An ophthalmic stimulator for temporarily constricting a pupil of an eye comprises an irradiation control system, to generate an irradiation control signal a light source, coupled to the irradiation control system, to generate a light beam and a beam-shaping optics, coupled to the irradiation control system, to receive the light beam from the light source, and to deliver a light ring to an iris of the eye wherein the irradiation control system controls at least one of the light source and the beam-shaping optics with the irradiation control signal so that the light ring causes a temporary constriction of the pupil of the eye, without causing a permanent constriction of the pupil.