function generateShapeField
shape.ts:270
A lumpy body from its own seed, on the measured ellipsoid.
The ellipsoid is a fact and the lumps are not, which is the same split the
terrain generator makes: SurfaceParameters takes a published maxElevation
and generates the shape below it. Here the published thing is the tri-axial
extent and the generated thing is everything between the samples.
Two fields, because one does not read as a rock. The fBm gives the broad asymmetry — a body that is heavier on one end — and the second, sharper term is folded to be negative only: craters and spall scars go in, they do not come out. A symmetric noise field makes a potato; an asymmetric one makes something that has been hit.
- seedSeed
- Undocumented
- shapeGeneratedShape
- Undocumented
ReturnsShapeField