Some organisms have the capacity to regenerate missing organs de novo. Scimone et al. systematically identify the genes that control a sequence of organ-regeneration steps from differentiation of progenitors to the emergence of final architecture for the case of the planarian eye.