From 3612825d475c3872ceeac571741e7b498daaff7e Mon Sep 17 00:00:00 2001 From: Monica Powell <6998954+M0nica@users.noreply.github.com> Date: Thu, 5 Sep 2024 16:47:28 -0400 Subject: [PATCH] Update links in lerpColor() --- src/color/creating_reading.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/color/creating_reading.js b/src/color/creating_reading.js index 77dea3b48b..3801d1e146 100644 --- a/src/color/creating_reading.js +++ b/src/color/creating_reading.js @@ -953,11 +953,11 @@ p5.prototype.hue = function(c) { * values. 0 is equal to the first color, 0.1 is very near the first color, * 0.5 is halfway between the two colors, and so on. Negative numbers are set * to 0. Numbers greater than 1 are set to 1. This differs from the behavior of - * lerp. It's necessary because numbers outside of the + * lerp. It's necessary because numbers outside of the * interval [0, 1] will produce strange and unexpected colors. * * The way that colors are interpolated depends on the current - * colorMode(). + * colorMode(). * * @method lerpColor * @param {p5.Color} c1 interpolate from this color.