Skip to content

Commit

Permalink
Merge pull request #7036 from PalumboN/patch-1
Browse files Browse the repository at this point in the history
Fix map example
  • Loading branch information
Qianqianye committed May 14, 2024
2 parents f0aa5ed + 5216446 commit a0c52a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/math/calculation.js
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ p5.prototype.mag = function(x, y) {
* let x = map(mouseX, 0, 100, 0, 50);
*
* // Draw the bottom line.
* line(0, 75, 0, x);
* line(0, 75, x, 75);
* }
* </code>
* </div>
Expand Down

0 comments on commit a0c52a9

Please sign in to comment.