2.5: The map() Function - p5.js Tutorial
This video covers the map() function in p5.js -- how to take a value from a given range and map it to a new range. https://thecodingtrain.com/beginners/p5js/2.5-map.html
🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/yJqbGf71
🎥 Previous video: https://youtu.be/POn4cZ0jL-o?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
🎥 Next video: https://youtu.be/1Osb_iGDdjk?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
🎥 All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
Timestamps:
0:00 Hello! Let's talk about the map function.
0:32 Let's start with an example.
3:03 Trying to change the range of mouseX without map().
4:17 That sort of worked, but what about other scenarios?
5:12 Let's see if I can explain how to use map().
7:44 How about we try it out!
8:27 Let's have some fun with map()!
9:39 How could you take this farther?
🚂 Website: http://thecodingtrain.com/
👾 Share Your Creation! https://thecodingtrain.com/Guides/community-contribution-guide.html
🚩 Suggest Topics: https://github.com/CodingTrain/Rainbow-Topics
💡 GitHub: https://github.com/CodingTrain
💬 Discord: https://discord.gg/hPuGy2g
💖 Membership: http://youtube.com/thecodingtrain/join
🛒 Store: https://standard.tv/codingtrain
📚 Books: https://www.amazon.com/shop/thecodingtrain
🖋️ Twitter: https://twitter.com/thecodingtrain
📸 Instagram: https://www.instagram.com/the.coding.train/
🎥 Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
🎥 Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
🔗 p5.js: https://p5js.org
🔗 p5.js Web Editor: https://editor.p5js.org/
🔗 Processing: https://processing.org
📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct
Видео 2.5: The map() Function - p5.js Tutorial канала The Coding Train
🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/yJqbGf71
🎥 Previous video: https://youtu.be/POn4cZ0jL-o?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
🎥 Next video: https://youtu.be/1Osb_iGDdjk?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
🎥 All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
Timestamps:
0:00 Hello! Let's talk about the map function.
0:32 Let's start with an example.
3:03 Trying to change the range of mouseX without map().
4:17 That sort of worked, but what about other scenarios?
5:12 Let's see if I can explain how to use map().
7:44 How about we try it out!
8:27 Let's have some fun with map()!
9:39 How could you take this farther?
🚂 Website: http://thecodingtrain.com/
👾 Share Your Creation! https://thecodingtrain.com/Guides/community-contribution-guide.html
🚩 Suggest Topics: https://github.com/CodingTrain/Rainbow-Topics
💡 GitHub: https://github.com/CodingTrain
💬 Discord: https://discord.gg/hPuGy2g
💖 Membership: http://youtube.com/thecodingtrain/join
🛒 Store: https://standard.tv/codingtrain
📚 Books: https://www.amazon.com/shop/thecodingtrain
🖋️ Twitter: https://twitter.com/thecodingtrain
📸 Instagram: https://www.instagram.com/the.coding.train/
🎥 Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
🎥 Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
🔗 p5.js: https://p5js.org
🔗 p5.js Web Editor: https://editor.p5js.org/
🔗 Processing: https://processing.org
📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct
Видео 2.5: The map() Function - p5.js Tutorial канала The Coding Train
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
2.6: createGraphics() - p5.js TutorialJavaScript Higher Order Functions & Arrays16.6: Array Functions: map() and fill() - Topics of JavaScript/ES62.5: The random() Function - p5.js TutorialI.2: Introduction - Perlin Noise and p5.js Tutorial2.3: JavaScript Objects - p5.js TutorialLESSON 28: Tutorial for Programming Software Interrupts on ArduinoIntermediate Python Tutorial #3 - Map() FunctionAlternative to for loops in R with purrr's map, map_dbl, and map_dfr functions (CC043)JavaScript Array MapRobotics: Arduino, part 12 - Map() functionLive Stream #71: Coding Challenges: Circle Packing and White House Data VisualizationP5.js Tutorial | Create a generative art using image dataLearn JavaScript DOM Traversal In 15 Minutes5.7 Path Following (Steering) - Nature of Code7.3: Arrays of Objects - p5.js Tutorial#149 ESP32 Dual Core Programming + Speed 💨Test vs Arduino UNO (fast!)Coding Challenge #86: Cube Wave by Bees and Bombs