Method WithSaturation
WithSaturation(IGenerator<Color>, IGenerator<float>)
Creates a color generator that generates color from a source generator, setting their saturation to values generated from another generator.
public static IGenerator<Color> WithSaturation(this IGenerator<Color> source, IGenerator<float> saturation)
Parameters
source
IGenerator<Color>The source generator.
saturation
IGenerator<float>The saturation generator.