mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 10:01:23 +01:00
v1.0.35
This commit is contained in:
parent
57f1bd9695
commit
0d88fd740e
5 changed files with 34 additions and 12 deletions
|
|
@ -478,7 +478,7 @@ function analizeNamesbase() {
|
|||
if (string[i] === string[i-1]) doubleArray[string[i]]++;
|
||||
}
|
||||
for (const l in doubleArray) {if(doubleArray[l] > size/35) double += l;}
|
||||
const multi = rn(d3.mean(d.map(n => (n.match(/ /g)||[]).length)),2);
|
||||
const multi = rn(d3.mean(d.map(n => (n.match(/ /g)||[]).length-1)),2);
|
||||
result.push({name:b.name, size, min, max, mean, median, common, double, multi});
|
||||
});
|
||||
console.table(result);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue