Пікірлер
@ВладиславГришин-ш7ш
@ВладиславГришин-ш7ш Күн бұрын
это невероятно сложно
@HussainAli-zk6nk
@HussainAli-zk6nk Күн бұрын
Very beautiful code!!!!
@InfurnoHDRotmg
@InfurnoHDRotmg 5 күн бұрын
Writing the implementations in a header file?
@hodayfa000h
@hodayfa000h 5 күн бұрын
That is cool! Edit: i actually just learnt how to solve a coding problem i had just from this!
@FelipesCoding
@FelipesCoding 2 күн бұрын
Thanks, amazing to hear this..
@morgziliuz1972
@morgziliuz1972 6 күн бұрын
Background music made me fell asleep mid video
@yumingliu7403
@yumingliu7403 7 күн бұрын
Amazing, learning differential equation by coding this
@abnereliberganzahernandez6337
@abnereliberganzahernandez6337 11 күн бұрын
I did a view on opengl but this simulation is great, gravity and interaction is very real feels so intuitive
@sem_the_man
@sem_the_man 11 күн бұрын
thats sick, makes me wanna make it myself as well but ill probably fail
@FelipesCoding
@FelipesCoding 2 күн бұрын
Thanks, it's not that hard ;)
@akdk-productions
@akdk-productions 13 күн бұрын
I'm 110% sure m not understanding a single thing in this video but m still going to watch it
@Jack-so1hz
@Jack-so1hz 5 күн бұрын
Same😂😂
@eternalnerd_
@eternalnerd_ 13 күн бұрын
Awesome vid
@DaBeanBro
@DaBeanBro 13 күн бұрын
I don't think SFML counts as "from scratch"... but great video!
@eternalnerd_
@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.
@DaBeanBro
@DaBeanBro 10 күн бұрын
@@eternalnerd_ that is one of the most Redditor replies I've ever seen... nice comment man
@eternalnerd_
@eternalnerd_ 10 күн бұрын
​@@DaBeanBro lol
@DHARMA252
@DHARMA252 14 күн бұрын
Nice very nice.
@godlyradmehr2004
@godlyradmehr2004 14 күн бұрын
Very interesting ❤❤❤
@gustavojoaquin_arch
@gustavojoaquin_arch 14 күн бұрын
I use Rust btw
@gamesthatmatter9374
@gamesthatmatter9374 14 күн бұрын
this is some advanced stuff !
@SacherPunch
@SacherPunch 15 күн бұрын
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
@netfri25
@netfri25 15 күн бұрын
6:27 you should have used == instead of = in the condition
@mehdinh4986
@mehdinh4986 16 күн бұрын
Great video
@goncalomarques7022
@goncalomarques7022 17 күн бұрын
man that's impressive the math and coding skills
@LifeMastery-0
@LifeMastery-0 17 күн бұрын
great edit
@Narblo
@Narblo 17 күн бұрын
5:03 how did you implement springs if the constraint code, apparently, didnt change?
@scubather
@scubather 18 күн бұрын
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
@okie9025
@okie9025 16 күн бұрын
you know c++ has a bad module system when even web developers say it's bad lol deno masterrace
@BruceMaximusLee
@BruceMaximusLee 15 күн бұрын
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
@endergame8267
@endergame8267 18 күн бұрын
bro why do i understand code better than math them selves
@reqsone5450
@reqsone5450 19 күн бұрын
That was so cool
@ultsen96
@ultsen96 20 күн бұрын
Man im jelous of your coding skills and understanding and amazed at the same time
@sparrow243
@sparrow243 15 күн бұрын
Try hard :)
@xoxogamewolf7585
@xoxogamewolf7585 22 күн бұрын
makes me think of Pezza
@preguica_net
@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
@SatvikkGuptaa Ай бұрын
DAMNNN cool
@SatvikkGuptaa
@SatvikkGuptaa Ай бұрын
by any chance did you work on thomas brush games
@FelipesCoding
@FelipesCoding Ай бұрын
No, i didn't. Why?
@trinityevechandler5801
@trinityevechandler5801 Ай бұрын
Excellent Video!
@andrejbartulin
@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
@LuisFernando-wm5rg Ай бұрын
Coool
@Omunamantech
@Omunamantech Ай бұрын
Cool
@rishirao9502
@rishirao9502 Ай бұрын
coool
@gulyasgyorgy
@gulyasgyorgy 2 ай бұрын
Please make a coding video, like before. This effect is very nice, but the coding which makes more intresting.
@FelipesCoding
@FelipesCoding 2 ай бұрын
I want to share a variety of content on the channel, and coding videos are definitely coming soon
@allansmart5358
@allansmart5358 2 ай бұрын
Honest question, is C++ better for coding this than python and why?
@FelipesCoding
@FelipesCoding 2 ай бұрын
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.
@allansmart5358
@allansmart5358 2 ай бұрын
@@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?
@FelipesCoding
@FelipesCoding 2 ай бұрын
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.
@allansmart5358
@allansmart5358 2 ай бұрын
@@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.
@KillKRT
@KillKRT 29 күн бұрын
You can also try Rust, is a little faster than C++ and in my opinion is more enjoyable than C++
@RealSiViX
@RealSiViX 2 ай бұрын
How does the simulation still work when you misspelled distance on line 29 at 7:32?
@jkf16m96
@jkf16m96 2 ай бұрын
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.
@RealSiViX
@RealSiViX 2 ай бұрын
@@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...
@gulyasgyorgy
@gulyasgyorgy 2 ай бұрын
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!!
@FelipesCoding
@FelipesCoding 2 ай бұрын
Thanks for watching, really appreciate it!
@sama32lambda
@sama32lambda 2 ай бұрын
Love the chill music
@xanterrx9741
@xanterrx9741 3 ай бұрын
Great video , I hope you will post more
@juanhurtado35
@juanhurtado35 3 ай бұрын
Great!
@DiegoHinrichs
@DiegoHinrichs 3 ай бұрын
Nice video, im working on a nbody simulation using the Barnes Hut algo. I suggest you explore that field, its very interesting :)
@FelipesCoding
@FelipesCoding 3 ай бұрын
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