A new type of imaging sensor inspired by the functioning of the human brain can detect light and store data at the same time.