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)
# Shows currently grown tree. Can be used to experiment with materials.
w.show(material='#', background='i')
Project details
Release history Release notifications | RSS feed
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)