Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit65083fe8f2

README.md

oceanPresets

Named sea states for the oceans package — calmClear, darkChop, darkRolling, heavySwell, whitecapped, murkyGrey, paleSwell, glassyDark and gale. Each name says what the water does, so a sea can be picked off the list without reading its values. A state is an OceanConfig fragment applied underneath whatever the caller passes to Ocean.create, so any single field can be overridden without giving up the rest.

The states are laid out along the Beaufort scale, because wind speed is what determines wave height in a spectral ocean — the remaining fields shape character: how long the swell runs, how readily crests break, and what colour the water body is. materialProperties returns the appearance half of a preset, ready to apply to an ocean material.