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.1k stars 3.22k forks source link

Fix map example #7036

Closed PalumboN closed 1 month ago

PalumboN commented 1 month ago

Fixing the example of map function. The bottom line was drown vertical instad of horizontal, as the example try to show.

'Two horizontal lines. The top line grows horizontally as the mouse moves to the right. The bottom line also grows horizontally but is scaled to stay on the left half of the canvas.'
welcome[bot] commented 1 month ago

🎉 Thanks for opening this pull request! Please check out our contributing guidelines if you haven't already. And be sure to add yourself to the list of contributors on the readme page!

nickmcintyre commented 1 month ago

Good catch @PalumboN!

Qianqianye commented 1 month ago

Thanks! @allcontributors please add @PalumboN for bug and documentation

allcontributors[bot] commented 1 month ago

@Qianqianye

I've put up a pull request to add @PalumboN! :tada: