Biochemical networks are perturbed both by fluctuations in environmental conditions and genetic variation. These perturbations must be compensated for, especially when they occur during embryonic pattern formation. Complex chemical reaction networks displaying spatiotemporal dynamics have been controlled and understood by perturbing their environment in space and time. Here, we apply this approach using microfluidics to investigate the robust network in Drosophila melanogaster that compensates for variation in the Bicoid morphogen gradient. We show that the compensation system can counteract the effects of extremely unnatural environmental conditions--a temperature step--in which the anterior and posterior halves of the embryo are developing at different temperatures and thus at different rates. Embryonic patterning was normal under this condition, suggesting that a simple reciprocal gradient system is not the mechanism of compensation. Time-specific reversals of the temperature step narrowed down the critical period for compensation to between 65 and 100 min after onset of embryonic development. The microfluidic technology used here may prove useful to future studies, as it allows spatial and temporal regulation of embryonic development.