m. c. de marco:
To invent new life and new civilizations...

Libnoise is “a portable, open-source, coherent noise-generating library for C++,” with which you can generate random planets. Here’s a gorgeous example of what you can do using Terragen and Celestia for rendering the libnoise output.