Having trouble replacing red or potassium bromide? Maybe artificial intelligence can find the answer in nature.