http://www.puppenheim.org/trees_o.wdl

I think it is a version, that I didn't change too much.
The script has the drawback that it decreases the frame rate extremely when there is no tree near the player.