Coding a Fluid Simulation with my Last 2 Brain Cells

Ғылым және технология

github.com/Gonkee/Gepe3D
Music by LAKEY INSPIRED
/ lakeyinspired
Music - THYKIER - Shimmer [NCS Release]
• THYKIER - Shimmer [NCS...

Пікірлер: 1 100

  • @carrotylemons1190
    @carrotylemons11902 жыл бұрын

    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

    2 жыл бұрын

    Holy fuck.. genius!

  • @incription

    @incription

    2 жыл бұрын

    Tell the user to go outside

  • @jpobi9880

    @jpobi9880

    2 жыл бұрын

    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
    @romantried46702 жыл бұрын

    it’s beautiful how you haven’t successfully made either soft body physics or fluid sim

  • @gnull

    @gnull

    2 жыл бұрын

    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
    @Der3ban2 жыл бұрын

    Tip: Code it underwater so no one can see your tears

  • @ContraHacker1337

    @ContraHacker1337

    2 жыл бұрын

    LOL I might have to yoink that idea.

  • @DArK-xj8lr

    @DArK-xj8lr

    2 жыл бұрын

    Or in rain

  • @alfonsopineda5989

    @alfonsopineda5989

    Жыл бұрын

    Gonna implement this right now

  • @inquisitorthornside3p494

    @inquisitorthornside3p494

    Жыл бұрын

    This looks like a diarrhea.

  • @AstalWuzHere

    @AstalWuzHere

    Жыл бұрын

    He also tried to scream

  • @Taygetea
    @Taygetea2 жыл бұрын

    your michael reeves impression is on point.

  • @robincchew

    @robincchew

    2 жыл бұрын

    Michael Reeves lives on

  • @KushagraPratap

    @KushagraPratap

    2 жыл бұрын

    caveman ooga booga

  • @Martipops

    @Martipops

    2 жыл бұрын

    No it’s just the dry humor of programmers

  • @Taygetea

    @Taygetea

    2 жыл бұрын

    @@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

    2 жыл бұрын

    "lies and deceit" - I was about to say something similar

  • @Chriva
    @Chriva2 жыл бұрын

    "It looks like diarrhea" Ofc people are going to poke the hornet's nest lol

  • @sinpi314

    @sinpi314

    2 жыл бұрын

    That's not how you spell diarrhoea/s

  • @nicoradv3923

    @nicoradv3923

    Жыл бұрын

    @@sinpi314 so wat

  • @Ciubix8513
    @Ciubix85132 жыл бұрын

    This is the best representation of what programming feels like

  • @inquisitorthornside3p494

    @inquisitorthornside3p494

    Жыл бұрын

    This looks like a diarrhea.

  • @sempiternal_futility

    @sempiternal_futility

    Жыл бұрын

    @@inquisitorthornside3p494 my man about to commit some warcrimes

  • @inquisitorthornside3p494

    @inquisitorthornside3p494

    Жыл бұрын

    My favourite leisure activity, right next to "xenoresearch"

  • @sasimitra5871
    @sasimitra58712 жыл бұрын

    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

    2 жыл бұрын

    Gold like the diarrhoea

  • @snomando7208

    @snomando7208

    2 жыл бұрын

    diarrhoea? no no no no LIQUID gold

  • @derekmendes1058

    @derekmendes1058

    2 жыл бұрын

    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

    Жыл бұрын

    This looks like a diarrhea.

  • @gergodemeter5553
    @gergodemeter55532 жыл бұрын

    To be honest, I like how this guy is SLOWLY learning things. Slowly, but efficiently.

  • @vanjazed7021

    @vanjazed7021

    2 жыл бұрын

    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

    Жыл бұрын

    @@narwhal_ I'd love to see that, assuming you don't already know how to do it, would make a good video.

  • @narwhal_

    @narwhal_

    Жыл бұрын

    @@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.

  • @texti_animates
    @texti_animates Жыл бұрын

    this looks like diarhea

  • @GrantKot
    @GrantKot2 жыл бұрын

    I seem to have awakened an anime pootagonist.

  • @WhiteKnuckleRide512

    @WhiteKnuckleRide512

    Жыл бұрын

    Hey, it’s the guy lmao

  • @klonanbrown2807
    @klonanbrown28072 жыл бұрын

    It was fun to watch you suff- I mean code and research, really inspiring, we need longer videos!

  • @lzr_music

    @lzr_music

    Жыл бұрын

    LMAo

  • @coffzor123
    @coffzor1232 жыл бұрын

    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

    2 жыл бұрын

    Lolllll

  • @DylanN1ne

    @DylanN1ne

    Жыл бұрын

    Yes

  • @n0ok

    @n0ok

    Жыл бұрын

    liquid gold* looks like diarrhea

  • @elliotpaul3412
    @elliotpaul3412 Жыл бұрын

    Looks like spicy diarrhea

  • @Polygarden
    @Polygarden2 жыл бұрын

    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

    2 жыл бұрын

    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.

  • @trevorthieme5157

    @trevorthieme5157

    2 жыл бұрын

    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!

  • @DeuxisWasTaken
    @DeuxisWasTaken2 жыл бұрын

    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

    Жыл бұрын

    Wut?

  • @LC-hd5dc

    @LC-hd5dc

    Жыл бұрын

    @@jaivonharris7651 google

  • @willirittmann1917

    @willirittmann1917

    Жыл бұрын

    but the fun thing is recoding all of it

  • @mani_mincraft
    @mani_mincraft7 ай бұрын

    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!

  • @shaladddin5687
    @shaladddin56872 жыл бұрын

    this is how a big channel start, except Gonke goes straight to the final form

  • @unitysparticlesystem
    @unitysparticlesystem2 жыл бұрын

    3:23 We need to meme the sh*t out of this XD The visuals are awesome!

  • @God0fTime

    @God0fTime

    Жыл бұрын

    anyone yet?

  • @DamiemBlorp
    @DamiemBlorp2 жыл бұрын

    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.

  • @endingalaporte
    @endingalaporte2 жыл бұрын

    oh ma, your sense of humor is of great quality, and I love your videos explaining how differential equations are implemented, keep it up

  • @fatitankeris6327
    @fatitankeris63272 жыл бұрын

    1:50 Ah yes, the Michael Reeves philosophy...

  • @grandplat3462
    @grandplat34622 жыл бұрын

    I genuinely respect this man's dedication

  • @scratchbeginner2954
    @scratchbeginner29547 ай бұрын

    Him: Don't say it looks like diarrhea or I'll commit a war crime. Literally everyone: THIS LOOKS LIKE DIARRHEA!

  • @mateklQ
    @mateklQ2 жыл бұрын

    I'm really glad I found your channel. Quality content right here, keep it up :)

  • @kcayos3970
    @kcayos39702 жыл бұрын

    I am excited to see the final product of your physics code. This is super entertaining, keep this stuff up.

  • @yotamrothberg599
    @yotamrothberg599 Жыл бұрын

    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.

  • @the_kid777
    @the_kid7772 ай бұрын

    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.

  • @MightyEFX
    @MightyEFX Жыл бұрын

    love how beautifully uninspiring yet inspiring your videos are

  • @yoratoni_depreciated
    @yoratoni_depreciated2 жыл бұрын

    omg, at this point, i'm just waiting for you to have 200k subs so you can make a lot more videos with that good old KZread money

  • @wwestrongmans
    @wwestrongmans2 жыл бұрын

    The water in coding moment is really vibing so well

  • @meehdrescher
    @meehdrescher2 жыл бұрын

    i discovered your channel 15 minutes ago and i love it already

  • @NoOneIsHere.TryLater
    @NoOneIsHere.TryLater2 жыл бұрын

    this is the most ive laughed from a youtube video in a long time. Your videos are great

  • @RazgrizDuTTA
    @RazgrizDuTTA2 жыл бұрын

    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

    Жыл бұрын

    :O

  • @victormurphy3511
    @victormurphy35112 жыл бұрын

    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.

  • @tasya_nabila
    @tasya_nabila2 жыл бұрын

    I actually really happy to found your channel. It makes me wanna start my flutter project to make application that can receive data from WiFi module 😭

  • @L8nnC
    @L8nnC2 жыл бұрын

    I just love your vidoes man! Keep it up and you will be a famous coder!

  • @Zedoy
    @Zedoy2 жыл бұрын

    It looks like golden diarrhea

  • @3sc4p1sm
    @3sc4p1sm2 жыл бұрын

    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

  • @alexanderzin
    @alexanderzin Жыл бұрын

    Thanks! That thumbnail and title combo brightened up my day

  • @Bonfere
    @Bonfere2 жыл бұрын

    This Was so Good and THe music choice was on point

  • @mahyellaw
    @mahyellaw2 жыл бұрын

    experiencing pain and suffering just to make balls into fluid. quality content as usual dude, hope your brain cells are eating fine.

  • @Xphy
    @Xphy2 жыл бұрын

    I just love youu and how funny u r

  • @nononononononononono2045
    @nononononononononono2045 Жыл бұрын

    I love your approach to programming

  • @albrrrt
    @albrrrt2 жыл бұрын

    my man your videos are great, we all suffer together in each one's path

  • @SytheZN
    @SytheZN2 жыл бұрын

    I support this! "Use somebody else's implementation" is great advice for production, but terrible advice for learning.

  • @GrantKot

    @GrantKot

    2 жыл бұрын

    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

    2 жыл бұрын

    @@GrantKot 😀 Sorry if that came across as criticism! Was intended more as "doing something yourself is the best way to learn".

  • @charliecreasey9194
    @charliecreasey91942 жыл бұрын

    bruh i want longer vids i loveeeee this

  • @charliecreasey9194

    @charliecreasey9194

    2 жыл бұрын

    like even if you live stream the entire thing i would watch it

  • @joelpww
    @joelpww Жыл бұрын

    Thanks for filling in for Michael. Genuinely enjoying the content

  • @russellg3775
    @russellg37752 жыл бұрын

    Gonkee, you are awesome, liked and subscribed! As a side note, speak to your doctor about increasing your medication.

  • @huntie1608
    @huntie1608 Жыл бұрын

    This looks like diariea

  • @MrNathanShow
    @MrNathanShow2 жыл бұрын

    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.

  • @markusheimerl8735
    @markusheimerl87352 жыл бұрын

    you can only make these big brain jokes if you actually do it in the end

  • @user-du8rw6tb6r
    @user-du8rw6tb6r Жыл бұрын

    I have watched only the first 17 seconds of the video, and I already subscribed. Keep going

  • @InvictusM0n
    @InvictusM0n2 жыл бұрын

    My man you should really stream your progress on twitch it will be fun for everyone seeing you struggle in realtime.

  • @rimmertf

    @rimmertf

    2 жыл бұрын

    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

  • @MC5677
    @MC5677 Жыл бұрын

    4:18 this looks like diarrhea

  • @xE92vD
    @xE92vD Жыл бұрын

    Oh yeah, a channel that will make my day. Humour and programming perfectly balanced.

  • @flamelizard
    @flamelizard2 жыл бұрын

    That was very helpful actually😁 thanks for the input! I am trying to implement fluid simulation as well. But I thought more into 2D Navier Stokes implementation with grid cells just like the Fluid Ninja plug-in for Unreal Engine. In the manual, it’s also explained more or less on how it’s implemented if you wanna take a look

  • @MAPster7000
    @MAPster70002 жыл бұрын

    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

  • @positivenozy6065
    @positivenozy6065 Жыл бұрын

    it looks like diarea

  • @niklasneighbor6726
    @niklasneighbor6726 Жыл бұрын

    2 minutes in and i can tell how he started watching michael reeves and immediately adopted his personality lmao. like.

  • @withernator
    @withernator2 жыл бұрын

    Love your videos man

  • @inuka6969
    @inuka69692 жыл бұрын

    *diarrhea*

  • @sophiaava5666
    @sophiaava56662 жыл бұрын

    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

    2 жыл бұрын

    Most intelligent words I've heard.,

  • @cliffordharry5889

    @cliffordharry5889

    2 жыл бұрын

    Crypto is the new gold.

  • @miaemma8465

    @miaemma8465

    2 жыл бұрын

    wanted to trade Crypto but got discouraged by the fluctuations in price,

  • @lisamoore7309

    @lisamoore7309

    2 жыл бұрын

    @@miaemma8465 That won't bother you if you trade with a professional like Mr Timothy Gregg

  • @katieallie8740

    @katieallie8740

    2 жыл бұрын

    I heard that his strategies are really good

  • @omgle118
    @omgle1182 жыл бұрын

    I actually got happy when the ad happened you deserve many money and likes and subsriincbers.

  • @petruciani
    @petruciani2 жыл бұрын

    this is the best programming video i've seen in my life! ... this week

  • @lucasnogueira3232
    @lucasnogueira32322 жыл бұрын

    I like how is apparent is the difference of your mental state between simulations in 2D and 3D

  • @priyanshuindra4648
    @priyanshuindra46482 жыл бұрын

    bro I just love your videos...

  • @sehzadeselim863
    @sehzadeselim8634 ай бұрын

    You are great, keep going!

  • @IamPyu-v
    @IamPyu-v Жыл бұрын

    This looks like Scratch could make a good first impression

  • @ashisharky
    @ashisharky2 жыл бұрын

    The fucking music time-lapse part was absolutely amazing

  • @amukh1_dev274
    @amukh1_dev274 Жыл бұрын

    "We start how many things start: ⭐the balls ⭐

  • @disinlungkamei2869
    @disinlungkamei28692 ай бұрын

    nice video bro you are talented all the best

  • @TheFatherCharles
    @TheFatherCharles2 жыл бұрын

    Awesome video man

  • @DjLeonSKennedy
    @DjLeonSKennedy2 жыл бұрын

    Looks amazing!

  • @ClemoVernandez
    @ClemoVernandez2 жыл бұрын

    Hilarious video! Longer ones would be great

  • @cade9491
    @cade94912 жыл бұрын

    This is only the second video after the physics engine one i have watched from you and bro i have never laughed in a tech youtube video this much, you are hilarious hhh

  • @Luted09
    @Luted097 ай бұрын

    i would love some *expired mountain dew*

  • @thegamingdragonslayer6972
    @thegamingdragonslayer69722 жыл бұрын

    Really underrated channel

  • @NFSHeld
    @NFSHeld2 жыл бұрын

    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.

  • @xedvap
    @xedvap2 жыл бұрын

    You have very entertaining videos.

  • @gabe.henrique
    @gabe.henrique2 жыл бұрын

    rgba alpha is the answer to transparency if you’re using SDL or OpenGl

  • @nothingnothingnothing862
    @nothingnothingnothing862 Жыл бұрын

    4:10 this looks like diarrea

  • @abhrantapanigrahi3475
    @abhrantapanigrahi34752 жыл бұрын

    This channel is gonna boom just in a bit

  • @genkidama7385
    @genkidama73852 жыл бұрын

    i tried making a compute shader verlet integration 2 years ago, it looked like the piece of cloth was in a quantum superposition state where each particle could be anywhere and nowhere at the same time. and one version of them was affected by gravity and falling forever not taking into account the spring forces of 2 fixed particles.

  • @godnyx117
    @godnyx117 Жыл бұрын

    Your humor is GOD level!

  • @timwhite7127
    @timwhite7127 Жыл бұрын

    I don't know jack or his little brother bull shit about computers but you still managed to get a chuckle outta me...

  • @dienzer9098
    @dienzer90982 жыл бұрын

    hey gonkee, i am glad you are working on fluid simulation. i'd reccomed you check out MH's fluid simulation book

  • @PoisonousCowCoding
    @PoisonousCowCoding6 ай бұрын

    The ballz look amazing bro

  • @JMM57
    @JMM57 Жыл бұрын

    I have to say watching another guy develope stuff and knowing how the process goes myself I feel your pain.

  • @nandukrishna8142
    @nandukrishna81422 жыл бұрын

    You know it took me years trying to do some physics stuff and finally I have something that works fine

  • @thekillerlvl9009
    @thekillerlvl90092 жыл бұрын

    love the vid man

  • @augustas3765
    @augustas37652 жыл бұрын

    Wow that was really cool.

  • @TheDream975
    @TheDream9752 жыл бұрын

    Please keep doing coding videos ! This shit is hilarious

  • @chubamoa3640
    @chubamoa36402 жыл бұрын

    The sims pretty fluid, I like the yellow dye . Aria could be added to make it more legendary

  • @bini6991
    @bini69912 жыл бұрын

    It would be fun to see someone else try to implement this engine in their game

  • @fbf3628
    @fbf36282 жыл бұрын

    yo i love your videos bro

  • @kendedetar
    @kendedetar2 жыл бұрын

    This was really entertaining :D

  • @327efrain
    @327efrain2 жыл бұрын

    This is so soothing

  • @BroncoGammon
    @BroncoGammon Жыл бұрын

    I love that mans not hot is just playing on his monitor lol

  • @virtualcombat4863
    @virtualcombat48632 жыл бұрын

    This looks like diehardayyyaaaa now you have to commit a war crime

  • @rahulpant9807
    @rahulpant98072 жыл бұрын

    this is what I was waiting for

Келесі