Parametric Evergreen Tree Test

Happy belated holidays! I've been messing around with OpenSCAD and I created this parametric tree.
EDIT: I made the segment heights a set variable instead of a coefficient. This should make the trees generated look much nicer!