Coding Worley Noise

  Рет қаралды 116,188

The Coding Train

The Coding Train

Күн бұрын

Coding in the Cabana is a series where I attempt challenges from my garden cabana in Brooklyn, NY. In this episode, I explore the beauty of Worley noise. Code: thecodingtrain.com/challenges...
🕹️ p5.js Web Editor Sketch: editor.p5js.org/codingtrain/s...
🎥 All videos: • Coding Challenges
References:
🗄 Worley Noise: en.wikipedia.org/wiki/Worley_...
📓 A Cellular Texture Basis Function: www.rhythmiccanvas.com/resear...
📘 Book of Shaders - Chapter 11 Noise: thebookofshaders.com/11/
📕 The Nature of Code - Spatial Subdivision: natureofcode.com/book/chapter...
💾 saveFrame() (Processing Reference): processing.org/reference/save...
Videos:
🎥 Coding Challenge #98 - Quadtree: • Coding Challenge #98.2...
🎥 Coding Challenge #24: Perlin Noise Flow Field: • Coding Challenge #24: ...
🎥 Coding Challenge #114 - Bubble Sort Visualization: • Coding Challenge #114:...
🎥 Coding Challenge #143 - Quicksort Visualization: • Coding Challenge #143:...
Related Coding Challenges:
🚂 #24 Perlin Noise Flow Field: • Coding Challenge #24: ...
🚂 #28 Metaballs: • Coding Challenge #28: ...
🚂 #98 Quadtree: • Coding Challenge #98.1...
🚂 #114 Bubble Sort Visualization: • Coding Challenge #114:...
🚂 #C5 Marching Squares: • Coding Marching Squares
Timestamps:
0:00 About Worley Noise
1:13 Coding Random Noise
3:29 Adding a Set of Points
4:57 Calculating The Distances
7:25 Coloring
8:10 Animating The Points
10:28 TWorley Noise in 3D
14:00 Optimization Possibilities
14:49 Conclusions and Goodbyes
Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound
🚂 Website: thecodingtrain.com/
👾 Share Your Creation! thecodingtrain.com/guides/pas...
🚩 Suggest Topics: github.com/CodingTrain/Sugges...
💡 GitHub: github.com/CodingTrain
💬 Discord: thecodingtrain.com/discord
💖 Membership: kzfaq.infojoin
🛒 Store: standard.tv/codingtrain
🖋️ Twitter: / thecodingtrain
📸 Instagram: / the.coding.train
🎥 Coding Challenges: • Coding Challenges
🎥 Intro to Programming: • Start learning here!
🔗 p5.js: p5js.org
🔗 p5.js Web Editor: editor.p5js.org/
🔗 Processing: processing.org
📄 Code of Conduct: github.com/CodingTrain/Code-o...
This description was auto-generated. If you see a problem, please open an issue: github.com/CodingTrain/thecod...
#worleynoise #cellulartexture #tesselation #distance #p5js

