Example #1
0
 private double InRange(RangeDouble range) => _random.NextDouble() * (range.Max - range.Min) + range.Min;
Example #2
0
 public HsvContrastedColorGenerator(RangeDouble saturation, RangeDouble value)
 {
     _colorGenerator = new HsvColorGenerator(saturation, value);
 }
Example #3
0
 public HsvColorGenerator(RangeDouble saturation, RangeDouble value)
 {
     _saturation = saturation;
     _value      = value;
 }