A linear-encoding model explains the variability of the target morphology in regeneration.