Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/jedevc/rngback
- Owner: jedevc
- License: unlicense
- Created: 2018-03-11T11:31:48.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-20T08:23:13.000Z (about 5 years ago)
- Last Synced: 2024-07-02T07:10:11.052Z (3 months ago)
- Language: Python
- Size: 50.8 KB
- Stars: 40
- Watchers: 5
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 installYou 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 :)