That is cool! Edit: i actually just learnt how to solve a coding problem i had just from this!
@FelipesCoding2 күн бұрын
Thanks, amazing to hear this..
@morgziliuz19726 күн бұрын
Background music made me fell asleep mid video
@yumingliu74037 күн бұрын
Amazing, learning differential equation by coding this
@abnereliberganzahernandez633711 күн бұрын
I did a view on opengl but this simulation is great, gravity and interaction is very real feels so intuitive
@sem_the_man11 күн бұрын
thats sick, makes me wanna make it myself as well but ill probably fail
@FelipesCoding2 күн бұрын
Thanks, it's not that hard ;)
@akdk-productions13 күн бұрын
I'm 110% sure m not understanding a single thing in this video but m still going to watch it
@Jack-so1hz5 күн бұрын
Same😂😂
@eternalnerd_13 күн бұрын
Awesome vid
@DaBeanBro13 күн бұрын
I don't think SFML counts as "from scratch"... but great video!
@eternalnerd_13 күн бұрын
SFML is purely to draw the graphics primitives to the screen and handle input. The particle simulation physics engine code, the focus of the video, does not rely on this library. If you wanted him to use no graphics library, he would be using os-specific API to create the window, draw graphics, handle input, etc. I think that would have been silly and a waste of time since then only users on the OS he developed on would be able to run his code. But nice comment man.
@DaBeanBro10 күн бұрын
@@eternalnerd_ that is one of the most Redditor replies I've ever seen... nice comment man
@eternalnerd_10 күн бұрын
@@DaBeanBro lol
@DHARMA25214 күн бұрын
Nice very nice.
@godlyradmehr200414 күн бұрын
Very interesting ❤❤❤
@gustavojoaquin_arch14 күн бұрын
I use Rust btw
@gamesthatmatter937414 күн бұрын
this is some advanced stuff !
@SacherPunch15 күн бұрын
Please please please keep making videos like this, it's invaluable being able to see the whole process of making a program and the reasoning behind the choices made
@netfri2515 күн бұрын
6:27 you should have used == instead of = in the condition
@mehdinh498616 күн бұрын
Great video
@goncalomarques702217 күн бұрын
man that's impressive the math and coding skills
@LifeMastery-017 күн бұрын
great edit
@Narblo17 күн бұрын
5:03 how did you implement springs if the constraint code, apparently, didnt change?
@scubather18 күн бұрын
I admire ppl who stick to c++ and a specially physics simulation every time I've tried to take a look to any c++ project I've faced enormous amount of compiling problem and environment issues with libraries and headers (skill issue) and I go back to my web dev routine :) thanks for sharing your great experience
@okie902516 күн бұрын
you know c++ has a bad module system when even web developers say it's bad lol deno masterrace
@BruceMaximusLee15 күн бұрын
take ur time and watch a cmake tutorial without skipping and figure out how to link libraries dynamically and statically and so on then everything will make sense hopefully
@endergame826718 күн бұрын
bro why do i understand code better than math them selves
@reqsone545019 күн бұрын
That was so cool
@ultsen9620 күн бұрын
Man im jelous of your coding skills and understanding and amazed at the same time
@sparrow24315 күн бұрын
Try hard :)
@xoxogamewolf758522 күн бұрын
makes me think of Pezza
@preguica_netАй бұрын
I've already had problems with the 4th order Rugge Kutta, and to this day I haven't found out why. It lowered the temperature of my Lennard-Jones gas. I didn't have this problem with the Verlet. Very nice video!
@SatvikkGuptaaАй бұрын
DAMNNN cool
@SatvikkGuptaaАй бұрын
by any chance did you work on thomas brush games
@FelipesCodingАй бұрын
No, i didn't. Why?
@trinityevechandler5801Ай бұрын
Excellent Video!
@andrejbartulinАй бұрын
I thought particle simulation video is crazy, this is crazier alongside being few neural network videos with actual code from scratch. Most of them just use tensorflow/pytorch to access pretrained model
@LuisFernando-wm5rgАй бұрын
Coool
@OmunamantechАй бұрын
Cool
@rishirao9502Ай бұрын
coool
@gulyasgyorgy2 ай бұрын
Please make a coding video, like before. This effect is very nice, but the coding which makes more intresting.
@FelipesCoding2 ай бұрын
I want to share a variety of content on the channel, and coding videos are definitely coming soon
@allansmart53582 ай бұрын
Honest question, is C++ better for coding this than python and why?
@FelipesCoding2 ай бұрын
The reason behind it is that I like writing code in c++, but to be honest: C++ generally offers better performance than Python because it's a compiled language. In physics simulations (like Verlet integration), which involve a lot of mathematical calculations, performance is crucial. C++ gives you control over memory management, which can lead to optimized, faster code.
@allansmart53582 ай бұрын
@@FelipesCoding thank you for your answer. I appreciate it. I tried learning c++. Do you have any tips or courses I could try to master the basics?
@FelipesCoding2 ай бұрын
What always worked for me was finding a project that interests you (one that's not too easy compared to your programming level but also not too hard) and learning programming (c++) while working on it.
@allansmart53582 ай бұрын
@@FelipesCoding thank you for your recommendation. I will give it a go. I will think I will start with just a random number calculator project and then go from there. I mainly use Python for statistical analysis, but I am interested in getting more into programming and creating interesting things like you created.
@KillKRT29 күн бұрын
You can also try Rust, is a little faster than C++ and in my opinion is more enjoyable than C++
@RealSiViX2 ай бұрын
How does the simulation still work when you misspelled distance on line 29 at 7:32?
@jkf16m962 ай бұрын
because he kept misspelling it. as you can see, he doesn't use an already defined variable. He does define a new variable named "distatnce" and each time he used that variable, he kept using that name, never correcting it, but despite that, the variable is correct, because it exists.
@RealSiViX2 ай бұрын
@@jkf16m96 - I see my mi8stake now, I didn't realize he was calling a variable until I went back and looked at it again, I thought he was calling a function, sorry for the confusion...
@gulyasgyorgy2 ай бұрын
This video, and the whole channel is hidden gem. Absolutely amazing. And I'm proud to be one of 29 people who subscribe to this channel and understand this video and even enjoy it. Thank you very much!!
@FelipesCoding2 ай бұрын
Thanks for watching, really appreciate it!
@sama32lambda2 ай бұрын
Love the chill music
@xanterrx97413 ай бұрын
Great video , I hope you will post more
@juanhurtado353 ай бұрын
Great!
@DiegoHinrichs3 ай бұрын
Nice video, im working on a nbody simulation using the Barnes Hut algo. I suggest you explore that field, its very interesting :)
@FelipesCoding3 ай бұрын
Yes, it's really nice. I'm looking forward to reading more about it and maybe implementing some cool stuff. Thanks for watching and your suggestion