
Coding Worley Noise
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: https://thecodingtrain.com/challenges/c4-worley-noise
πΉοΈ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/QsiCWVczZ
π₯ All videos: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
References:
π Worley Noise: https://en.wikipedia.org/wiki/Worley_noise
π A Cellular Texture Basis Function: https://www.rhythmiccanvas.com/research/papers/worley.pdf
π Book of Shaders - Chapter 11 Noise: https://thebookofshaders.com/11/
π The Nature of Code - Spatial Subdivision: https://natureofcode.com/book/chapter-6-autonomous-agents/#chapter06_figure37
πΎ saveFrame() (Processing Reference): https://processing.org/reference/saveFrame_.html
Videos:
π₯ Coding Challenge #98 - Quadtree: https://www.youtube.com/watch?v=QQx_NmCIuCY
π₯ Coding Challenge #24: Perlin Noise Flow Field: https://www.youtube.com/watch?v=BjoM9oKOAKY
π₯ Coding Challenge #114 - Bubble Sort Visualization: https://www.youtube.com/watch?v=67k3I2GxTH8
π₯ Coding Challenge #143 - Quicksort Visualization: https://www.youtube.com/watch?v=eqo2LxRADhU
Related Coding Challenges:
π #24 Perlin Noise Flow Field: https://youtu.be/BjoM9oKOAKY
π #28 Metaballs: https://youtu.be/ccYLb7cLB1I
π #98 Quadtree: https://youtu.be/OJxEcs0w_kE
π #114 Bubble Sort Visualization: https://youtu.be/67k3I2GxTH8
π #C5 Marching Squares: https://youtu.be/0ZONMNUKTfU
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: 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://thecodingtrain.com/discord
π 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
#worleynoise #cellulartexture #tesselation #distance #p5js