An ophthalmic endoilluminator includes a light source, a variable-wedge rotating-diskattenuator, a condensing lens, and an optical fiber. The variable-wedge rotating-diskattenuator attenuates the light produced by the light source. The variable-wedgerotating-disk attenuator includes a wedge capable of being adjusted over a variableangle as measured through an arc of the wedge and an axle to which the wedge is attached.The axle rotates such that the wedge rotates around a pivot defined by the axle.The condensing lens focuses the attenuated light. The optical fiber carriesthe focused light into an eye. The variable-wedge rotating-disk attenuatoris located such that it affects the intensity of a light beam transmitted intoan eye.