implemented trunk and leaf color changes on canvas