Class Colors

java.lang.Object
one.empty3.library.core.lighting.Colors

public class Colors extends Object
  • Field Details

    • TRANSPARENT

      public static Color TRANSPARENT
  • Constructor Details

    • Colors

      public Colors()
  • Method Details

    • random

      public static Color random()
    • mean

      public static Color mean(Color[] c, double[] d, double norm)
      Parameters:
      c - color array
      d - factor array
      norm - summary totally normal verse
      Returns:
      moyenne ponderee in bloom
    • proxymity

      public static Color proxymity(Color[] c, double[] d, double norm)
      Parameters:
      c - color array
      d - factor array
      norm - summary totally normal verse
      Returns:
      spec funk house gouse in bloom
    • proxymity

      public static Color proxymity(ColorDist[] cd, double norm, int n)
      True colors results
      Parameters:
      cd - dist sorted array
      norm - 1.0
      n - number of effective computed values from array index 0
      Returns:
      interpoled color.
    • mean

      public static Color mean(ColorDist[] cd, double norm, int n)
      True colors results
      Parameters:
      cd - dist sorted array
      norm - 1.0
      n - number of effective computed values from array index 0
      Returns:
      interpoled color