Skip to content

Poline

What It Does

The Poline node generates a smooth color palette between multiple anchor colors using the Poline algorithm. It creates sophisticated color progressions by interpolating through 3D color space with customizable distribution functions. Read more about Poline.

Inputs

NameDescriptionTypeRequired
Anchor ColorsArray of colors to interpolate betweenList of ColorsYes
Num PointsNumber of colors to generate in the paletteNumberNo
Inverted LightnessWhether to invert the lightness interpolationYes/NoNo
Position Fn XFunction for color distribution in the X dimensionStringNo
Position Fn YFunction for color distribution in the Y dimensionStringNo
Position Fn ZFunction for color distribution in the Z dimensionStringNo
Hue ShiftAmount to shift all hues in the resulting paletteNumberNo

Outputs

NameDescriptionType
ValueArray of generated colors in the paletteList of Colors

How to Use It

  1. Drag the Poline node into your graph.
  2. Connect at least two colors to the "Anchor Colors" input. (You can create an array of colors using the Arrify node).
  3. Set "Num Points" to control how many colors are in the final palette (default: 4).
  4. Optionally customize the position functions and other parameters. Read more about these parameters.
  5. The output will be an array of colors creating a smooth palette between the anchor colors. So if the input is two colors and the "Num Points" is 4, the output will be an array of six colors.

Tips

  • Different position functions create different distribution patterns (sinusoidal is the default).
  • More anchor colors create more complex, multi-dimensional palettes.
  • Try inverting lightness to create interesting contrast variations.

See Also

  • Color Wheel: For generating simpler color palettes based on color wheel relationships.
  • Range: For linear interpolation between two colors.
  • Scale: For creating color scales with customizable easing.

Use Cases

  • Advanced Color Systems: Create sophisticated, multi-dimensional color palettes.
  • Data Visualization: Generate perceptually uniform color scales for complex data.
  • Design Systems: Create related but distinct color sets for different UI components.