Biologists have demonstrated for the first time that electrical patterns in the developing embryo can be predicted, mapped, and manipulated to prevent defects caused by harmful substances such as nicotine. The research suggests that targeting bioelectric states may be a new treatment modality for regenerative repair in brain development and disease, and that computational methods can be used to find effective repair strategies.