A Fractal Tree Generator Script. Using recursion techniques the script quickly draws a tree to a surface and then converts it to a sprite. You can set any color combination and tweak the code to generate different styles of trees. Larger more complex trees can be created also.
four versions of the script are included scr_draw_tree scr_draw_dead_tree scr_draw_tree_ext scr_draw_dead_tree_ext
The first two versions allow simple one color trees to be drawn. The _ext versions of the trees allow variations in the color per branch and per leaf
Also you can save the images to disk by un-commenting some code. So they can be used to create backgrounds, or sprites. Possibilities are endless.
added scr_draw_tree scr_draw_tree_ext scr_draw_dead_tree scr_draw_dead_tree_ext