Browse Source

larger secondary crowns

master
Fr3deric 6 years ago
parent
commit
95bf846e09
  1. 1
      baumgen.js

1
baumgen.js

@ -39,6 +39,7 @@ function gen_tree(pos, maxheight) {
crown: baum.crown.clone() crown: baum.crown.clone()
}; };
b.crown.length *= 0.4; b.crown.length *= 0.4;
b.crown.width = 0.8;
baum.forks = [{ baum.forks = [{
pos: 0.2 + Math.random() * 0.4, pos: 0.2 + Math.random() * 0.4,
branch: new Branch(b), branch: new Branch(b),

Loading…
Cancel
Save