Procedural Voronoi Explained

  Рет қаралды 9,599

Yusef28

Yusef28

20 күн бұрын

If you are new to the procedural voronoi algorithm or you just want to see a deep explainatin including how it can be done without using fract() then this is for you!
In this two part video tutorial you will learn how the procedurally generated voronoi and voronoi edges algorithms work. With the help of intuitive diagrams, glsl code walkthroughs, and some quick vector math explainatins you will come away with the confidence to use these techniques in your own shaders. As a bonus you will also be introduced to some techniques for creating beautiful art work based on these voronoi algorithms.
Part 1/2:
I do vector diagrams and show the code for a version of the basic voronoi algorithm that doesn't use the fract function. This isn't strictly nessessary for the voronoi edges algorithm. I chose to show this version because it might help you understand what is happening mathematically.
Part 2/2:
More vector diagrams and code for the voronoi edges algorithm. I discuss other versions you might find and explain why although they might seem different on the surface, algebraicly they are the same. Then I walk through the process of creating the artwork I show in the thumbnail.
Part 2: • Procedural Voronoi Exp...
Code is linked in the second part of this tutorial.
Credit to Shadertoy Artists who's work was used in the Introduction:
www.shadertoy.com/view/MslGD8 (iq)
www.shadertoy.com/view/llG3zy (tomkh)
www.shadertoy.com/view/4lSXzh (Shane)
www.shadertoy.com/view/4sl3Dr (srtuss)
www.shadertoy.com/view/4lyGDV (tomkh)
www.shadertoy.com/view/Mld3Rn (Shane)
www.shadertoy.com/view/wsfXDS (Flopine)

