Gradient

 
 
 

Categories

  • Color

Description

Calculates the color value of the embedded gradient control at the input value. Input value zero corresponds to the leftmost color and input value one corresponds to the rightmost.

Parameters

Gradient Control

The gradient slider is where you create and adjust the gradient. The bar displays the gradient left-to-right from beginning (0.00) to end (1.00).

Square markers on the bottom of the gradient bar are color markers. You can use up to 8 color markers, each with its own color. Clicking on the gradient bar inserts a color marker at the click-point. By default, the new marker assumes the color of that point in the gradient. To delete a color marker, right-click it and choose "delete marker" from the menu.

A round marker on the top of the gradient bar appears between each pair of color markers, indicating the mid-point in the blend between those two colors. Moving the round marker closer to either color marker causes less of that color, and more of the other, to appear in that "sub-gradient". The net effect is a sharper blend and a larger portion of the dominant color.

Color

Controls the R, G, B, and alpha values for the selected color marker.

Pos

Controls the position of markers on the gradient:

Color Markers: If a color marker is selected, the Pos value indicates its position, on a scale of 0.00-1.00, within the entire gradient.

Interpolation Markers: If an interpolation marker is selected, the Pos value indicates its position, on a scale of 0.00-1.00, between its associated pair of color markers.

Cubic/Linear

Switches between linear and cubic interpolation of the gradient. Cubic interpolation results in a smoother transition between gradient colors, while linear interpolation results in sharper transitions.

Animation

Key All

Adds a keyframes for the gradient's color and position parameters. One keyframe is added for each color and interpolation marker in the gradient.

Remove Keys

Removes any and all keyframes applied to the gradient's color and position parameters. Keyframes are removed from all markers.

Preset

Black/White

Creates a 2-marker black to white gradient.

White/Black

Creates a 2-marker white to black gradient.

Black to Transparent

Creates a 2-marker black to black gradient with a descending alpha value.

White to Transparent

Creates a 2-marker white to white gradient with a descending alpha value.

Chrome

Creates a 4-marker gradient that simulates the look of chrome.

Copper

Creates a 4-marker gradient that simulates the look of copper.

Spectrum

Creates a 7-marker gradient that replicates the visible spectrum of colors.

Rainbow

Creates an 8-marker gradient that replicates the red to violet spectrum of a rainbow.

Fire

Creates a 6-marker gradient that simulates the colors of a flame, beginning with yellows and reds, blending into orange and ending with a blue. The alpha value gets progressively lower to give the edges of the flame translucence.

Ports

Inputs

In

Input value determining where along the gradient control to fetch the color. This value should range between 0 and 1.

Outputs

Out

Color of the gradient control at the input value.