@@Rohit-cj6eb ну типо, код перепечатать ещё можно, видимо в визуал студио, а где отображать напечатанное, а ну в ней наверное, раз визуал Формула ещё в начале надо по словам переводить,что он там описал
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!!
In the middle of the video, I got distracted by another tab on the browser and forgot about this video at all, thinking that it's just another calm background sound I used to play meanwhile I work. I don't even know C++ or game/graphics development but still watched again till the end. Thanks anyways.
This person did NOT code that at the top of their head. It’s not how it works. He got all the code on second monitor and just typing it back on his main monitor for the video. Cool video though, but don’t be naive.
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
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!
I use to do leetcode with the c++ , after seeing this video i am encouraged to do high level object oriented programming with c++ while writing own header file and input stream handling . Hats off to this dude great work , very inspiring . ⚡⚡⚡⚡⚡⚡⚡⚡
Really awesome! I understood form this video... that each of point (vertex) of cloth simulation respond to gravity individually. Constraints among points makes it attachable to each other.
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
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
I am one of the viewers that really has minimal idea what is going on at all. However, though the program did work just fine. Which was really cool to watch being created, there were spelling errors. I thought to myself, how did it function properly with spelling errors. But its your program, so a name is a name I suppose.
any particular reason why the particles were able to bounce slightly along the X axis at 03:49? If GRAVITY is just a force of 10 on the Y axis, then how is there a bounce? also, at what point did the particles become bouncy?!?! I must've missed a few things!
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.
@@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...
I am a beginner at C++ (my first programming language), I don't get it, how a language that only compares something, verifies something, and loops something could do almost everything ? Even when I see the code I don't understand it clearly.
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.
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.
@@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.
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.
I'm 110% sure m not understanding a single thing in this video but m still going to watch it
Same😂😂
Why not you understanding it?
It's like taking your vitamins. Its good for you.
I stay here watching till the end due to the relaxing music
@@Rohit-cj6eb ну типо, код перепечатать ещё можно, видимо в визуал студио, а где отображать напечатанное, а ну в ней наверное, раз визуал
Формула ещё в начале надо по словам переводить,что он там описал
man that's impressive the math and coding skills
Congrats !! An intuitive and very good spot of light when talking of physics and c/c++
Thanks for sharing !
Lorenzo
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!!
Thanks for watching, really appreciate it!
So true,
In the middle of the video, I got distracted by another tab on the browser and forgot about this video at all, thinking that it's just another calm background sound I used to play meanwhile I work. I don't even know C++ or game/graphics development but still watched again till the end. Thanks anyways.
Man im jelous of your coding skills and understanding and amazed at the same time
Try hard :)
This person did NOT code that at the top of their head. It’s not how it works. He got all the code on second monitor and just typing it back on his main monitor for the video. Cool video though, but don’t be naive.
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
I'm jealous, as I'm not even started learning but find your skills are needed in unreal engine simulation. ❤
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!
I use to do leetcode with the c++ , after seeing this video i am encouraged to do high level object oriented programming with c++ while writing own header file and input stream handling .
Hats off to this dude great work , very inspiring .
⚡⚡⚡⚡⚡⚡⚡⚡
Really awesome!
I understood form this video...
that each of point (vertex) of cloth simulation respond to gravity individually. Constraints among points makes it attachable to each other.
That is cool!
Edit: i actually just learnt how to solve a coding problem i had just from this!
Thanks, amazing to hear this..
Love the chill music
This is impressive bro. Amazing channel.
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
you know c++ has a bad module system when even web developers say it's bad lol
deno masterrace
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
1:19 the vertex knows where it is because it knows where it isn’t
This project impressed me, thank you for sharing
beautiful and soothing
Thanks for sharing, your video really helped me
I'm trying to make a simulation engine in C++ as well, but from OpenGL. Thank you for these insights!
I did a view on opengl but this simulation is great, gravity and interaction is very real feels so intuitive
Great video , I hope you will post more
Amazing, learning differential equation by coding this
So amazed yrrr lots of love hats offf
Very beautiful code!!!!
Great video
Nice video, im working on a nbody simulation using the Barnes Hut algo.
I suggest you explore that field, its very interesting :)
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
Great video buddy might you please used formulas that describe the movement of a object?
I am one of the viewers that really has minimal idea what is going on at all. However, though the program did work just fine. Which was really cool to watch being created, there were spelling errors. I thought to myself, how did it function properly with spelling errors. But its your program, so a name is a name I suppose.
any particular reason why the particles were able to bounce slightly along the X axis at 03:49? If GRAVITY is just a force of 10 on the Y axis, then how is there a bounce? also, at what point did the particles become bouncy?!?! I must've missed a few things!
Awesome vid
extreme iq required for this task
Inspiring.
thats sick, makes me wanna make it myself as well but ill probably fail
Thanks, it's not that hard ;)
Very interesting ❤❤❤
amazing
makes me think of Pezza
Background music made me fell asleep mid video
5:03 how did you implement springs if the constraint code, apparently, didnt change?
49 Star 8 folk, good
bro why do i understand code better than math them selves
6:27 you should have used == instead of = in the condition
Great!
How does the simulation still work when you misspelled distance on line 29 at 7:32?
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.
@@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...
7:33 float distatnce
Nice very nice.
Is it usable with game engines, such as Unity or Unreal?
How do you get the star extension to appear while ur coding?
incrível
I am a beginner at C++ (my first programming language), I don't get it, how a language that only compares something, verifies something, and loops something could do almost everything ? Even when I see the code I don't understand it clearly.
please serious question , did the ai help you in the different problems you faced or you build this from scratch
DAMNNN cool
Writing the implementations in a header file?
damn i cant even make a simple 3d physics work
wow
Honest question, is C++ better for coding this than python and why?
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.
@@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?
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.
@@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.
You can also try Rust, is a little faster than C++ and in my opinion is more enjoyable than C++
idk if you enjoy it, you enjoy doing this ?
sbbed
это невероятно сложно
I don't agree 😃
I use Rust btw
I don't think SFML counts as "from scratch"... but great video!
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.
@@eternalnerd_
that is one of the most Redditor replies I've ever seen... nice comment man
@@DaBeanBro lol