In Part I.3 of my Perlin Noise Tutorial, I demonstrate the difference between two p5.js functions that return random numbers: noise() and random(). Code: [ Ссылка ]
🕹️ p5.js Web Editor Sketch: [ Ссылка ]
🎥 Previous video: [ Ссылка ]
🎥 Next video: [ Ссылка ]
🎥 All videos: [ Ссылка ]
References:
🔗 noise(): [ Ссылка ]
🔗 random(): [ Ссылка ]
🔗 The Nature of Code: [ Ссылка ]
🔗 NOC Github: [ Ссылка ]
🔗 NOC Examples p5.js: [ Ссылка ]
Timestamps:
0:00 Introduction
0:50 Random function
1:43 The argument to the noise function
4:17 The noise value distribution
5:11 Let's code!
6:35 Mapping the noise value
8:04 Using xoff to get new noise values
9:05 Updating the value of xoff
Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound
🚂 Website: [ Ссылка ]
👾 Share Your Creation! [ Ссылка ]
🚩 Suggest Topics: [ Ссылка ]
💡 GitHub: [ Ссылка ]
💬 Discord: [ Ссылка ]
✪ Nebula: [ Ссылка ]
💖 Membership: [ Ссылка ]
🛒 Store: [ Ссылка ]
🖋️ Twitter: [ Ссылка ]
📸 Instagram: [ Ссылка ]
🎥 Coding Challenges: [ Ссылка ]
🎥 Intro to Programming: [ Ссылка ]
🔗 p5.js: [ Ссылка ]
🔗 p5.js Web Editor: [ Ссылка ]
🔗 Processing: [ Ссылка ]
📄 Code of Conduct: [ Ссылка ]
This description was auto-generated. If you see a problem, please open an issue: [ Ссылка ]
#forbeginners #javascript #p5js
![](https://i.ytimg.com/vi/YcdldZ1E9gU/maxresdefault.jpg)