A brand new approach that mixes electron microscopy and laser expertise allows programmable, arbitrary shaping of electron beams. It could actually doubtlessly be used for optimizing electron optics and for adaptive electron microscopy, maximizing sensitivity whereas minimizing beam-induced injury.