miniverse-Map

Generator Gif

Generator Screen shots

.      

       

Territory description

This is a nebula generator.  It generates a random number for the nebula name and the celestial bodies populating it: planets in the foreground, stars in the background.

Creation Process

To make this generator I looked through the p5.js documentation pretty carefully.

First I made the background of stars:

then I added some random colors for the stars:

then I added the planets as ellipses and the rings

then I added the color randomization  for the planets, and converted them to spheres.

finally, I added the randomization of the rotation, converted the ellipses to spheres, and added the text.