Using cosmic rays to photograph space