orbit/js
Brian Fertig 2b37be7494 Fix asteroid rock overlap and add distinct compass color for clusters
- Replace the old per-rock placement retry loop with a deterministic pairwise relaxation pass (relaxRockGaps) that enforces a gapFactor x (r1+r2) separation between every pair, so rocks keep a subtle visible gap instead of interpenetrating
- Add cluster.gapFactor (default 1.12) and asteroids.compassColor (#c8d2e0) config keys, with updated comments in data/asteroids.json and SystemGenerator.js
- Tint the DiscoveryCompass arrow per target: bake the arrow texture white and tint it to the target's color (worlds keep theme neon cyan, clusters use their light gray)
- Extend dev/asteroids.test.mjs to assert every rock pair respects the gapFactor separation
2026-09-04 08:45:28 -06:00
..
config
entities Add asteroid clusters as discoverable, solid objects in each star system 2026-09-04 08:34:55 -06:00
galaxy Fix asteroid rock overlap and add distinct compass color for clusters 2026-09-04 08:45:28 -06:00
scenes Fix asteroid rock overlap and add distinct compass color for clusters 2026-09-04 08:45:28 -06:00
tether
ui Fix asteroid rock overlap and add distinct compass color for clusters 2026-09-04 08:45:28 -06:00
utils Add asteroid clusters as discoverable, solid objects in each star system 2026-09-04 08:34:55 -06:00
vendor
visuals
main.js