A laser pulse generator utilizes an optical modulator to generate wave pulses having customized temporally shaped pulses. A continuous wavelength laser source inserts optical energy into an optical pulse generator, which in turn emits light into an amplification stage. The amplification stage emits light pulses corresponding to user-defined amplitudes and pulse shapes. The optical pulse generator comprises an optical modulator which modulates incoming light in accordance with temporal waveforms defined by an electronic waveform generator.