Coding a Fluid Simulation with my Last 2 Brain Cells

  Рет қаралды 432,017

Gonkee

Gonkee

Күн бұрын

Пікірлер: 1 100
@carrotylemons1190
@carrotylemons1190 3 жыл бұрын
Just get a box and fill it with water (or tiny golden spheres depending on your preference) then attach a camera broadcasting a live stream to your computer. The user never needs to know.
@ariseyhun2085
@ariseyhun2085 3 жыл бұрын
Holy fuck.. genius!
@incription
@incription 3 жыл бұрын
Tell the user to go outside
@jpobi9880
@jpobi9880 3 жыл бұрын
This cracked me up
@ProjectPhysX
@ProjectPhysX 2 жыл бұрын
With my CFD software you can't tell if it's real or simulation anymore. It's potorealiatic, physically accurate and runs in real time. See for yourself on my YT channel.
@creative2158
@creative2158 2 жыл бұрын
this is the level of abstraction i dream of
@romantried4670
@romantried4670 3 жыл бұрын
it’s beautiful how you haven’t successfully made either soft body physics or fluid sim
@gnull
@gnull 3 жыл бұрын
LMFAO
@barni5326
@barni5326 2 жыл бұрын
Yes.
@Wlodixpro
@Wlodixpro 2 жыл бұрын
Bruh he did fenomenal he is probably just a highschool kid and doing advanced syms
@FloridaMeng
@FloridaMeng 2 жыл бұрын
Yeah but he made more money than you doing it.
@mikul3122
@mikul3122 2 жыл бұрын
@@FloridaMeng I don't think OP was putting him down or anything, I think it's just genuinely funny that he didn't end up actually completing either, cuz gonkee a funny guy
@Der3ban
@Der3ban 3 жыл бұрын
Tip: Code it underwater so no one can see your tears
@ContraHacker1337
@ContraHacker1337 3 жыл бұрын
LOL I might have to yoink that idea.
@DArK-xj8lr
@DArK-xj8lr 2 жыл бұрын
Or in rain
@alfonsopineda5989
@alfonsopineda5989 2 жыл бұрын
Gonna implement this right now
@inquisitorthornside3p494
@inquisitorthornside3p494 2 жыл бұрын
This looks like a diarrhea.
@AstalWuzHere
@AstalWuzHere 2 жыл бұрын
He also tried to scream
@Taygetea
@Taygetea 3 жыл бұрын
your michael reeves impression is on point.
@robincchew
@robincchew 3 жыл бұрын
Michael Reeves lives on
@KushagraPratap
@KushagraPratap 3 жыл бұрын
caveman ooga booga
@Martipops
@Martipops 3 жыл бұрын
No it’s just the dry humor of programmers
@Taygetea
@Taygetea 3 жыл бұрын
@@Martipops its in how he says 'i have brain damage' and that kind of thing, the editing style, etc, its a dead ringer for michael's style if you look at something he did a couple years ago. other programmers on youtube who are funny dont do it the same way.
@robnumnum2095
@robnumnum2095 3 жыл бұрын
"lies and deceit" - I was about to say something similar
@Chriva
@Chriva 3 жыл бұрын
"It looks like diarrhea" Ofc people are going to poke the hornet's nest lol
@sinpi314
@sinpi314 3 жыл бұрын
That's not how you spell diarrhoea/s
@nicoradv3923
@nicoradv3923 2 жыл бұрын
@@sinpi314 so wat
@Ciubix8513
@Ciubix8513 3 жыл бұрын
This is the best representation of what programming feels like
@inquisitorthornside3p494
@inquisitorthornside3p494 2 жыл бұрын
This looks like a diarrhea.
@sempiternal_futility
@sempiternal_futility 2 жыл бұрын
@@inquisitorthornside3p494 my man about to commit some warcrimes
@inquisitorthornside3p494
@inquisitorthornside3p494 2 жыл бұрын
My favourite leisure activity, right next to "xenoresearch"
@krikusZ80
@krikusZ80 3 ай бұрын
This the worst demonstration how programming looks like. Not all cases are ideal, but if you are messing around like this, it just means you don’t understand either the physics or a tool you are using.
@gergodemeter5553
@gergodemeter5553 3 жыл бұрын
To be honest, I like how this guy is SLOWLY learning things. Slowly, but efficiently.
@vanjazed7021
@vanjazed7021 3 жыл бұрын
Would not say slowly
@slotnickproductions6862
@slotnickproductions6862 2 жыл бұрын
Learning all this from scratch? Not slow at all
@narwhal_
@narwhal_ 2 жыл бұрын
@@slotnickproductions6862 its not impressive, but its definitely efficient and a good way to start. even if it is not the best :D i def couldnt do better lmao
@dexorne9753
@dexorne9753 2 жыл бұрын
@@narwhal_ I'd love to see that, assuming you don't already know how to do it, would make a good video.
@narwhal_
@narwhal_ 2 жыл бұрын
@@dexorne9753 im so bad at math its not even describable. most i can do is code in python and lua so im off the charts.
@sasimitra5871
@sasimitra5871 3 жыл бұрын
I could not stop laughing the entire video and somehow still learned something. I swear, every single video on this channel is gold. I hope I can be remotely as good as you are if I ever become a youtuber.
@pseka_f5557
@pseka_f5557 3 жыл бұрын
Gold like the diarrhoea
@snomando7208
@snomando7208 3 жыл бұрын
diarrhoea? no no no no LIQUID gold
@derekmendes1058
@derekmendes1058 3 жыл бұрын
Honestly, I stumbled on to your channel and could not be more impressed the quality of entertainment that you’re producing while still being educational. Keep it up man your going places.
@inquisitorthornside3p494
@inquisitorthornside3p494 2 жыл бұрын
This looks like a diarrhea.
@klonanbrown2807
@klonanbrown2807 3 жыл бұрын
It was fun to watch you suff- I mean code and research, really inspiring, we need longer videos!
@lzr_music
@lzr_music 2 жыл бұрын
LMAo
@texti-animates-sometimes
@texti-animates-sometimes 2 жыл бұрын
this looks like diarhea
@Monkeymario.
@Monkeymario. 4 ай бұрын
i was gonna comment that this looks like diarhea
@GrantKot
@GrantKot 3 жыл бұрын
I seem to have awakened an anime pootagonist.
@WhiteKnuckleRide512
@WhiteKnuckleRide512 2 жыл бұрын
Hey, it’s the guy lmao
@Polygarden
@Polygarden 3 жыл бұрын
Lots of those scientific papers are overwhelming. Just keep in mind how water would behave. After fiddling around with water simulations for 2 years, it turned out that a simple "advection" and "curl" is all you need. And if you want that your fluid doesn't explode, keep in mind that it always should flow towards an area with less pressure than it's currently in. (so you make a pressure check with delta to fix it) Good luck diving into this rabbit hole!
@lobsterbark
@lobsterbark 3 жыл бұрын
If you are trying to do real time water physics for games, I think you need to ask yourself how you are going to be using the fluid simulation for your game before anything else. That way you know if you actually need it, what areas can be sloppy and what areas need to be good.
@StarForgers
@StarForgers 3 жыл бұрын
I can allready feel the flying anti gravity liquid due to lack of pressure in the air above it! That actually sounds cool af thinking of it if light refraction works on individual particles!
@fatitankeris6327
@fatitankeris6327 2 жыл бұрын
1:50 Ah yes, the Michael Reeves philosophy...
@ArsonSnowman
@ArsonSnowman 2 жыл бұрын
Looks like spicy diarrhea
@Monkeymario.
@Monkeymario. 4 ай бұрын
i was gonna comment that this looks like diarhea
@coffzor123
@coffzor123 3 жыл бұрын
You're blowing up within the group watching game devs, right up in my recommended several times :) Love your content so far and I'm always clicking when I see you in my recommended :) You have a bright future here on youtube! Keep it up :) Buuuuut, your water looks like diarrhea.
@joshuachan6317
@joshuachan6317 3 жыл бұрын
Lolllll
@n0ok
@n0ok Жыл бұрын
liquid gold* looks like diarrhea
@LeshaTheBeginner
@LeshaTheBeginner Жыл бұрын
Him: Don't say it looks like diarrhea or I'll commit a war crime. Literally everyone: THIS LOOKS LIKE DIARRHEA!
@unitysparticlesystem
@unitysparticlesystem 3 жыл бұрын
3:23 We need to meme the sh*t out of this XD The visuals are awesome!
@Retrocaus
@Retrocaus 2 жыл бұрын
anyone yet?
@DeuxisWasTaken
@DeuxisWasTaken 2 жыл бұрын
You can actually call C and unmangled C++ code (declared within an `extern C` block) directly from C# by compiling it as shared library and using the `DllImport` attribute thingy. It may require writing a wrapper in some cases, but it's usually far faster and easier than re-coding the entire thing.
@jaivonharris7651
@jaivonharris7651 2 жыл бұрын
Wut?
@LC-hd5dc
@LC-hd5dc 2 жыл бұрын
@@jaivonharris7651 google
@willirittmann1917
@willirittmann1917 2 жыл бұрын
but the fun thing is recoding all of it
@shaladddin5687
@shaladddin5687 3 жыл бұрын
this is how a big channel start, except Gonke goes straight to the final form
@mani_mincraft
@mani_mincraft Жыл бұрын
Thank you. You really inspired me to start making physics simulations by myself, turns out that’s a pretty interesting field of computer science. So yeah thank you very much!
@LoafOfTheMilk
@LoafOfTheMilk 2 жыл бұрын
This looks like diariea
@Len-Pieter-Pen-Ben-Ten
@Len-Pieter-Pen-Ben-Ten Жыл бұрын
i would love some *expired mountain dew*
@yotamrothberg599
@yotamrothberg599 2 жыл бұрын
the fact that Michael reeves sparked this trend of really smart dudes making cool projects while acting ridiculous makes me appreciate him all the more.
@hk8769
@hk8769 6 ай бұрын
There is so much potential in your videos, please come back. They are not only informational but also sprinkled with funny memes, which make me chuckle while learning
@grandplat3462
@grandplat3462 3 жыл бұрын
I genuinely respect this man's dedication
@the_kid777
@the_kid777 9 ай бұрын
I seriously didn't think I would be revisiting this video so many times when I get stuck with programming. Thanks bro it makes me smile.
@wwestrongmans
@wwestrongmans 3 жыл бұрын
The water in coding moment is really vibing so well
@niklasneighbor6726
@niklasneighbor6726 2 жыл бұрын
2 minutes in and i can tell how he started watching michael reeves and immediately adopted his personality lmao. like.
@3sc4p1sm
@3sc4p1sm 3 жыл бұрын
This is a realistic example of trying to teach yourself maths and physics sims. Khan academy is great to really get the math bits down pat
@markusheimerl8735
@markusheimerl8735 3 жыл бұрын
you can only make these big brain jokes if you actually do it in the end
@victormurphy3511
@victormurphy3511 3 жыл бұрын
I love it.... I'm crying with laughter.... cave man... painful.... yes I understand how much work this take too... The power of red bull.... I love it. Thank you. Keep the videos coming.
@lucasnogueira3232
@lucasnogueira3232 3 жыл бұрын
I like how is apparent is the difference of your mental state between simulations in 2D and 3D
@charliecreasey9194
@charliecreasey9194 3 жыл бұрын
bruh i want longer vids i loveeeee this
@charliecreasey9194
@charliecreasey9194 3 жыл бұрын
like even if you live stream the entire thing i would watch it
@thegamingdragonslayer6972
@thegamingdragonslayer6972 2 жыл бұрын
Really underrated channel
@SytheZN
@SytheZN 3 жыл бұрын
I support this! "Use somebody else's implementation" is great advice for production, but terrible advice for learning.
@GrantKot
@GrantKot 3 жыл бұрын
Both our emails have been modified for juiciness. He mentioned he was implementing fluids for a game, so I started off with a "wait, are you sure you want to do this yourself because these tools are available". But after that I gave a good list of simulation methods and their pros & cons as well as answering the technical questions asked.
@SytheZN
@SytheZN 3 жыл бұрын
@@GrantKot 😀 Sorry if that came across as criticism! Was intended more as "doing something yourself is the best way to learn".
@Monkeymario.
@Monkeymario. 4 ай бұрын
actualy its better for learning than production
@sehzadeselim863
@sehzadeselim863 10 ай бұрын
You are great, keep going!
@MC5677
@MC5677 Жыл бұрын
4:18 this looks like diarrhea
@BroncoGammon
@BroncoGammon 2 жыл бұрын
I love that mans not hot is just playing on his monitor lol
@RazgrizDuTTA
@RazgrizDuTTA 3 жыл бұрын
Nice! Maybe I will try sometime. In my opinion there are 2 kinds of fluid simulations: those which look real (fine for video games and movie fx) and those which accurately model real fluids (for engineering and research). Actually SPH is used in simulation engineering software, often to simulate short impacts between a fluid and a solid. For longer time frames, "grid-based" (mesh) methods dominate, especially the finite volume method. (I'm doing a PhD in multiphysics simulation for engineering)
@computer1889
@computer1889 2 жыл бұрын
:O
@Dwaynetherock
@Dwaynetherock Жыл бұрын
Gonkee: We start from where every things start, the balls.
@Xphy
@Xphy 3 жыл бұрын
I just love youu and how funny u r
@amukh1_dev274
@amukh1_dev274 Жыл бұрын
"We start how many things start: ⭐the balls ⭐
@Zedoy
@Zedoy 3 жыл бұрын
It looks like golden diarrhea
@vhs296
@vhs296 10 ай бұрын
50% of the time: i am so smart the other 50%: and so i smashed my head agains the keyboar-
@mahyellaw
@mahyellaw 3 жыл бұрын
experiencing pain and suffering just to make balls into fluid. quality content as usual dude, hope your brain cells are eating fine.
@ashisharky
@ashisharky 2 жыл бұрын
The fucking music time-lapse part was absolutely amazing
@MrNathanShow
@MrNathanShow 3 жыл бұрын
Stable Fluids paper is a good starting point. But estimating differential equations is fun. All and all fluid sim is still a hell hole to actually do due to that you're not actually simulating. But rather trying to use an algorithm to best estimate the next frame of the hypothetical simulation that is not real.
@joelpww
@joelpww 2 жыл бұрын
Thanks for filling in for Michael. Genuinely enjoying the content
@InvictusM0n
@InvictusM0n 3 жыл бұрын
My man you should really stream your progress on twitch it will be fun for everyone seeing you struggle in realtime.
@rimmertf
@rimmertf 3 жыл бұрын
most of the time that is counter productive when coding. It destroys the flow according to some gamedev i watched, but it could be fun
@meehdrescher
@meehdrescher 3 жыл бұрын
i discovered your channel 15 minutes ago and i love it already
@positivenozy6065
@positivenozy6065 Жыл бұрын
it looks like diarea
@NicholasRehm
@NicholasRehm 3 жыл бұрын
Here before the Michael Reeves collab
@kcayos3970
@kcayos3970 3 жыл бұрын
I am excited to see the final product of your physics code. This is super entertaining, keep this stuff up.
@ВладиславСубботин-з1э
@ВладиславСубботин-з1э Жыл бұрын
I have watched only the first 17 seconds of the video, and I already subscribed. Keep going
@MAPster7000
@MAPster7000 3 жыл бұрын
If your diarrhea consists of magic golden balls floating randomly around... you may have a few serious problems xD Really awesome videos by the way ! I just spent several days figuring out how to draw a stupid isosphere in OpenGL without causing crazy graphical artifacts, programming is pain xD
@crunch7909
@crunch7909 2 жыл бұрын
Getting strong Michael Reeves vibes from your videos
@inuka6969
@inuka6969 3 жыл бұрын
*diarrhea*
@alexanderzin
@alexanderzin 2 жыл бұрын
Thanks! That thumbnail and title combo brightened up my day
@sophiaava5666
@sophiaava5666 3 жыл бұрын
Investing in crypto now should be in every wise individuals list, in some months time you'll be ecstatic with the decision you made today.
@elisesummer4059
@elisesummer4059 3 жыл бұрын
Most intelligent words I've heard.,
@cliffordharry5889
@cliffordharry5889 3 жыл бұрын
Crypto is the new gold.
@miaemma8465
@miaemma8465 3 жыл бұрын
wanted to trade Crypto but got discouraged by the fluctuations in price,
@lisamoore7309
@lisamoore7309 3 жыл бұрын
@@miaemma8465 That won't bother you if you trade with a professional like Mr Timothy Gregg
@katieallie8740
@katieallie8740 3 жыл бұрын
I heard that his strategies are really good
@AstroSamDev
@AstroSamDev 2 жыл бұрын
Lmao, great video! I hope you eventually get it to not look like diarrhea 👀
@TheFatherCharles
@TheFatherCharles 3 жыл бұрын
Awesome video man
@Doug_Fany
@Doug_Fany Жыл бұрын
01:02 Boy, you just described the life of every living creature.
@russellg3775
@russellg3775 2 жыл бұрын
Gonkee, you are awesome, liked and subscribed! As a side note, speak to your doctor about increasing your medication.
@omgle118
@omgle118 3 жыл бұрын
I actually got happy when the ad happened you deserve many money and likes and subsriincbers.
@xE92vD
@xE92vD 2 жыл бұрын
Oh yeah, a channel that will make my day. Humour and programming perfectly balanced.
@IamPyu-v
@IamPyu-v Жыл бұрын
This looks like Scratch could make a good first impression
@Bonfere
@Bonfere 3 жыл бұрын
This Was so Good and THe music choice was on point
@mrtaco5956
@mrtaco5956 2 жыл бұрын
this guy is so underrated
@L8nnC
@L8nnC 3 жыл бұрын
I just love your vidoes man! Keep it up and you will be a famous coder!
@mateklQ
@mateklQ 3 жыл бұрын
I'm really glad I found your channel. Quality content right here, keep it up :)
@mahuyapurkait123
@mahuyapurkait123 Жыл бұрын
It is looking like gold diarrehea
@NFSHeld
@NFSHeld 2 жыл бұрын
At this point, I'm impressed you have not just given up and gone the "let a neural network figure out what any node on an object should behave like" route for even more labour intensive disappointment.
@timwhite7127
@timwhite7127 2 жыл бұрын
I don't know jack or his little brother bull shit about computers but you still managed to get a chuckle outta me...
@sgmvideos5175
@sgmvideos5175 Жыл бұрын
it's in c++ and I use c#... normal people: is it that different? programming people: just copy it, delete * and... well... delete parts :D
@endingalaporte
@endingalaporte 2 жыл бұрын
oh ma, your sense of humor is of great quality, and I love your videos explaining how differential equations are implemented, keep it up
@jakajaka3064
@jakajaka3064 3 жыл бұрын
The moment you said you are comitting a warcrime I got an add "join the military"
@gabe.henrique
@gabe.henrique 3 жыл бұрын
rgba alpha is the answer to transparency if you’re using SDL or OpenGl
@petruciani
@petruciani 2 жыл бұрын
this is the best programming video i've seen in my life! ... this week
@chopperhead2012
@chopperhead2012 2 жыл бұрын
"I can't talk right now; I'm making PISS" _makes yellow fluid sim_
@withernator
@withernator 3 жыл бұрын
Love your videos man
@godnyx117
@godnyx117 Жыл бұрын
Your humor is GOD level!
@maybehieu602
@maybehieu602 2 жыл бұрын
pass by randomly on youtube feed and see mr.crackhead references, nice video btw
@MightyEFX
@MightyEFX Жыл бұрын
love how beautifully uninspiring yet inspiring your videos are
@virtualcombat4863
@virtualcombat4863 3 жыл бұрын
This looks like diehardayyyaaaa now you have to commit a war crime
@nononononononononono2045
@nononononononononono2045 2 жыл бұрын
I love your approach to programming
@NoOneIsHere.TryLater
@NoOneIsHere.TryLater 3 жыл бұрын
this is the most ive laughed from a youtube video in a long time. Your videos are great
@DamiemBlorp
@DamiemBlorp 3 жыл бұрын
Lets goo! I just watched ur last video yesterday and thought I wasn't gonna see one for another few weeks. I'm blessed by the algorithm! Keep up the amazing work Gonkee, you're very underrated.
@technowelliebobs4779
@technowelliebobs4779 Жыл бұрын
Your humour is top notch
@ERROR-yl3un
@ERROR-yl3un Жыл бұрын
1:04 😳
@bluewaveonthewaysidebythepier
@bluewaveonthewaysidebythepier 3 жыл бұрын
Thank you KZbin algorithm for finally recommending something I would enjoy
@and_rotate69
@and_rotate69 3 жыл бұрын
as a fluid mechanics undergraduated student who has some knowledge about programming, this looks better than what i expected lmao fluids are the worst thing to try to replicate, because of the complicated laws and vector analysis knowledge that you should have
@JMM57
@JMM57 Жыл бұрын
I have to say watching another guy develope stuff and knowing how the process goes myself I feel your pain.
@albrrrt
@albrrrt 3 жыл бұрын
my man your videos are great, we all suffer together in each one's path
@chubamoa3640
@chubamoa3640 3 жыл бұрын
The sims pretty fluid, I like the yellow dye . Aria could be added to make it more legendary
@nothingnothingnothing862
@nothingnothingnothing862 Жыл бұрын
4:10 this looks like diarrea
@dailyDesi_abhrant
@dailyDesi_abhrant 3 жыл бұрын
This channel is gonna boom just in a bit
@_edd.ie_.o.8101
@_edd.ie_.o.8101 2 жыл бұрын
You know what they say if it's wet a squishy coming from your tushy, my friend you got...
@disinlungkamei2869
@disinlungkamei2869 9 ай бұрын
nice video bro you are talented all the best
@grgsoper
@grgsoper 2 жыл бұрын
That doesn't look like diarrhea.
@idkcba
@idkcba 3 жыл бұрын
Gonkee:u absorbe my wisdom by being here Me:Ahhhh, thats why my IQ test came back negative
I'm Coding an Entire Physics Engine from Scratch
9:19
Gonkee
Рет қаралды 1,7 МЛН
Coding Adventure: Ant and Slime Simulations
17:54
Sebastian Lague
Рет қаралды 1,9 МЛН
BAYGUYSTAN | 1 СЕРИЯ | bayGUYS
36:55
bayGUYS
Рет қаралды 1,8 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 66 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
The Problem With Procedural Generation
17:57
Acerola
Рет қаралды 247 М.
The biggest lie in video games
15:18
AIA
Рет қаралды 2,3 МЛН
Fluid dynamics feels natural once you start with quantum mechanics
33:00
braintruffle
Рет қаралды 2,3 МЛН
Finally, A Blazing Fast Fluid Simulator! 🌊
7:49
Two Minute Papers
Рет қаралды 834 М.
I made a FLUID SIMULATION from scratch! #SoMEPi
21:11
Daniel Zhang
Рет қаралды 6 М.
17 - How to write an Eulerian fluid simulator with 200 lines of code.
12:05
Ten Minute Physics
Рет қаралды 311 М.
Making Minecraft from scratch in 48 hours (NO GAME ENGINE)
16:38
Simulating an Entire Car Engine (yes, it makes noise)
12:04
AngeTheGreat
Рет қаралды 1,8 МЛН
I Made an Entire Game from Particle Physics
9:01
Gonkee
Рет қаралды 458 М.
You're in a simulation... Here's how to control it
28:51
David McEwen
Рет қаралды 116 М.