Skip to content

Commit 8bf8b6b

Browse files
authored
Merge pull request #8518 from rakesh2OO5/fix-lerpcolor-reference-links
Fix broken reference links in lerpColor() documentation (p5.js 2.0)
2 parents 33369be + 082953a commit 8bf8b6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/color/creating_reading.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1384,11 +1384,11 @@ function creatingReading(p5, fn){
13841384
* values. 0 is equal to the first color, 0.1 is very near the first color,
13851385
* 0.5 is halfway between the two colors, and so on. Negative numbers are set
13861386
* to 0. Numbers greater than 1 are set to 1. This differs from the behavior of
1387-
* <a href="#/lerp">lerp</a>. It's necessary because numbers outside of the
1387+
* <a href="#/p5/lerp">lerp</a>. It's necessary because numbers outside of the
13881388
* interval [0, 1] will produce strange and unexpected colors.
13891389
*
13901390
* The way that colors are interpolated depends on the current
1391-
* <a href="#/colorMode">colorMode()</a>.
1391+
* <a href="#/p5/colorMode">colorMode()</a>.
13921392
*
13931393
* @method lerpColor
13941394
* @param {p5.Color} c1 interpolate from this color.

0 commit comments

Comments
 (0)