Peguei um projeto do Codepen de uma árvore animada recursiva e eu gostaria de separar a cor do background(deixar em branco) do caule.
function mousePressed() {
tree = [];
leaves = [];
trunkColor = createVector(random(0, 360), random(20, 40), 40);
leafColor = createVector(trunkColor.x - 60, random(40, 90), random(60, 80));
bgColor = createVector(trunkColor.x, trunkColor.y, trunkColor.z / 3);
var trunkSize = width/50;
var maxVel = height/310;
var b = new Branch(createVector(width / 2, height), createVector(0, -maxVel), 100, trunkColor, trunkSize);
tree.push(b);
}