Skip to content
Randomly generated geometric backgrounds
Python
Branch: master
Clone or download
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.
rngback
.gitignore
README.md
UNLICENSE
example.png
requirements.txt
setup.py

README.md

example.png

rngback

rngback is a simple, easy-to-use tool to randomly generate visually pleasing backgrounds.

Installation

To setup rngback, clone the repo and then run setup.py.

$ git clone https://github.com/jedevc/rngback.git
$ cd rngback
$ python setup.py install

You should then be able to access the rngback command. If not, then make sure that the pip installation directory is added to your PATH.

Example usage

Generate a 600x400 image, with 30x20 squares.

$ rngback 600 400 15 10

Generate the same thing but with an blue foreground and a darkblue background.

$ rngback 600 400 15 10 -fg blue -bg darkblue

Add some variation to the foreground.

$ rngback 600 400 15 10 -fg blue -bg darkblue -var 40

Randomize the foreground to a different shade of blue each time and a black background.

$ rngback 600 400 15 10 -fg 'hsl({160-240}, {50-70}%, 60%)' -bg darkblue -var 40

Create gaps between the squares.

$ rngback 600 400 15 10 -fg blue -bg darkblue -off 2

Use multiple foreground colors.

$ rngback 600 400 15 10 -fg blue -fg mediumblue -bg darkblue

More

rngback comes with a builtin help. To view it, simply run:

$ rngback --help

License

rngback uses the UNLICENSE and as such is completely free to use. Do whatever you feel like doing with it. Go. Be free :)

You can’t perform that action at this time.