Calculates a color between two colors at a specific increment. The amt parameter is the amount to interpolate between the two values where 0.0 is equal to the first point, 0.1 is very near the first point, 0.5 is halfway in between, etc. An amount below 0 will be treated as 0. Likewise
(int c1, int c2, float amt)
| 8116 | * @see PApplet#lerp(float, float, float) |
| 8117 | */ |
| 8118 | public int lerpColor(int c1, int c2, float amt) { // ignore |
| 8119 | return lerpColor(c1, c2, amt, colorMode); |
| 8120 | } |
| 8121 | |
| 8122 | static float[] lerpColorHSB1; |
| 8123 | static float[] lerpColorHSB2; |