Function: generateBodyVariation()
ts
function generateBodyVariation(config): BodyVariation;Generate complete deterministic visual variation for a planet. Every shader parameter consumed by the procedural materials is covered.
The variation is seeded purely from config.name — a body's visual identity (rings, cracks, band offsets, noise domain) is intrinsic to the same seed that drives its terrain and simulation, so two bodies with the same name always render identically.
Parameters
| Parameter | Type | Description |
|---|---|---|
config | BodyConfig | Planet physics config (informs palette ranges + feature gates). |