Пікірлер: 45
@Yusef28
@Yusef28 9 күн бұрын
Part two, "Voronoi Edges Explained" Is posted now!
@acidangel162
@acidangel162 15 күн бұрын
Voronoi patterns appear in the most random places. Yesterday I ate chocolate that instead of a grid was broken into a voronoi pattern.
@daxtron2
@daxtron2 14 күн бұрын
Tony's?
@acidangel162
@acidangel162 14 күн бұрын
@@daxtron2 Tony's what? I live in Finland Europe. I doubt that we have the same chocolate brands as you.
@Yusef28
@Yusef28 13 күн бұрын
Wow, I knew voronoi was used in lot's of industries but I haven't come across it in food. Thatt's neat!
@a_soulspark
@a_soulspark 12 күн бұрын
@@acidangel162 Tony's Chocolonely, it's a Dutch chocolate brand which has a Voronoi-like division on its chocolate bars (and pretty tasty too!)
@acidangel162
@acidangel162 12 күн бұрын
@@a_soulspark That's a pretty cool looking bar but it was some other brand. Our shops do carry that though. Might give it a go.
@Newemka
@Newemka 16 күн бұрын
I'm looking forward for the next part!
@Yusef28
@Yusef28 13 күн бұрын
Thanks, glad to hear it!
@lifelover69
@lifelover69 16 күн бұрын
very cool and thorough explanation, i love playing with voronoi in blender :)
@Yusef28
@Yusef28 13 күн бұрын
I'm glad you found the explaination thorough, I'mmaking sure part 2 is the same!
@cours458
@cours458 17 күн бұрын
you modelised the patterns that appear in acrylic paint "pouring" which I love, that's cool
@Yusef28
@Yusef28 13 күн бұрын
I'm glad to hear that, thank-you!
@Manu-lc4ob
@Manu-lc4ob 14 күн бұрын
KZfaq algo knows me well. Subscribed !
@Yusef28
@Yusef28 13 күн бұрын
Yup I can't complain about the algo, it's been showing me a lot of really awesome content recently!
@yitz7805
@yitz7805 13 күн бұрын
Great video, but the music is pretty loud compared to the voice audio, making it hard to understand you at times.
@Yusef28
@Yusef28 12 күн бұрын
Thanks, I'm working on that now, should be updated soon!
@Byron_Vega
@Byron_Vega 9 күн бұрын
Thank you so much for making this video, the frac implementation never made sense to me
@Yusef28
@Yusef28 2 күн бұрын
Hi, I'm glad you found a verison without fract helped make things make sense, That's greatfeedback, thanks!
@prashanthkumar0
@prashanthkumar0 13 күн бұрын
Good content... But background music in middle was little loud than voice
@Yusef28
@Yusef28 12 күн бұрын
It looks like it either didn't save my edit properly or I made a mistake there I'm working on that now. Thanks for the tip!
@sentinelav
@sentinelav 14 күн бұрын
I appreciate heavy dnb as much as the next fella but I'm not sure if it suits the context my guy 😆
@Yusef28
@Yusef28 13 күн бұрын
Thanks for the feedback, I'm switched the genre for something classical so hopefully it's an improvement
@hazilo
@hazilo 13 күн бұрын
@@Yusef28 Still way too loud...
@Yusef28
@Yusef28 12 күн бұрын
@@hazilo Thanks for letting me know, I thought I adjusted it properly but looks like it didn't save the change. Should be updated soon!
@AnnonymousPrime-ks4uf
@AnnonymousPrime-ks4uf 6 күн бұрын
Ah my guy. It seems we are one lol...
@neon_Nomad
@neon_Nomad 13 күн бұрын
I randomly started working with caternary curves
@Yusef28
@Yusef28 13 күн бұрын
Oh do you mean like the parametric pavillion, those look really cool!
@MohamedIbrahim-go4mg
@MohamedIbrahim-go4mg 11 күн бұрын
great work!
@Yusef28
@Yusef28 2 күн бұрын
Thanks!
@jakeaustria5445
@jakeaustria5445 3 күн бұрын
Thank you
@Yusef28
@Yusef28 2 күн бұрын
I'm glad you found it useful!
@gwentarinokripperinolkjdsf683
@gwentarinokripperinolkjdsf683 15 күн бұрын
Thanks for the music lmao
@jhonbus
@jhonbus 13 күн бұрын
Couldn't watch it lol
@Yusef28
@Yusef28 13 күн бұрын
I've been getting some mixed feedback on the music so I'm trying another genre
@davepermen
@davepermen 13 күн бұрын
​@@Yusef28it's just very loud.
@olgimpy
@olgimpy 13 күн бұрын
@@Yusef28 seconding @daveperman, selection is fine but please turn it way down below your speaking volume, and auto-duck
@Yusef28
@Yusef28 12 күн бұрын
@@davepermen Thanks, I'm working on that now, should be updated soon!
@ShaggyMummy
@ShaggyMummy 13 күн бұрын
Voronoi is my Favorite noise pattern to use in Blender
@Yusef28
@Yusef28 2 күн бұрын
Nice! It's a beautiful pattern.
@apppples
@apppples 13 күн бұрын
music is a bit loud, it should be quieter than your voice. background not foreground
@Yusef28
@Yusef28 12 күн бұрын
Thanks @apppples, I'm working on that now, should be updated soon!
@tculig
@tculig 17 күн бұрын
The pronunciation of "voronoi" bugs me to no end... XD
@lapidations
@lapidations 16 күн бұрын
Ok John Voronoi
@Yusef28
@Yusef28 13 күн бұрын
Thanks for the tip I'll see what I can do for part 2!
Beating Connect 4 with Graph Theory #SoMEPi
10:51
2swap
Рет қаралды 29 М.
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 169 МЛН
100❤️
00:19
MY💝No War🤝
Рет қаралды 23 МЛН
Каха и суп
00:39
К-Media
Рет қаралды 6 МЛН
Clown takes blame for missing candy 🍬🤣 #shorts
00:49
Yoeslan
Рет қаралды 39 МЛН
Coding Challenge 181: Weighted Voronoi Stippling
28:59
The Coding Train
Рет қаралды 159 М.
Voronoi Edges Explained
20:07
Yusef28
Рет қаралды 2,7 М.
When Your Game Is Bad But Your Optimisation Is Genius
8:52
Vercidium
Рет қаралды 1,4 МЛН
A simple procedural animation technique
8:31
argonaut
Рет қаралды 202 М.
Every Unsolved Math problem that sounds Easy
12:54
ThoughtThrill
Рет қаралды 435 М.
Procedural Generation using Constraint Satisfaction
32:36
Programming Chaos
Рет қаралды 15 М.
2 Years of My Research Explained in 13 Minutes
13:51
Edan Meyer
Рет қаралды 40 М.
Why Didn't He Get the Job? Let's Find Out! // Code Review
27:25
The Cherno
Рет қаралды 78 М.
Simulations that help me stay focused
9:06
CodeCraftedPhysics
Рет қаралды 153 М.
One second to compute the largest Fibonacci number I can
25:55
Sheafification of G
Рет қаралды 135 М.
How Many Balloons Does It Take To Fly?
00:18
MrBeast
Рет қаралды 169 МЛН