Пікірлер: 287
@wx39
@wx39 4 жыл бұрын
I really like this format. It feels more casual and calming than the normal coding train. I love the slower pace and authenticity it provides.
@jazzediceberg1175
@jazzediceberg1175 4 жыл бұрын
This is one of the most wholesome videos on the internet
@leontius5502
@leontius5502 3 жыл бұрын
Honestly this whole channel is wholesome
@kittenhero568
@kittenhero568 4 жыл бұрын
Amazing co-host
@voxelrifts
@voxelrifts 4 жыл бұрын
This format for videos is amazing!! Hopefully this doesn't overwork you.
@TheCodingTrain
@TheCodingTrain 4 жыл бұрын
It's a lot of fun to make. . but it does take more time!
@ibuucoksiregar9024
@ibuucoksiregar9024 4 жыл бұрын
Luckily Ms. Gloria Pickle is there to help
@riccardoluise8630
@riccardoluise8630 4 жыл бұрын
@@TheCodingTrain it's like regular coding train but on stamina! Aka "super mario with the star" effect: "Ta ta ta ra ra ta tararara ra tata rara ta tatata" Thank you for everything Daniel!!!! Keep it up :)
@unaiuwu4271
@unaiuwu4271 4 жыл бұрын
I think we all gotta take a moment to appreciate how fricking wholesome and adorable this man is as a whole. It's just amazing.
@haideralipunjabi
@haideralipunjabi 4 жыл бұрын
This is a nice format.
@motbus3
@motbus3 4 жыл бұрын
i like stream sessions, but usually they start just after my work and im so tired that i cant along. but dan still an amazing explainer
@grantjesus9703
@grantjesus9703 2 жыл бұрын
i know im asking the wrong place but does anyone know of a tool to log back into an instagram account?? I somehow lost the password. I would appreciate any tips you can offer me
@johnnyzyaire602
@johnnyzyaire602 2 жыл бұрын
@Grant Jesus Instablaster ;)
@grantjesus9703
@grantjesus9703 2 жыл бұрын
@Johnny Zyaire thanks so much for your reply. I found the site through google and Im trying it out atm. Takes a while so I will reply here later with my results.
@grantjesus9703
@grantjesus9703 2 жыл бұрын
@Johnny Zyaire it did the trick and I finally got access to my account again. I'm so happy:D Thanks so much you really help me out !
@reno82
@reno82 4 жыл бұрын
Plot twist: Daniel was the the one who updated Wikipedia with that image.
@RomanPillai
@RomanPillai 4 жыл бұрын
I can tell editing this video and putting everything together took a lot of extra time but this is really amazing! I love this format! But I also love the candid classroom vibes from before.
@KnakuanaRka
@KnakuanaRka 10 ай бұрын
Two things you could try: Automatically figure out the minimum and maximum distances and scale the coloring based on that; and try making a wraparound space so it seems more uniform and less affected by the edges.
@nathanlloyd774
@nathanlloyd774 3 жыл бұрын
You make programming look so simple and beautiful...that all changes the moment I sit down in front of my PC
@fabianjaggy298
@fabianjaggy298 4 жыл бұрын
You know it‘s going to be a good day when there‘s a new video on the coding train channel.🎉
@geronimorivoira5322
@geronimorivoira5322 4 жыл бұрын
just wanted to say your videos are an inspiration for me, they always make me want to get up and do something. thank you! :)
@FranciscoUberto
@FranciscoUberto 4 жыл бұрын
Gloria Pickle
@idrisShiningTimes
@idrisShiningTimes 4 жыл бұрын
You are not only a programmer, but also an editor. Your editing skills are very amazing! Liked and Subscribed!
@HeitorvitorC
@HeitorvitorC 4 жыл бұрын
Thank you for your enthusiasm in times like these, you are extremely lovely
@isaacchen3857
@isaacchen3857 4 жыл бұрын
Dan, your positivity is contagious! Love from RI
@meysam.mousavi
@meysam.mousavi 4 жыл бұрын
You're just awesome Daniel. Never getting tired of your quality content since years back. Your videos are like ASMR to me now. Thank you so much for all the cool stuff.
@olfmombach260
@olfmombach260 4 жыл бұрын
You just always radiate so much cozyness and chill, I just want to hug you haha
@tompov227
@tompov227 4 жыл бұрын
*Gloria Pickle* Co-Host Loved that
@DustinGunnells
@DustinGunnells 4 жыл бұрын
You have been consistently helpful, even my son who's becoming more active in learning how to code uses you as a reference. Thank you for pursuing your passion!
@siddhantjain2402
@siddhantjain2402 3 жыл бұрын
You know what is more amazing for me, Daniel, is your understanding of these concepts and your ability to grasp them so quickly! You are awesome dude!
@codeiguess4571
@codeiguess4571 4 жыл бұрын
I love the way this was filmed!! Just way easier to watch it either on my phone or the computer without it feeling like a whole livestream.
@darryllim9037
@darryllim9037 4 жыл бұрын
I've been watching your tutorials for years hoping your energy and enthusiasm would rub off on me someday. Always a pleasure Mr Shiffman
@prestonduffield5393
@prestonduffield5393 4 жыл бұрын
Without a doubt one of the best coding channels
@xXrandomryzeXx
@xXrandomryzeXx 4 жыл бұрын
I like the quality of these videos. I love you. The best programmer.
@yurchiie
@yurchiie 4 жыл бұрын
This was so nice to watch. Just had breakfast, some coffee and learned something new.
@softwave1662
@softwave1662 4 жыл бұрын
I love this format! It's pleasant and relaxing.
@Canthandlethis4296
@Canthandlethis4296 4 жыл бұрын
These videos are amazing! More amazing than usual amazing.
@gkreisman
@gkreisman 4 жыл бұрын
This video is both informative and lovely. Your explanation of the algorithm in processing was so clear that I was able to code along in p5js. Gloria Pickle is crazy cute. And the sounds of birds and children outside the cabana really transported me to a wonderful coding space. Thank you!!
@sk8elementkid
@sk8elementkid 4 жыл бұрын
You are the Mr. Roger's of coding.
@AxelJimenezC
@AxelJimenezC 3 жыл бұрын
thanx for your time. I love learn with your videos.
@shavongolbourne7987
@shavongolbourne7987 3 жыл бұрын
Just thank you Mr. Shiffman. I love coding and have a teaching degree but never utilized it but u are inspirational.
@nabeelhasan6593
@nabeelhasan6593 3 жыл бұрын
Glad this series in back , thanks
@avikroy8180
@avikroy8180 3 жыл бұрын
i love this guy .. his code is so much colorful.
@Dohpamine_Design
@Dohpamine_Design 3 жыл бұрын
I owe you my future, I just started learning processing and your tutorials and personality have been keeping me afloat Thanks .. choo-choo!
@toferj7441
@toferj7441 4 жыл бұрын
Dan this new video style is so slick! I love both you figuring stuff out and showing that everyone makes mistakes and here's how you debug... But I'm digging this slicker more polished style too. Kudos to you and (I assume) Mathieu, on this style of video! 😉👍🏼
@phpngpl
@phpngpl 4 жыл бұрын
So wholesome! Thank you for this tutorial!
@wileyr
@wileyr 4 жыл бұрын
This video format makes me happy
@kepler1175
@kepler1175 4 жыл бұрын
Everyone is right, this video is calming and so real. The birds are so relaxing, and what a great host and co host.
@falschnehmung
@falschnehmung 2 жыл бұрын
... allways ( ALL WAYS ) sooooo enlighting to watch ... hugs, man !!!
@XzhiTBK
@XzhiTBK 4 жыл бұрын
Wow, you've really grown! I remember our prof telling us to watch some of your videos when you had a couple thousand subs. I've joked about how far you've grown when you were at 200k, and now you have a million!
@TheFinagle
@TheFinagle 2 жыл бұрын
to map ranges you could find (or keep track of) the max dist value and use that as one end of your mapping. That way you always get the full range of your colour.
@hamza2792
@hamza2792 4 жыл бұрын
Everyones telling this format is good but I must say I still love the coding train format. The Fun. The movements. The Thisdot. And what not.
@prakashchakraborty6933
@prakashchakraborty6933 4 жыл бұрын
I like you co-host Gloria pickle, I hope you and he are safe at home enjoying quarantine days😊
@behrampatel3563
@behrampatel3563 4 жыл бұрын
What a Fantastic prelude to Voronoi noise. I had some VFX interns present the use of Voronoi in Fracturing objects. This video will help them out tons ! Cheers & a Big hug Dan
@sanderbos4243
@sanderbos4243 4 жыл бұрын
The quality of this video is through the roof, I'd love it if you could keep using this style of making videos! :)
@seamikiseamiki1825
@seamikiseamiki1825 3 жыл бұрын
Love the lowfi camera shots from the back.
@ezangrobotsvideos9286
@ezangrobotsvideos9286 3 жыл бұрын
Thanks for all your lessons
@elektrisksitron9054
@elektrisksitron9054 4 жыл бұрын
The cabana is back! Yessss!
@taon
@taon 2 жыл бұрын
Hey Daniel, don’t forget you’re the best !
@scottbigbrain3944
@scottbigbrain3944 4 жыл бұрын
This is the first Coding in the Cabana that I watched, and I think I need a cabana to code in now.
@lukaskovar6921
@lukaskovar6921 4 жыл бұрын
Wow, those types of videos are awesome. I must watch previous chapters.
@ritwiktewari469
@ritwiktewari469 4 жыл бұрын
Man I love watching ur videos... I left my coding skills after I passed my school and entered a medical college 😂 But this brings me back the drive I need to have fun while coding just don't stop making this video's anytime soon 💪🏻👍🏼
@ciceroaraujo5183
@ciceroaraujo5183 4 жыл бұрын
You are simply the best
@_chappie_
@_chappie_ 4 жыл бұрын
Amazing video format. Feels much smoother. But I can't choose, I like both of them.
@dave6012
@dave6012 2 жыл бұрын
Love coding in the cabana. I hope you have time to bring it back soon 🙂
@dustingunnells2739
@dustingunnells2739 4 жыл бұрын
I like the new format!
@xerxius5446
@xerxius5446 4 жыл бұрын
Love this series !!
@sc.smitshah
@sc.smitshah 4 жыл бұрын
Congrats on your 1M subs! Its impressive. even at home, you can make time to make quality edu. videos.
@diegofarisato3488
@diegofarisato3488 4 жыл бұрын
I do like what you do for the development community doing all o' this maths / animations
@zaynbaig3157
@zaynbaig3157 4 жыл бұрын
Love this series Dan!
@Dirtyratsdotwebs
@Dirtyratsdotwebs 4 жыл бұрын
just got my copy of learning processing today! excited to create some beautiful digital art, thanks for all your work Daniel
@TheCodingTrain
@TheCodingTrain 4 жыл бұрын
Hope you enjoy it!
@PenguinMaths
@PenguinMaths 3 жыл бұрын
Amazing, such a happy channel!
@torquebiker9959
@torquebiker9959 3 жыл бұрын
Wow, looks amazing.
@darinbasile6754
@darinbasile6754 4 жыл бұрын
I can’t really code yet, but love the theory/thought behind it. Thank you!
@CodeWithThi
@CodeWithThi 4 жыл бұрын
Hey weird guy, Thanks for your videos. You inspire me to code again :). By the way, your are the best!!!
@Robson-pi6wx
@Robson-pi6wx 3 жыл бұрын
Hi, i'm one of yours Brazillian fans, and i like your videos a a lot :)
@abhijeet800
@abhijeet800 4 жыл бұрын
your set up is amazing
@kalanstrauss5500
@kalanstrauss5500 4 жыл бұрын
Thank you for this, Ive been waiting for this to make some clouds lol!
@akshatsahijpal3536
@akshatsahijpal3536 4 жыл бұрын
Best programming teacher on internet..........
@michalsejak
@michalsejak 4 жыл бұрын
That's awesome! I love how the doggo helps you C:
@RORoMiguel
@RORoMiguel 4 жыл бұрын
I'll really like to translate your videos to spanish, you are an invaluable source of knowledge and more people have to learn this kind of topics, nice format by the way, I wish gloria and you stay safe this quarantine
@TheCodingTrain
@TheCodingTrain 4 жыл бұрын
Wow, thank you!
@km-sc4kz
@km-sc4kz 4 жыл бұрын
This is really calming and peaceful :)
@soejrd24978
@soejrd24978 4 жыл бұрын
Aww little doggy, I love these!
@krb3d
@krb3d 2 жыл бұрын
Nice and clean, thanks!
@realcygnus
@realcygnus 4 жыл бұрын
Great stuff ! As usual.
@0969superman
@0969superman 4 жыл бұрын
best teacher ever
@vovanikotin
@vovanikotin 4 жыл бұрын
Waiting for Raymarching! Thx for videos. Stay safe!
@sonmangaking
@sonmangaking 4 жыл бұрын
I love u so so much thank you for always giving great content and inspiring the world of developers at home
@sonmangaking
@sonmangaking 4 жыл бұрын
I have been saving up to make content like you. recent computer science graduate, your videos have grew my passion and love for the field through the years! :)
@iamsushi1056
@iamsushi1056 Жыл бұрын
I’d love to see a 2d Worley where the points are like the output of an edge-finding algorithm with either an image or a live camera input. Definitely gonna have to try this in Shadertoy later
@HritikRC
@HritikRC 4 жыл бұрын
Wow! Excellently explained, even without your whiteboard, hehe
@stockluke
@stockluke 4 жыл бұрын
I would loooove to see a Voronoi video that uses Fortune's Algorithm! I have been struggling sooo much to try to learn it and I think this channel would be the perfect place to fully understand it.
@DogwafflDan
@DogwafflDan 4 жыл бұрын
Thanks. This was a fun project.
@marcelomafra
@marcelomafra 4 жыл бұрын
Awesome! Thanks
@markojozic3944
@markojozic3944 4 жыл бұрын
I like this format actually more than the one with your green-screen-background
@noebonne2028
@noebonne2028 4 жыл бұрын
Very interesting vidéo, made my day better 🖤
@NashvilleMonkey1000
@NashvilleMonkey1000 4 жыл бұрын
In the past 400 years these forms have been called Descartes, Dirichlet, Thiessen, or Voronoi diagrams, independently discovered by several mathematicians.
@aaditya4998
@aaditya4998 3 жыл бұрын
Man your videos are awesome , i love watching your tutorials and i have learnt many things from you ♥️. i already love to code but was limited only to console outputs , but now i am able to express my ideas easily, and one doubt can this worley noise be done using javascript and python ?. Love from your fan 💙
@muhammadhaider5677
@muhammadhaider5677 4 жыл бұрын
You make me happy.
@stephendebeauchamp356
@stephendebeauchamp356 Жыл бұрын
I am so disappointed in myself for just now finding your channel, thank you for all of this 😎
@TheCodingTrain
@TheCodingTrain Жыл бұрын
Welcome aboard!
@deadmusik9969
@deadmusik9969 4 жыл бұрын
i wanna smoke weed with you and pickle , and im very glad you references the book of shaders, i honestly cant pin down a more talented person for graphics and hes a mystic also :D, love your work i watch these when im board and it gives me motivation to start coding
@DaveBriccetti
@DaveBriccetti 4 жыл бұрын
Very polished! Cute doggie. % is modulo, the number following is the modulus. 6 % 2 reads as six modulo two.
@TheCodingTrain
@TheCodingTrain 4 жыл бұрын
Noooo! I did it again????
@ptim33
@ptim33 4 жыл бұрын
Good timing, I yesterday watched your perlin noise video.
@ptim33
@ptim33 4 жыл бұрын
Thank you for the heart.
@anog_jani
@anog_jani 4 жыл бұрын
I like this style of video
@DeusAmentiam
@DeusAmentiam 4 жыл бұрын
Subtracting and mapping different N’s of noise with each other can also give quite interesting results
@TheCodingTrain
@TheCodingTrain 4 жыл бұрын
Oh, thanks for this suggestion!
@pdsmart
@pdsmart 3 жыл бұрын
very cool. THANKS!!
@fernfaba
@fernfaba Жыл бұрын
I love this dude
@bonzo6989
@bonzo6989 4 жыл бұрын
Man you got me with ur co-host :D ps. i have this strange feeling that pickle knows more about Processing than me haha
@aliabedi6163
@aliabedi6163 3 жыл бұрын
You give me energy to work :)
@manavatshyam
@manavatshyam 4 жыл бұрын
Hi, You make amazing tutorial.
Coding the Hilbert Curve
28:08
The Coding Train
Рет қаралды 109 М.
Coding the Collatz Conjecture
23:08
The Coding Train
Рет қаралды 130 М.
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 124 МЛН
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 16 МЛН
Coding Marching Squares
26:28
The Coding Train
Рет қаралды 177 М.
Genuary After Dark
0:58
The Coding Train
Рет қаралды 12 М.
Coding Challenge #136.1: Polar Perlin Noise Loops
22:02
The Coding Train
Рет қаралды 193 М.
Coding Challenge 162: Self-Avoiding Walk
38:27
The Coding Train
Рет қаралды 152 М.
Blazingly Fast JavaScript with ThePrimeagen | Preview
18:22
Frontend Masters
Рет қаралды 103 М.
Coding Challenge 93: Double Pendulum
31:11
The Coding Train
Рет қаралды 916 М.
Don't Write Comments
5:55
CodeAesthetic
Рет қаралды 777 М.
Coding Adventure: Clouds
12:50
Sebastian Lague
Рет қаралды 1,2 МЛН
Coding Challenge 124: Flocking Simulation
42:27
The Coding Train
Рет қаралды 326 М.
KINDNESS ALWAYS COME BACK
00:59
dednahype
Рет қаралды 124 МЛН