Method GenerateRandomWalk
GenerateRandomWalk(int, Color, float, float, bool)
Generates a sequence of colors where the next color is a random offset from the previous color.
public static List<Color> GenerateRandomWalk(int colorCount, Color startColor, float minOffset, float maxOffset, bool fixLightness)
Parameters
colorCount
intThe number of colors to generate.
startColor
ColorThe first color in the sequence.
minOffset
floatThe minimum offset for the random color generation.
maxOffset
floatThe maximum offset for the random color generation.
fixLightness
boolIf true, the brightness of the start color is applied to all generated colors.