Classes | |
class | DiscreteGradient |
A gradient without any interpolation. More... | |
class | SimpleGradient |
A gradient between two colours with linear interpolation. More... | |
Functions | |
def | map_gradient |
Maps a gradient to a grid, and returns the result as a new grid. |
def gradient.map_gradient | ( | gradient, | ||
grid | ||||
) |
Maps a gradient to a grid, and returns the result as a new grid.
A grid containing values in the range [0 1]
Definition at line 37 of file gradient.py.