processing / p5.js

p5.js is a client-side JS platform that empowers artists, designers, students, and anyone to learn to code and express themselves creatively on the web. It is based on the core principles of Processing. http://twitter.com/p5xjs —
http://p5js.org/
GNU Lesser General Public License v2.1
21.45k stars 3.29k forks source link

Calculation map() Documentation Enhancement #7155

Open ronyginosar opened 1 month ago

ronyginosar commented 1 month ago

Increasing access

No

Most appropriate sub-area of p5.js?

Feature enhancement details

I'd like to propose specifying in the documentation that map() preforms a linear mapping: https://p5js.org/reference/p5/map/ I'd also add a recommendation to use manual mappings for different needs.

welcome[bot] commented 1 month ago

Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, please make sure to fill out the inputs in the issue forms. Thank you!