Summary
Full Transcript
In this video, I explore the random() function in p5.js and discuss the concept of 'parametric design.' Code: https://thecodingtrain.com/tracks/code-programming-with-p5-js/code/2-variables/4-random p5.js Web Editor Sketches: 🕹️ Random Square Design: https://editor.p5js.org/codingtrain/sketches/Sl8ml_Lz8 🕹️ Random House Exercise: https://editor.p5js.org/codingtrain/sketches/HGq_S0Z5H 🕹️ Random Points: https://editor.p5js.org/codingtrain/sketches/h7hFqoV6H 🕹️ Painting Exercise 1: https://editor.p5js.org/codingtrain/sketches/stERy5a1D 🕹️ Painting Exercise 2: https://editor.p5js.org/codingtrain/sketches/IyyJ1QYKh 🎥 Previous video: https://youtu.be/T26OJGjI8qI?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA 🎥 Next video: https://youtu.be/nicMAoW6u1g?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA 🎥 All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA References: 💾 random(): https://p5js.org/reference/#/p5/random Timestamps: 0:00 Welcome back! 0:47 What is the random function? 2:10 Let's try it out! 4:58 What if we use random() in draw? 6:16 Let's try making something else. 7:10 How about using only 1 argument? 7:42 Built in width and height variables. 8:51 Ideas! What could you make? Editing by Mathieu Blanchette Animations by Jason Heglund Music from Epidemic Sound 🚂 Website: http://thecodingtrain.com/ 👾 Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide 🚩 Suggest Topics: https://github.com/CodingTrain/Suggestion-Box 💡 GitHub: https://github.com/CodingTrain 💬 Discord: https://discord.gg/hPuGy2g 💖 Membership: http://youtube.com/thecodingtrain/join 🛒 Store: https://standard.tv/codingtrain 🖋️ 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 This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecodingtrain.com/issues/new #basics #random #variables #p5js #javascript
