A method for temporarily constricting a pupil of an eye by an ophthalmic stimulator comprises generating an irradiation control signal by an irradiation control system, generating an irradiation by an irradiation source, coupled to the irradiation control system, receiving the irradiation and delivering a patterned irradiation to an iris of the eye with an irradiation delivery system, and controlling at least one of the irradiation source and the irradiation delivery system by the irradiation control signal of the irradiation control system so that the patterned irradiation is causing a temporary constriction of the pupil of the eye, without causing a permanent constriction of the pupil.