technique

shortest-path hue interpolation

Temporarily switching colorMode to RGB before calling lerpColor makes a colour gradient take the direct path between two hues instead of the long way round the hue wheel.

Also called: lerpColor colour-space switching

What it is

How it works

Parameters & tuning

Where it’s been used

Variants & neighbours

Go deeper

Connected to

Contrast with: Random-to-order point interpolation


Revision 1 · 1 source · Something wrong? Tell us.