Semi-hash-based Image Generator
Utilizable for NFTs
- Input is salted and hashed
- Colors (background, planet, stars) are chosen based on input hash
- Stars are placed and sized with a slight variation in color randomly (not hash-based)
- Planet is first completely colored with the primary planet color
- Planet is then colored with a probabilistic breadth-first-search algorithm using probabilities from the input hash with a secondary color
- Planet is then randomly colored with a tertiary color (not hash-based)
- Decide if moon is included based on input hash
- Position and color moon based on input hash
- Decide if ring is included based on input hash
- Size and color ring based on input hash
- Image size is fixed at 1000 by 500
- Planet size is diameter = 400