Skip to content

BasinShapeOptions beta ​

Interface of @v12-engine/engine

ts
export interface BasinShapeOptions

What basinShape takes

Members ​

height ​

ts
height?: number;

How high the island rises, in the shape's values (the corners are at 1, the middle of the sea at 0): 0.4 when left out, which with water at 0.2 and three levels lands it on the lowest dry level, the beach's, so that fords of shallow water reach it with no cliff between

island ​

ts
island?: number;

How big the island in the middle is, 0..1 of the way to the corners: 0.14 when left out, 0 for no island

roughness ​

ts
roughness?: number;

How much the noise moves the shore and the island about, 0..1: 0.25 when left out