gs.options.FoamOptions#

Configures foam particle generation, used to render spray and bubble effects on top of a fluid simulation.

class genesis.options.misc.FoamOptions(*, radius_scale: float = 0.2, color: tuple[float, float, float, float] = (0.7, 0.7, 0.7, 0.7), spray_decay: float = 2.0, foam_decay: float = 1.0, bubble_decay: float = 5.0, k_foam: float = 1000.0) None[source]#

Options for foam generation.