Browse Source

larger secondary crowns

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

1
baumgen.js

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

Loading…
Cancel
Save