Here is the source of the simple GGI planet demo.
Here is the related (but uneeded) Makefile

Usage is:
planet <width> <height> <planet size> <random seed>
While running p changes the palette, and a animate it

(If you have a problem running the demo, try to enable the if 0 at line 279: I didn't test the last modif I made to this part of code. Shame on me, but to late to reboot under linux today: it is 4 AM)

For any problem or suggestion, mail to stark@easynet.fr

That's all, folks.