Skip to main content

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.

img/juliart.png

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.

Source Distribution

juliart-0.0.1.tar.gz (295.9 kB view hashes)

Uploaded Source

Built Distribution

juliart-0.0.1-py3.7.egg (14.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page