Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jedevc/rngback

Randomly generated geometric backgrounds
https://github.com/jedevc/rngback

Last synced: about 2 months ago
JSON representation

Randomly generated geometric backgrounds

Awesome Lists containing this project

README

        

![example.png](https://raw.githubusercontent.com/jedevc/rngback/master/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 :)