Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bnidevs authored Jan 22, 2022
1 parent 1501683 commit e123476
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,17 @@
Semi-hash-based Image Generator

Utilizable for NFTs

![sample-image](https://user-images.githubusercontent.com/33227410/150658671-659e78c3-04c8-4520-9eef-d6bf2a056793.png)

### Generation Process
1. Input is salted and hashed
2. Colors (background, planet, stars) are chosen based on input hash
3. Stars are placed and sized randomly (not hash-based)
4. Planet is first completely colored with the primary planet color
5. Planet is then colored with a probabilistic breadth-first-search algorithm using probabilities from the input hash with a secondary color
6. Planet is then randomly colored with a tertiary color (not hash-based)

### Notes
- Image size is fixed at 1000 by 500
- Planet size is diameter = 400

0 comments on commit e123476

Please sign in to comment.