galaxies unreeled around his head like long spools of paper , and fate punched each in random patterns , turning them into macrocosmic player-piano tapes which would play everything from ragtime to funeral dirges .