Table of Contents

Method RandomWalk

Namespace
Gamelogic.Colors
Assembly
Gamelogic.Colors.dll

RandomWalk(ColorHSL, float)

Creates a generator that generates colors as a random walk from a given color in HSL color space.

public static IGenerator<ColorHSL> RandomWalk(ColorHSL color, float maxChannelOffset)

Parameters

color ColorHSL

The color to start the random walk at.

maxChannelOffset float

The maximum channel offset.

Returns

IGenerator<ColorHSL>