Skip to content
Python JavaScript HTML
Branch: master
Clone or download
Pull request Compare This branch is 17 commits ahead, 40 commits behind noops-challenge:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
assets
program
starters/javascript
.gitignore
API.md
README.md
README.old

README.md

Hexbot

This was a GitHub Noop Challenge, in this challenge they give you access to an API, which generates a random hex value, or a random hex value from a seed.

The original repo is here: https://github.com/noops-challenge/hexbot

The updated repo is here: https://github.com/BlankFaces/concatBot

The challenge is here: https://noopschallenge.com/challenges/hexbot

This is my first time working with images, and API so excuse the crappie code please :))

Dependencies

Python 3

Linux install:

pip3 install pillow
pip3 install certify
pip3 install urllib3
pip3 install urllib3[secure]

Windows install:

pip install pillow
pip install certify
pip install urllib3
pip install urllib3[secure]

🖍 What can you do?

Still in development, but so far two functions have been created:

Generate colour blocks

This simply generates a 100*100 image and saves it into the blocks directory, just run the python file and enter 1, and they will be generated

Create from two values

This funtion requests 10,000 hex values, saves them unsorted as image, then sorts the pixels in value. I will be adding option to add seed as this works the best with it.

Seed of FF7F50, FF8C00

Unsorted

Unsorted Seed Pixels

Sorted

Sorted Seed Pixels

You can’t perform that action at this time.