Tree Maker
A downloadable tree maker for Windows, macOS, and Linux
Create different trees and tree-like structures using fractal-like math.
Many natural things exhibit patterns of self-similarity. For example, a whole tree looks like a branch and a branch looks like a leaf.
Thus, one can try making trees using self-similar mathematical structures called fractals.
https://en.wikipedia.org/wiki/Fractal_canopy
However, these mathematical structures does not look exactly like real trees. First, they lack randomness which is always present in nature. Second, real trees are not completely self-identical: different levels of structure follow different rules.
In this editor you can generate your own tree-like structure. Define fractal's properties (length, width, amount of branches, colour, randomness, etc.) for the whole structure or for the separate levels individually.
Controls:
Use the left and the right mouse buttons for different effects.
Shortcuts:
[0] -- [7] Menu selection.
[F4] Save tree image.
[F5] Copy all tree settings to the clipboard.
[F6] Load tree settings from the clipboard. Settings should be in the specific format.
[F9] Resample all random effects.
Credits and source code
Mikhail Shubin, 2021
Made with pygame, published with cx-Freeze
Source code: https://gitlab.com/2pi360/tree_maker
Uses pygame simplifier: https://gitlab.com/2pi360/pygame_simplifier
Download
Click download now to get access to the following files:
Comments
Log in with itch.io to leave a comment.
Will not run in Ubuntu Linux. Error message says can not find tkinter python library. I installed tkinter on system, but did not help.
hm, Ubuntu Linux is exactly where I tested it. Weird. Ill to need check it again.
Hi, I uploaded the fixed version.
It turned out I have not actually tested this app on Ubuntu.
When I download the file using a web browser, I can unzip it and it runs great. Very nice, I like it. I am happy with this.
However, just FYI, if I try to install it using the Itch app, the app keeps not recognizing the file as a linux program file. It only offers the Windows and Mac versions. I have seen this before. The Itch app seems to expect program files for each operating system to be a certain way. I am sure that is fully documented in the developers section of the Itch website. I have been meaning to look for this info for my own curiosity, but I have not gotten to it yet.
Good luck with your programming endeavors.
Weird.
I have limited capacity to test under Linux. I will need to look at this issue at some point.
Well, it was easy to fix, I just forgot to press one button
I can generate own tree! ╰(°▽°)╯