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!

Example

import chartree as ct
w = ct.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.0.8.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

chartree-0.0.8-py3-none-any.whl (7.2 kB view hashes)

Uploaded Python 3

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