Spatiotemporal control of laser intensity