as dzandra rose and unveiled the yellow morn , the oneirophage transformed into morpheus rex as he slithered along the ledge , his dark silhouette morphing from serpentine to hominid , so that he traversed the horizon on a cobra 's tail one moment , and on two legs the next , with his nine-headed ally following behind .