Noise vs Random in p5.js

  Рет қаралды 131,085

The Coding Train

The Coding Train

Күн бұрын

Пікірлер: 52
@NOSHEDMANTIS
@NOSHEDMANTIS Жыл бұрын
Came here wanting to learn how to write my own Perlin Noise code in Java... kept watching and listening purely for your amazing energy. Much love :D
@sirporksword8172
@sirporksword8172 8 жыл бұрын
best teacher ever! Thank you very much.
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
thanks for watching!
@vladm6892
@vladm6892 6 жыл бұрын
I really like the attitude in these tutorials, really makes me even more excited about programming.
@jakekaminski6936
@jakekaminski6936 6 жыл бұрын
Excellent exposition of x-position 🙂
@sweethomes674
@sweethomes674 Жыл бұрын
Thank you for teaching the Nature of code and the excellent explanations 😊
@giangtu6000
@giangtu6000 4 жыл бұрын
I bought The nature of code book just because I like you so much!! ❤️
@malibaturhan
@malibaturhan 3 жыл бұрын
you're crazy, a genious. in every video of yours I believe that again. thank you for everything
@kossboss
@kossboss Жыл бұрын
When you plotted perlin noise on the graph with the ball moving left and right smoothly. It reminded me of what happens if you apply "random()" to acceleration. We essentially get smooth random movement. I wonder if that can count as a variation to perlin noise and if it would have too won an oscar lol.
@ChrispyByDefault
@ChrispyByDefault 7 жыл бұрын
Your videos are life savers!
@krshnam6170
@krshnam6170 2 жыл бұрын
Thanks!
@TheCodingTrain
@TheCodingTrain 2 жыл бұрын
Thanks for the support!
@aidanhamilton308
@aidanhamilton308 7 жыл бұрын
Its been up over a year and a half and it still has no dislikes, shows how good this guy is!
@pairot01
@pairot01 8 жыл бұрын
As always, very interesting things you bring about.
@AK56fire
@AK56fire 3 жыл бұрын
You are awesome. I wish I had that kind of energy in day to day life. Life would be so incredible daily.
@ratixyz
@ratixyz 7 жыл бұрын
THIS WAS SO COOL 😭 ❤️.
@TheCodingTrain
@TheCodingTrain 7 жыл бұрын
Thanks for watching!
@mariaarkadieff1572
@mariaarkadieff1572 Жыл бұрын
Awesome teaching, thank You so much!
@anteconfig5391
@anteconfig5391 7 жыл бұрын
That was beautiful. Bravo sir!
@TabrisChen
@TabrisChen 4 жыл бұрын
It would be great if you can explain the map() function and the values in there, keep up the great work !
@klauspeter2199
@klauspeter2199 6 жыл бұрын
Wow that's really a nice way to explain it
@lukedavis2100
@lukedavis2100 4 жыл бұрын
merry christmas and happy new year
@emalorenzo2415
@emalorenzo2415 2 жыл бұрын
great explanation sensei
@lopsangdlama
@lopsangdlama 2 жыл бұрын
interesting. Thanks so much for great tutorial
@ssikarim
@ssikarim 2 жыл бұрын
Great teacher. Thanks
@tshichan
@tshichan 5 жыл бұрын
8:54 my mouse on the X button 8:55 "Don't go!!" me replying OK!! with a big laugh
@danielrdrigues
@danielrdrigues 4 жыл бұрын
same haha
@sarahpuspdew
@sarahpuspdew 6 ай бұрын
so the value of noise on a particular xoff is almost the same at each frame....but what we do to get the smooth randomness is getting the noise value of a xoff over and over again but we change the xoff or add the xoff for each frame?
@escape0707
@escape0707 6 жыл бұрын
Nice intro! Guys, loop starting from 8:49 plz! XDD
@escape0707
@escape0707 6 жыл бұрын
I mean exactly 8:55 to 9:00
@mavast644
@mavast644 7 жыл бұрын
Hello, when I try to run my script it says that map is not defined. code: var y = map(noise(100),0,1,0,height); I have loaded p5.js in my html file. btw: you are my favorite teacher ever!
@mavast644
@mavast644 7 жыл бұрын
nvm I ran map() outside of a function i'm a dumbass XD
@TheCodingTrain
@TheCodingTrain 7 жыл бұрын
No worries, glad you worked it out!
@gokulnc4501
@gokulnc4501 4 жыл бұрын
For anyone looking for how to run P5.js on your local machine like him: kzbin.info/www/bejne/i3Srq5-Lnql3Z5I Introduction to P5.js: kzbin.info/www/bejne/bpuThnefg5ygr5Y
@zxgik
@zxgik 4 жыл бұрын
THANK U SO MUCH !!!
@hv1461
@hv1461 4 жыл бұрын
Hi, I enjoy your videos and appreciate what you teach us buy why are you so hyper ? (serious question)
@diegoferreira3444
@diegoferreira3444 4 жыл бұрын
Cool
@JawnNawva
@JawnNawva 2 ай бұрын
how do I know if I've installed p5 correctly? I keep getting reference errors and I can't call random()
@m0nologger
@m0nologger 8 жыл бұрын
Every time I try to call the random function in console, I just get an undefined error.
@TheCodingTrain
@TheCodingTrain 8 жыл бұрын
+Sounds From The Attic you have to be on a page that has the p5 library loaded.
@hugomejia7826
@hugomejia7826 3 жыл бұрын
Just to clear Dan's answer, and to help other p5.js newbies (like me), "p5 library loaded" actually means having the setup() and draw() function included (even empty) in a js file loaded in the page in question.
@karankapoor1781
@karankapoor1781 8 жыл бұрын
what was the reason of applying map( ) there, i didnt get it. :p
@asdfasdf-tp7fm
@asdfasdf-tp7fm 7 жыл бұрын
map transforms a value from a given range (0 to 1 in the case of noise()) into a value from another range. for example, if we choose a random number between 0 and 10 and get a 5, and map that number between 50 and 100, it will become 75. this is because 5 is halfway between 0 and 10, and 75 is halfway between 50 and 100.
@canalbomon
@canalbomon 4 жыл бұрын
why I can't use random() function in console? I try in html hardcode and it works, but dont works in console?
@MrJohnakel
@MrJohnakel 4 жыл бұрын
7:30 ,,, that number isn't changing, why ? because that number is the same all the time!! ))))
@xuefangzheng6454
@xuefangzheng6454 5 жыл бұрын
Hi, I cannot find the code in the link u attached to this video.
@TheCodingTrain
@TheCodingTrain 5 жыл бұрын
Ack, I'm not sure what happened to it. Would you find filing an issue here as a reminder? github.com/CodingTrain/website/issues
@ispeakforthebeans
@ispeakforthebeans 4 жыл бұрын
this is so beautiful so amazing so awesome dbvehebfhesche im losing it
@NoSuchStrings
@NoSuchStrings 11 ай бұрын
Me gusta
@caroylngriffen5124
@caroylngriffen5124 3 жыл бұрын
d
@cap-advaith
@cap-advaith 6 жыл бұрын
these guys are called TEACHERS not the one in my school.....
How to Graph Perlin Noise with p5.js
13:36
The Coding Train
Рет қаралды 122 М.
Coding Challenge 180: Falling Sand
23:00
The Coding Train
Рет қаралды 1,1 МЛН
Support each other🤝
00:31
ISSEI / いっせい
Рет қаралды 81 МЛН
My scorpion was taken away from me 😢
00:55
TyphoonFast 5
Рет қаралды 2,7 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Coding Challenge 11: 3D Terrain Generation with Perlin Noise in Processing
22:44
I.7 : What is OpenSimplex Noise?
17:46
The Coding Train
Рет қаралды 113 М.
Coding Challenge 179: Elementary Cellular Automata
21:41
The Coding Train
Рет қаралды 161 М.
sin(x+y)°=?
11:15
Mathematopia
Рет қаралды 24
Wave Function Collapse: Overlapping Model
1:32:09
The Coding Train
Рет қаралды 27 М.
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 188 М.
Perlin Noise in Two Dimensions (p5.js)
11:32
The Coding Train
Рет қаралды 127 М.