orbit/js
Brian Fertig 84909d6f80 Add front nebula layer with derived accent tint for two-tone gas
- Add `front` block to game.json: depth-11 clouds above the ship (parallax > 1) that drift past the player, creating a "flying through" feel vs. the back layer at depth 3
- Implement `shiftHue` in Color.js to derive the front accent from the system's base atmosphere color (hue rotation + lightness lift), making every nebula a stable two-tone gas
- Refactor NebulaAtmosphere into a data-driven layer array with per-layer depth/tint/parallax/drift; extract `spawnCloud` helper; scale swirl speed by configurable drift
- Add 21 new test checks covering accent math (hue delta, identity, white/black preservation, all 8 palette shades) and two-layer structure (depths, tints, parallax ranges, wrapping, destroy, revert path)
- Stub `Phaser.Math.Between`/`FloatBetween` in phaser-stub for Node tests
- Update PROJECT_NOTES.md to document the two-layer model, accent derivation, and new tuning knobs
2026-09-10 22:48:40 -06:00
..
build
…
comms Add faction worldgen layer: territories, capitals, bridges, and arid pla 2026-09-10 21:45:33 -06:00
config
…
dev
…
entities
…
galaxy Add balance quota to cap faction territory sizes 2026-09-10 22:18:07 -06:00
mining
…
quests Add "Leaving the Nest" quest chain and READY tracker state 2026-09-10 20:29:47 -06:00
reputation Add faction worldgen layer: territories, capitals, bridges, and arid pla 2026-09-10 21:45:33 -06:00
research
…
save Add "Leaving the Nest" quest chain and READY tracker state 2026-09-10 20:29:47 -06:00
scan
…
scenes Add front nebula layer with derived accent tint for two-tone gas 2026-09-10 22:48:40 -06:00
tether
…
ui Add faction worldgen layer: territories, capitals, bridges, and arid pla 2026-09-10 21:45:33 -06:00
utils Add front nebula layer with derived accent tint for two-tone gas 2026-09-10 22:48:40 -06:00
vendor
…
visuals Add front nebula layer with derived accent tint for two-tone gas 2026-09-10 22:48:40 -06:00
main.js
…