Things you do NOT want to hear.
4:58
Does GPT4 have good taste?
8:30
Жыл бұрын
Does Bing have feelings?
9:33
Жыл бұрын
Is A2C Different from PPO?
33:51
Жыл бұрын
Does your PPO agent fail to learn?
12:16
Пікірлер
@user-fj9hf4bu9f
@user-fj9hf4bu9f 8 сағат бұрын
no links to the code?
@miauzure3960
@miauzure3960 12 сағат бұрын
nice but I don't understand this sentence "When vector points into below right cell cell is green"
@FromLake
@FromLake Күн бұрын
Thank you for this video
@rlhugh
@rlhugh Күн бұрын
Thank you!
@janerikjakstein
@janerikjakstein Күн бұрын
Awesome 👍
@rlhugh
@rlhugh Күн бұрын
Thank you!
@tselhamishac5910
@tselhamishac5910 Күн бұрын
Nice
@rlhugh
@rlhugh Күн бұрын
Thank you!
@naztar4323
@naztar4323 2 күн бұрын
You could have used MultiGrid for the solver since it land it self to parallelism better
@rlhugh
@rlhugh Күн бұрын
Yes. Potentially a topic for a next video :)
@mikhailhumphries
@mikhailhumphries 3 күн бұрын
Can't believe I watched entire video about coding and didn't get bored
@inspacesilence
@inspacesilence 3 күн бұрын
thanks for such a great explanation : ) . I 💙it
@rlhugh
@rlhugh 3 күн бұрын
Thank you!
@thesilentnerd4618
@thesilentnerd4618 4 күн бұрын
Very nice explanation. Keep it up.
@rlhugh
@rlhugh 4 күн бұрын
Thank you!
@NobodyYouKnow01
@NobodyYouKnow01 4 күн бұрын
No way Euler got named for a fluid dynamics problem. We're supposed to name the problem after the *second* person to solve it!
@stepdoger7130
@stepdoger7130 4 күн бұрын
Finally good explanation
@priyanshuvishnoi
@priyanshuvishnoi 4 күн бұрын
Use a mac with any non apple monitor and it destroys those bezier curves
@SpeedyGwen
@SpeedyGwen 5 күн бұрын
first thing I thought about when I clicked on this video is about The Powder Toy which is a pixel based particle simulator game which actually has that exact same type of fluid simulation for simulating air in the game
@rlhugh
@rlhugh 4 күн бұрын
Interesting! Thank you!
@twobob
@twobob 5 күн бұрын
thumbs up. For me, the three Lerp explanation was beautifully succint.
@rlhugh
@rlhugh 5 күн бұрын
Thank you!
@cashkurtz5780
@cashkurtz5780 5 күн бұрын
So persistent zero velocity is like a solid object? I wish it were easier to see it against an unmoving background .
@rlhugh
@rlhugh 5 күн бұрын
Yes, that's right. As far as the coloring scheme, definitely open to suggestions. Won't affect this video, since cannot modify published videos. But could be useful for future videos.
@nomoregoodguy6639
@nomoregoodguy6639 6 күн бұрын
wait you need a macbook pro to do pro stuff?? (looks sexy)
@rlhugh
@rlhugh 6 күн бұрын
I'm using a MacBook air m2
@chemnobeliumlab1520
@chemnobeliumlab1520 6 күн бұрын
Awesome made my day :))
@rlhugh
@rlhugh 6 күн бұрын
Awesome. Thank you :)
@EAGLETECHHACKING
@EAGLETECHHACKING 6 күн бұрын
Finally secret revealed
@anonymouscommentator
@anonymouscommentator 6 күн бұрын
loved the video! feels like discovering sebastian lagues yt channel all over again :)
@rlhugh
@rlhugh 6 күн бұрын
Wow, that's a very nice thing to say. I feel like I can die happy now. I mean, unfortunately this is my least bad video to date, and you will be disappointed if you watch any of my others, but it's still very nice to hear these words :)
@laxmandeadpool8260
@laxmandeadpool8260 6 күн бұрын
Today is the first time I actually understood the bezier curve
@rlhugh
@rlhugh 6 күн бұрын
Awesome :) Also, thank-you for taking the time to encourage me with this positive feedback :)
@Kevin-jz9bg
@Kevin-jz9bg 7 күн бұрын
That was one of the best explanations for advection I've seen online! Especially the pushing bubbles out of a phone screen protector analogy.
@rlhugh
@rlhugh 7 күн бұрын
Thank you very much! Very much appreciated :)
@sapiosuicide1552
@sapiosuicide1552 7 күн бұрын
Cool
@codeAbinash
@codeAbinash 7 күн бұрын
Nice 😊
@rlhugh
@rlhugh 7 күн бұрын
Thank you!
@athuldas44
@athuldas44 7 күн бұрын
What should be the grid size tho
@rlhugh
@rlhugh 6 күн бұрын
Whatever you like. Typically, we might combine multiple "layers" of perlin noise, with different grid sizes. Often powers of 2.
@athuldas44
@athuldas44 4 күн бұрын
​@@rlhughAnd some article say to take pseudo random number rather than a random unit vector but still works right
@veritas7010
@veritas7010 8 күн бұрын
I love this, thank you for makin my day on yt much better!
@rlhugh
@rlhugh 7 күн бұрын
Thank you very much!
@mzg147
@mzg147 8 күн бұрын
What is your programming font though? (1:23) looks cute and slick!
@rlhugh
@rlhugh 8 күн бұрын
It's whatever JetBrains Rider uses, which is ... JetBrains Mono
@tommycard4569
@tommycard4569 10 күн бұрын
educational and entertaining! loved it, thank you
@rlhugh
@rlhugh 10 күн бұрын
Thank you!
@benjaminlehmann
@benjaminlehmann 10 күн бұрын
… and in one video he dispels a mystery. Take a bow, sir.
@benjaminlehmann
@benjaminlehmann 10 күн бұрын
I loved this video! Really inspiring, and I'm sort of amazed that this was running on a macbook air too - great job :D Thanks so much for sharing.
@rlhugh
@rlhugh 10 күн бұрын
Thank you very much!
@kwccoin3115
@kwccoin3115 12 күн бұрын
How do you run these shader ? Can it use under sdl2?
@rlhugh
@rlhugh 12 күн бұрын
These are running in Unity, using HLSL.
@Tordek
@Tordek 12 күн бұрын
regarding the parallel part: would it be feasible to work the opposite way? Instead of writing to 4 cells, each cell would instead read from 4 neighbors and update itself.
@ABaumstumpf
@ABaumstumpf 12 күн бұрын
PerlinNoise is so simple yet so often (sadly) misrepresented. And this is a nice visualisation of it.
@rlhugh
@rlhugh 12 күн бұрын
Thank you very much!
@delphicdescant
@delphicdescant 12 күн бұрын
So far in your fluid simulations, you've pretty consistently adhered to "the incompressibility of fluids," but aren't you going to run into problems with these more advanced simulations when the true compressibility of fluids becomes non-negligible? Like, sure, water doesn't compress very much, but the gasses on Venus do.
@rlhugh
@rlhugh 12 күн бұрын
Yeah, you're right. Though it might depend what I'm simulating? Im assuming that rocks, over a long period of time, behave somewhat like incompressible fluids. But I might be wrong in this assumption? You're right that the "atmosphere" of Venus is actually a supercritical fluid, which basically behaves like a dense compressible gas.
@rlhugh
@rlhugh 12 күн бұрын
Oh, this comment is on the venus part 1 video. Oh, yes, right. Good point.
@delphicdescant
@delphicdescant 12 күн бұрын
@@rlhugh Yeah I was referring specifically to this video about Venus, but I kind of have the same concern more generally: All fluids *do* compress, but that compression can be neglected in certain low-energy cases with certain fluids, like water at STP. And in general it can *never* be neglected with a gas. I think even for your example of rocks, you wouldn't want to neglect compression, since a lot of different types of rocks are formed primarily through a process of compression (like metamorphic rock varieties). In all your research of these sorts of simulations, by the way, have you ever run across a method that represents the fluid pressure explicitly? Eulerian methods don't seem to have any such representation, by your description, but I'm not enough of an expert to know.
@HitAndMissLab
@HitAndMissLab 13 күн бұрын
Thanks for the beautiful video.
@justinsciullo3342
@justinsciullo3342 14 күн бұрын
This is so cool, and you did a great job with the video editing! I hope you make more videos like this!
@rlhugh
@rlhugh 14 күн бұрын
Thank you! That's very kind to say. Very much appreciated :)
@iforce2d
@iforce2d 14 күн бұрын
Very cool, I like the in-depth explanation. Many years ago I made a hybrid simulation that sounds a bit like your description of how the 'flip' one switches between particles and cells. My motivation was I needed the particles to interact with rigid bodies in the Box2D engine, but I didn't want to simulate collisions between particles. In every step, particles are moved and then grouped into whatever cell they land on, summing their momentum. If a cell has too much mass it expands to push the excess to its neighbors. Then each cell sums up whatever overlap it contains and makes a particle at that center of mass. Something like that... it was about 12 years ago so I forget the intricate details. Unfortunately the collision with rigid bodies proved too difficult, but it looked quite realistic just splashing around and interacting with itself. You can see an unlisted video here: XHFbTSm7qRc That was all CPU, but I always wondered how it would suit a GPU version.
@tomd6410
@tomd6410 15 күн бұрын
Love this but if that’s how you say Euler I’ve been saying it wrong all this time 💀💀
@rlhugh
@rlhugh 15 күн бұрын
I did research the pronunciation. There are a couple of ways. Before I researched the pronunciation, I was saying "you lurr Ian". But "oiler Ian" appeared to be more common, as far as I could see? How are you thinking if should be pronounced?
@tomd6410
@tomd6410 14 күн бұрын
@@rlhugh I’ve been saying youll-lah 😅
@rlhugh
@rlhugh 14 күн бұрын
@@tomd6410 actuuaaalllyyy seems that it might depend on us vs UK pronunciation, eg see youglish.com/pronounce/eulerian/english/uk
@unepintade
@unepintade 11 күн бұрын
​@@tomd6410i feel like "name"-ian in English are pronounced very differently from how you pronounce the name so while Euler is pronounced weirdly, eulerian is pronounced how you would expect, like Laplace and Laplacian
@landsgevaer
@landsgevaer 13 сағат бұрын
Oy-lear-ean, surely...?
@santiagobirkenstock
@santiagobirkenstock 15 күн бұрын
I wish the very best on KZbin, I am so glad I discovered your channel. Keep up the good work !
@CalcWithDec
@CalcWithDec 17 күн бұрын
Beautiful!
@redstoneready697
@redstoneready697 24 күн бұрын
do you think this could be used for electromagetics?
@rlhugh
@rlhugh 24 күн бұрын
Interesting question!
@YaofuZhou
@YaofuZhou 20 күн бұрын
Depending on what you want. I guess you want to iteratively compute the EM fields?
@josiahjoel7580
@josiahjoel7580 25 күн бұрын
this is so cool, is it possible to upload the source code to a public repo?
@keyhaven8151
@keyhaven8151 26 күн бұрын
Thank you ! You mentioned at the end of the video that Unity is single threaded and can be achieved by encapsulating multiple agents. How is this achieved?
@rlhugh
@rlhugh 25 күн бұрын
Does this example help? github.com/hughperkins/peaceful-pie/tree/main/examples/DungeonEscape
@keyhaven8151
@keyhaven8151 25 күн бұрын
@@rlhugh Thank you. But this seems very complicated, and we don't know where to start. Can you please provide a video explanation?
@rlhugh
@rlhugh 20 күн бұрын
Good idea!
@keyhaven8151
@keyhaven8151 20 күн бұрын
@@rlhugh Thank you very much for accepting my opinion. The video you made is very friendly to beginners, and I look forward to your video!
@keyhaven8151
@keyhaven8151 26 күн бұрын
Nice work!!! But we can not find the "Step" method in the unity_comms.py. Did you miss anything when uploading the file?
@rlhugh
@rlhugh 26 күн бұрын
wow the repo at github.com/hughperkins/peaceful-pie-video-resources has been prviate all this time :O
@rlhugh
@rlhugh 26 күн бұрын
is this the code yo uare looking for? github.com/hughperkins/peaceful-pie-video-resources/blob/d7dcd50edef768f6bbc8cae5ac38eb43a4a8b129/3_train_rl_env/python/train_rl.py#L23-L28
@keyhaven8151
@keyhaven8151 26 күн бұрын
@@rlhugh wow! Nice!Thanks!This can help us a lot!
@Leviathan_22
@Leviathan_22 Ай бұрын
"shaders are fun" consider me an opp
@rlhugh
@rlhugh Ай бұрын
Haha :)
@dickdick-wu9fw
@dickdick-wu9fw Ай бұрын
How can I execute a method every frame or at a fixed frame rate? I need to retrieve the position of a character every frame.
@rlhugh
@rlhugh Ай бұрын
there's some discussion of controlling time in the second video kzbin.info/www/bejne/pmSXlYKQa8uWp8ksi=S4XhbmC5mLX_ItXa Not sure to what extent that answers your question?
@Zoutepepselmetkomkommer
@Zoutepepselmetkomkommer Ай бұрын
Just wanted to say you are the first person I found to try and explain PPO on YT, so progress!
@TheSuperNova994
@TheSuperNova994 Ай бұрын
source code?
@treeplate512
@treeplate512 Ай бұрын
glif, not glife
@rlhugh
@rlhugh Ай бұрын
Yeah, right :) too late to change unfortunately :)
@rlhugh
@rlhugh 9 күн бұрын
addressed in kzbin.info/www/bejne/m4TXc2annLyiZ8k
@kann3r
@kann3r Ай бұрын
I like this video alot! It's a good summary. Although, a small reccomendation I have is that you should use padding when showing something. The font glyphs get cut off at the top and bottom, and it's a bit jarring especially at 2:24
@rlhugh
@rlhugh Ай бұрын
Thank you! Very useful feedback :)
@rlhugh
@rlhugh 9 күн бұрын
addressed in kzbin.info/www/bejne/m4TXc2annLyiZ8k
@wand6792
@wand6792 Ай бұрын
this is awesome! very well explained, i think ;> keep this up!! cool stuff <3
@rlhugh
@rlhugh Ай бұрын
Thank you :)