All files / Sources/Proxy/Core/LookupTableProxy Constants.js

100% Statements 2/2
100% Branches 0/0
100% Functions 0/0
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 281x             1x                                        
const Mode = {
  Preset: 0,
  RGBPoints: 1,
  HSVPoints: 2,
  Nodes: 3,
};
 
const Defaults = {
  Preset: 'Cool to Warm',
  RGBPoints: [
    [0, 0, 0, 0],
    [1, 1, 1, 1],
  ],
  HSVPoints: [
    [0, 0, 0, 0],
    [1, 0, 0, 1],
  ],
  Nodes: [
    { x: 0, r: 0, g: 0, b: 0, midpoint: 0.5, sharpness: 0 },
    { x: 1, r: 1, g: 1, b: 1, midpoint: 0.5, sharpness: 0 },
  ],
};
 
export default {
  Defaults,
  Mode,
};