lerpColor()
Color / Creating & ReadingDescription
Calculates a color between two colors at a specific increment.
Syntax
color lerpColor(color c1, color c2, float t)
Parameters
| Name | Type | Description |
|---|---|---|
| c1 | color | interpolate from this color |
| c2 | color | interpolate to this color |
| t | float | between 0.0 and 1.0 |
Returns
colorRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...