Randomly generated geometric backgrounds
UNLICENSE License
rngback is a simple, easy-to-use tool to randomly generate visually pleasing backgrounds.
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
.
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
rngback comes with a builtin help. To view it, simply run:
$ rngback --help
rngback uses the UNLICENSE and as such is completely free to use. Do whatever you feel like doing with it. Go. Be free :)