Command line tool for generating Julia
Project description
Julia Art "juliart"
This module is based on the Color Julia Bot but intended for command line generation, and with options to customize colors based on holidays. The name "juliart" is also a play on word (Juliard) to hint at artsy things.
I'm customizing it to add more color palette choices (under development).
Usage
Install
You can install from pypi
pip install juliart
or install from the repository directly:
$ git clone https://github.com/vsoch/juliart
$ python setup.py install
Generate Art
You can see basic usage by typing juliart
into your terminal:
$ juliart
usage: juliart [-h] [--version] {generate} ...
Julia Set art generator
optional arguments:
-h, --help show this help message and exit
--version suppress additional output.
actions:
actions for Julia Set art generator
{generate} juliart actions
generate generate a Julia Set image
And then customizations for the generate command:
$ juliart generate --help
usage: juliart generate [-h] [--force] [--outfile OUTFILE] [--res RES]
[--color {random,pattern,glow,christmas,hanukkah,valentine,halloween,fall,spring}]
[--zoom ZOOM]
optional arguments:
-h, --help show this help message and exit
--force, -f force generation of image if already exists.
--outfile OUTFILE the output file to save the image (defaults to
randomly generated png)
--res RES the resolution to generate (defaults to 1000)
--color {random,pattern,glow,christmas,hanukkah,valentine,halloween,fall,spring}
a theme to color the art (defaults to random colors)
--zoom ZOOM the level of zoom (defaults to 1.8)
If you use the defaults, it will generate a randomly named image in your present working directory.
$ juliart generate
Generating Julia Set...
Saving image to doopy-kerfuffle-5780
Otherwise you can do any of the customizations shown above!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.