Scientists created a camera that can be flex and still captures high-quality images in 360-degree views.