EPFL researchers have developed a light-based method that can produce proteins that switch states, respond to signals, and even compute, using light and the cell cycle.