Skip to main content

Grow trees

Project description

chartree

Grow your own trees on a monospace grid. Choose the material (unicode) for your tree as well as the hue of the sky (also unicode). Heaps of other parameters as well!

Installation

pip install chartree

Example

from chartree import Ecosystem
w = Ecosystem(material='7', background='.')

# Grows a new tree, different each time.
w.grow(n_iter=50, ang_mean=40, ang_range=10)

Example GIF

# Shows currently grown tree. Can be used to experiment with materials.
w.show(material='#', background='i')

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

chartree-0.1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

chartree-0.1.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file chartree-0.1.0.tar.gz.

File metadata

  • Download URL: chartree-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6rc1

File hashes

Hashes for chartree-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b3e3bed81c678f99e40341a7dc8291302d526f77490e2c50e7a527a22ba35aac
MD5 5dfddfe15578ed7d6ed25143fe018a59
BLAKE2b-256 9c78516e9caac7adacc3960a5f1a856e3ef2018afea90c029f310ccc2e990660

See more details on using hashes here.

File details

Details for the file chartree-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: chartree-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.8.6rc1

File hashes

Hashes for chartree-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cae434cf30e2ddc222e7baf33bb6fffab64dd5d4659d1992f0f99406774dce32
MD5 1c6e71466b226636faa27d96e799d5ad
BLAKE2b-256 e8ef05c831ae18f2f7ef52bb40381f6521ecc4a3a9c3eb6f96a2574a0a92501d

See more details on using hashes here.

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