Researchers have developed a novel and compact method of shaping ultrafast light pulses.