We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e2f095 commit 158a8bcCopy full SHA for 158a8bc
src/color/creating_reading.js
@@ -960,8 +960,8 @@ p5.prototype.hue = function(c) {
960
* <a href="#/colorMode">colorMode()</a>.
961
*
962
* @method lerpColor
963
- * @param {p5.Color|Number[]} c1 interpolate from this color.
964
- * @param {p5.Color|Number[]} c2 interpolate to this color.
+ * @param {p5.Color} c1 interpolate from this color (any value created by the color() function).
+ * @param {p5.Color} c2 interpolate to this color (any value created by the color() function).
965
* @param {Number} amt number between 0 and 1.
966
* @return {p5.Color} interpolated color.
967
0 commit comments