Method | Description | |
---|---|---|
ColorAlongHexagon ( int incrementsUntilRepeat, int increments ) : Color |
This will calculate the color along a hexagon on the edges of an RGB cube. incrementsUntilRepeat is the value where we return to the starting point of the hexagon (white). increments is used as the distance-along-hexagon parameter.
|
|
DepthColor ( int depth, double colorScaling, bool invert = false ) : Color |
This method allows calculating a color based on a color scaling input. This was the way I did this for a long time and for many images, until working with Henry on coloring. Keeping this code here for reference.
|
Method | Description | |
---|---|---|
Inverse ( Color c ) : Color |
public static ColorAlongHexagon ( int incrementsUntilRepeat, int increments ) : Color | ||
incrementsUntilRepeat | int | |
increments | int | |
return | Color |
public static DepthColor ( int depth, double colorScaling, bool invert = false ) : Color | ||
depth | int | |
colorScaling | double | |
invert | bool | |
return | Color |