pythagorean tree with gradient