orbit/data/galaxy.json

21 lines
1.0 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"_comment": "Galaxy shape + scale (js/galaxy/Galaxy.js). systemCount = total star systems (the starting system is one of them). layout = a sparse seeded DISK: no spiral arms (spiral.enabled = false, arms = 0 — the arm snap is skipped), no center bulge (coreFraction = 0), diskSkew = 0.5 so the radial spread is uniform-in-area (rNorm = √x — stars spread out sparsely across the disk instead of crowding the core), flatten = y squash (ellipse). settlements.gradient = free-space settlement density by galactic radius (rNorm 0 = center, 1 = rim): chance = 1 rNorm×falloff, floored at floor (js/galaxy/SystemGenerator.js → settlementDensity).",
"systemCount": 60,
"radius": 20000,
"layout": {
"coreFraction": 0,
"bulgeSigma": 0.09,
"diskSkew": 0.5,
"flatten": 0.62,
"spiral": { "enabled": false, "arms": 0, "twist": 2.6, "strength": 0.5 }
},
"distribution": {
"rules": []
},
"startingSystem": { "policy": "center" },
"settlements": {
"gradient": { "falloff": 0.7, "floor": 0.22 }
},
"neighbors": 8
}