Skip to content

basinShape beta ​

Function of @v12-engine/engine

ts
export declare function basinShape(options?: BasinShapeOptions): NonNullable<TerrainPassOptions['shape']>;

The lie of a bay, for terrainPass's shape: the corners high, the ground falling to a sea in the middle, an island in it. With water at 0.25–0.35 the sea takes the middle and the shore runs round it; the starts in the corners (startsPass with a spread of 0.4), the way between them along the shore