reanimate-0.4.2.0: Animation library based on SVGs.

Reanimate.ColorMap

Description

A colormap takes a number between 0 and 1 (inclusive) and spits out a color. The colors do not have an alpha component but one can be added with promotePixel.

Synopsis

# Documentation

Given a number t in the range [0,1], returns the corresponding color from the “turbo” color scheme by Anton Mikhailov.

Given a number t in the range [0,1], returns the corresponding color from the “viridis” perceptually-uniform color scheme designed by van der Walt, Smith and Firing for matplotlib, represented as an RGB string.

Given a number t in the range [0,1], returns the corresponding color from the “magma” perceptually-uniform color scheme designed by van der Walt and Smith for matplotlib, represented as an RGB string.

Given a number t in the range [0,1], returns the corresponding color from the “inferno” perceptually-uniform color scheme designed by van der Walt and Smith for matplotlib, represented as an RGB string.

Given a number t in the range [0,1], returns the corresponding color from the “plasma” perceptually-uniform color scheme designed by van der Walt and Smith for matplotlib, represented as an RGB string.

Given a number t in the range [0,1], returns the corresponding color from the “sinebow” color scheme by Jim Bumgardner and Charlie Loyd.

Parula is the default colormap for matlab.

Given a number t in the range [0,1], returns the corresponding color from the “cividis” color vision deficiency-optimized color scheme designed by Nuñez, Anderton, and Renslow, represented as an RGB string.

Jet colormap. Used to be the default in matlab. Obsolete.

hsv colormap. Goes from 0 degrees to 360 degrees.

Matlab hsv colormap. Goes from 0 degrees to 330 degrees.

Greyscale colormap.