Package heronarts.lx.color
Class GradientUtils.GrayTable
java.lang.Object
heronarts.lx.color.GradientUtils.GrayTable
- Enclosing class:
- GradientUtils
-
Field Summary
-
Constructor Summary
ConstructorDescriptionGrayTable
(LXNormalizedParameter invert) GrayTable
(LXNormalizedParameter invert, int padding) GrayTable
(LXNormalizedParameter invert, LXNormalizedParameter level) GrayTable
(LXNormalizedParameter invert, LXNormalizedParameter level, int padding) -
Method Summary
-
Field Details
-
lut
public final int[] lutLookup table of gray values
-
-
Constructor Details
-
GrayTable
-
GrayTable
-
GrayTable
-
GrayTable
-
-
Method Details
-
update
public void update() -
get
public int get(float b) Gets the LUT grayscale color for this brightness value- Parameters:
b
- Brightness from 0-100- Returns:
- Invert table color
-