From c9eb3bb6589ec29e5cf03ec84d811156b1997a7b Mon Sep 17 00:00:00 2001 From: Jaxsen Honeycutt Date: Fri, 6 Nov 2026 17:15:51 -0500 Subject: [PATCH] Fix first map() reference example --- src/math/calculation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/math/calculation.js b/src/math/calculation.js index a8d0589a7b..f0c9f4f0d3 100644 --- a/src/math/calculation.js +++ b/src/math/calculation.js @@ -787,7 +787,7 @@ function calculation(p5, fn) { * let x = map(mouseX, 0, 100, 0, 50); * * // Draw the bottom line. - * line(0, 75, 0, x); + * line(0, 75, x, 75); * } * ``` *