Тёмный

Building a Physics Engine with C++ and Simulating Machines 

AngeTheGreat
Подписаться 203 тыс.
Просмотров 700 тыс.
50% 1

Опубликовано:

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 579   
@theDemong0d
@theDemong0d 2 года назад
No sleeping here, there is a huge lack of technical content on youtube at this level, these videos are killer. Keep it up. Would love to see the deep-dive on your fluid sims for your engine project.
@Alexander_Sannikov
@Alexander_Sannikov 2 года назад
I don't think you actually realize how much effort goes into creating a video like this. "At this level" there's extremely little content on the entire youtube.
@theDemong0d
@theDemong0d 2 года назад
@@Alexander_Sannikov I'm not sure exactly how to interpret this, but I never said it was easy. Also, that is not strictly true since there is an immense amount of highly technical content on youtube, just not in the realm of individuals writing interesting things from scratch, and not laid out to present novel experiments, Sebastian Lague-style.
@Alexander_Sannikov
@Alexander_Sannikov 2 года назад
@@theDemong0d what I mean is that 99% of sebastian league style content requires much less knowledge and effort than a video like this. UPD nvm, I think I read your original post wrong. I think I read "huge lack" as "huge block", or something like that.
@RodyDavis
@RodyDavis 2 года назад
+1000
@dnull
@dnull 2 года назад
well, unfortunately, views explain why there's no much tech-focused game dev vids on youtube.
@Cathal7707
@Cathal7707 2 года назад
This is incredible. Constraint solving is stuff you do early on in an engineering degree but I never cared for it because I was always into the more computational stuff. Seeing you come at this from the computational side first has given me a whole new perspective.
@Ahsan_Fazal
@Ahsan_Fazal 2 года назад
You're my new favorite RU-vid content creator. WOW! This level of knowledge and expertise is something I rarely see on RU-vid. KEEP UP THE GOOD WORK!!!
@Alphaa101
@Alphaa101 2 года назад
Where you are from?
@IONYVDFC
@IONYVDFC Год назад
Interesting to see someone reviving the (at least my) experience of writing a physics engine. It was really a brain crushing journey for me to do this in the 90' with less accuracy, much less computing power, my very immature knowledge of math, let alone internet resources on this topic. But I have strong memories indeed from my eureka moment after real-time simulating a cloth, and a few weeks later seeing the same idea rendered on a Silicon Graphics cluster on a computer fair in Brussels.
@NordicFrog
@NordicFrog 2 года назад
You deserve millions of views.
@AngeTheGreat
@AngeTheGreat 2 года назад
Perhaps this will be the video that the algorithm blesses 🙏
@Turbonuotti
@Turbonuotti 2 года назад
@@AngeTheGreat the algorithm will bless your latest engine sound simulator video, it is the most impressive work i have ever seen. Great things and huge potential in your work!
@saritasahu6293
@saritasahu6293 Год назад
C++ Developer are so cool. I don't think any Physics teacher of my shool could ever imagine, something like this can be done with, what they teach at school.
@RenkoGSL
@RenkoGSL Год назад
I'm sorry but that is so dumb funny. "Well, OBS pissed me off. " C++ programmer turns it into a thread. lol I love it
@PrinceKumar-hh6yn
@PrinceKumar-hh6yn Год назад
How fearful mathematical analysis of Physics can be
@MrAman47
@MrAman47 Год назад
Great video, hope to see more of you!
@nebulae_wanderer
@nebulae_wanderer 2 года назад
this gave me flashbacks of analytical mecanics
@zgrpro
@zgrpro 6 месяцев назад
this is literally insane!
@StippleAlpha
@StippleAlpha Год назад
You could do the video capture with a pretty simple GStreamer pipeline. GStreamer can directly take your video buffers and automatically wire up a pipeline to encode into pretty much any arbitrary format. I would also say that, since you're using C++, you could group "x", "y", and "theta" into a 'struct' and create operators for different arithmetic operations for that 'struct'. This would make the code shorter and clearer--and make mistakes less likely if you can rely on well-written operators to do some of the repetitive steps for you.
@AngeTheGreat
@AngeTheGreat Год назад
I've used GStreamer before though I don't think it would have been any simpler than simply using ffmpeg directly, it was a fairly straightforward thing to implement. Ordinarily I would done this and have done it on my other projects (ie using classes and overloaded operators). I wanted to keep this codebase minimalistic and almost C-like. I like to try different coding styles on different projects. I found that it didn't really cause issues on this project and I found it readable, though I'd probably just do it with classes for vectors in the future.
@Ryokamui
@Ryokamui 2 года назад
Thanks Mike!
@AlexdAviator
@AlexdAviator 2 года назад
What code editor are you using? Really like it
@thomasalvarez2089
@thomasalvarez2089 2 года назад
good work
@unknowndrago2005
@unknowndrago2005 Год назад
all is good
@kaneeskansenthuran7645
@kaneeskansenthuran7645 2 года назад
đại nghĩa duyên quá chừng
@itskittyme
@itskittyme 2 года назад
"i wrote this advanced physics simulator" "oh and then i ran into some problems with making the video" "thus i quickly built my own screen capturing software which works better than this giant open source program that's been around since 2012" okay
@abeecee
@abeecee 2 года назад
if this is my competition looking for swe jobs, I might as well give up now lmao
@deathTurgenev
@deathTurgenev 2 года назад
Then proceeds to say, sorry the code isn't optimized, I'm not an expert
@EmergencyTemporalShift
@EmergencyTemporalShift 2 года назад
To be fair, taking a bunch of screenshots is easier than physics
@HAWXLEADER
@HAWXLEADER 2 года назад
Getting a raw image sequence out of your renderer is NOT "better" than this giant open source thing. It just does 1 thing and does it really well.
@atypicalambience3487
@atypicalambience3487 2 года назад
He uses ffmpeg which does all the hard work for you. You can literally feed it image files and it will just make it into a video.
@JubaProductionsStudios
@JubaProductionsStudios 2 года назад
"OBS was making me nuts, so I made my own screen recorder" this guy is a legend haha
@magmacodes9143
@magmacodes9143 2 года назад
You can do too. FFMPEG has been a fairly straightforward framework for making small screen recorders for a long time now.
@vedantkanoujia
@vedantkanoujia 2 года назад
@@magmacodes9143 ffmpeg is most vulnerable due to multiple support of library
@dudearlo
@dudearlo Год назад
xD
@XENON2028
@XENON2028 Год назад
@@vedantkanoujia what
@jakosloth
@jakosloth Год назад
Man's living my dream lol
@AngeTheGreat
@AngeTheGreat 2 года назад
Useful or pointless video? You tell me :D Thanks for watching 💪
@puppergump4117
@puppergump4117 2 года назад
Very useful, I will surely use it
@Dicklesberg
@Dicklesberg 2 года назад
All your stuff is incredible. You’re going to have a million subs in the next 2 years if you keep it up. My advice is to not abandon your long form content in favor of shorts. Your issue earlier with the car rendering video was that you didn’t have critical mass of viewership. Now that your channel is blowing up, a long term project requiring a lot of work will likely be rewarded even more.
@Mocorn
@Mocorn 2 года назад
I know exactly zero about programming and still watched the whole thing. Physics are fundamentally interesting stuff :)
@isuckatthisgame
@isuckatthisgame 2 года назад
For me, somewhat useless now, but very prompting to revise my old, long-forgotten knowledge and to learn even more.
@user-yy3ki9rl6i
@user-yy3ki9rl6i 2 года назад
im learning modeling and simulations next semester and this pretty much hypes me up! thanks for the content man, you just got a new sub.
@rubixmc7320
@rubixmc7320 3 месяца назад
Why is it allways just linear algebra
@jojodi
@jojodi 2 года назад
Awesome stuff! Highly recommend you look into iterative techniques (Gauss-Seidel, or more complex Conjugate Gradient). They are probably in fact easier to implement than the Gaussian Elimination, and you can terminate iterative approaches when the error is low enough. Convergence rates are almost always related to conditioning of the system being solved, which will depend on what combination of constraints you have in your simulation. Note that isn't worse than the elimination case: poor conditioning also causes numerical instability in that algorithm as well.
@AngeTheGreat
@AngeTheGreat 2 года назад
Excellent suggestion, you definitely know your stuff! I actually did implement Gauss-Seidel but I didn't mention it in the video because I didn't want to confuse people haha... But you're right that iterative approaches are great. Next step will be to implement Conjugate Gradient since that'll be faster and also slightly more robust (for redundant constraints, etc.). Thanks for watching and thanks for the suggestion!
@GeorgeTsiros
@GeorgeTsiros 2 года назад
@@AngeTheGreat i saw no Gauss in the video, in fact, I don't think I saw any weapon of _any_ kind!
@GeorgeTsiros
@GeorgeTsiros 2 года назад
oooh. nice.
@chriswalsh5925
@chriswalsh5925 2 года назад
Hey @brandon, what do you think of LevenBerg-Marquadt (probably mis-spelled!). I have read several papers recently where they use that for solving systems (not physics) as it is supposed to be very fast and more 'optimisable', removing zeros etc. Wondering if you thought it would be good for a physics engine?
@GeorgeTsiros
@GeorgeTsiros 2 года назад
@@chriswalsh5925 there is only one way to find out... code it and test it! :> There _should_ be implementations online, already.
@lukewellcash
@lukewellcash 2 года назад
Your videos should seriously get more attention then they do. Awesome work!
@AngeTheGreat
@AngeTheGreat 2 года назад
Thank you! As long as there are people out there that like my stuff and find it useful, I'm good ✌
@marilynlucas5128
@marilynlucas5128 8 месяцев назад
@@AngeTheGreat You're truly great.
@MozwGamer
@MozwGamer 2 года назад
You know what bro? Next time just go full throttle on the maths, that's the part we actually understand hahahaha.
@thierrybeaulieu4403
@thierrybeaulieu4403 2 года назад
I've studied physics for 2 years and computer science for another 3 years. I'm already thought of doing something like that, but it's very impressive to see how well you've done it. There are so many layers of complexity to what you're showing
@scremeo8522
@scremeo8522 2 года назад
As I'm currently preparing for an upcoming exam in numerical analysis, I find it interesting to see this really cool application of most of the methods I've learned! I'd like to write my own physics-engine right now, if I didn't have to study at the moment 😅
@Alexander_Sannikov
@Alexander_Sannikov 2 года назад
A note on implementation: your RK solver is very tightly coupled with the design of the system you're integrating. Usually it's best to try to decouple the integrator from the system itself and implement it more generically. For ordinary ODE's you just need a function that calculates a vector of derivatives from a vector of coordinates, and that's all your integrator needs. And your physics engine can _index_ into those arrays to access coordinates of any given rigid body.
@AngeTheGreat
@AngeTheGreat 2 года назад
Good idea! Might refactor that part, thanks for the suggestion
@HilbertXVI
@HilbertXVI 2 года назад
Ordinary ordinary differential equations
@revealingfacts4all
@revealingfacts4all 2 года назад
He's also using public virtuals which tells me he's not very knowledgeable of c++
@AngeTheGreat
@AngeTheGreat 2 года назад
@@revealingfacts4all I don't claim to know it all and I like to assume that I know nothing anyway. What do you recommend I change?
@Alexander_Sannikov
@Alexander_Sannikov 2 года назад
@@revealingfacts4all I am curious as well as to why you think using public virtual functions somehow reflects his lack of C++ knowledge.
@basile5490
@basile5490 2 года назад
Just discovered your channel, and i see a lot of advanced, neat projects that really sparks my interest. This physics engine is very cool ! Im impressed to see that you make all that in C++, it genuinely makes me want to make similar stuff on a low level. That's really inspiring (even the nerdy mathematical details ! Along with the sources in the descriptions, those are the crunchy bit for me). Keeps up the awesome work !
@AngeTheGreat
@AngeTheGreat 2 года назад
Welcome to the channel! I try to work on projects that really challenge me and I'm glad that you enjoy my content. Hopefully my channel continues to help/inspire you in your software journey. Thanks for watching!
@mrantssfpv
@mrantssfpv 2 года назад
Plz release a good Physics game for iPad lmao. I’ll pay 8 buck. I wanna design my friends missing finger in a real time easy to use physics engine. Please do.
@tagberli
@tagberli 2 года назад
Im a competitive programmer dunno why I'm watching this but I enjoy knowing cpps true power
@Alexander_Sannikov
@Alexander_Sannikov 2 года назад
Some constraints (such as rolling constraint, universal joint, etc) can be represented both as an extra body with simpler constraint attached to the bodies that you want to connect to start with, or with a more involved jacobian and no extra body. I recommend initially not wasting time implementing complex jacobians for joints that are not experiencing heavy load and implement them using just an extra body. If/when they become a problem, you can replace the extra body with a page of code for its jacobian, but they must converge to the same exact result in the limit of the extra body having zero mass.
@AngeTheGreat
@AngeTheGreat 2 года назад
Oh I see, might look into that. I think I might have gotten carried away with the rolling constraint, I really wanted to make it work for some reason lol
@David-ng9qh
@David-ng9qh 2 года назад
"Oh yeah by the wa. On a completely unrelated sidenote, OBS sucks, so I made my own video capture software." legend
@infegfx
@infegfx 2 года назад
You can try GeoGebra. I do not know any codding and math. But I can make many thinks with using only shapes, dots and points. It is hard to say about some most complex formulas (what created by expert professors or other scientists.) can ultra easy to find as different way without numbers. And some of them works better in many ways. For example I was tried smiler things like you did. I think you can try to use spiral to make that object fall. Spiral shapes, turns, and size can be change for velocity, mass and high. I think spiral should reflect to other side if object fall down point is upper than object connection pivot point. I can not explain this by cods or formulas but I wish it will work better.
@krunkle5136
@krunkle5136 2 года назад
Writing your own screen capture program? Legendary stuff.
@opti12
@opti12 2 года назад
All this goes far over my head but it's so impressive to see someone make things like this and to share it online, even creating a screenrecorder in the meantime. Crazy!
@mastershooter64
@mastershooter64 2 года назад
4:46 absolute madlad!! obs wasn't working properly and he just became thanos and was like "Fine, I'll do it myself" lmao
@xsense2012
@xsense2012 2 года назад
If someone clicks on a video with this title and is bored with technical details, its their problem, 100%.
@DBFIU
@DBFIU 2 года назад
Keep doing good work Ange, this is what youtube was made for.
@AngeTheGreat
@AngeTheGreat 2 года назад
Thanks 🙏
@TheBanjoShowOfficial
@TheBanjoShowOfficial 2 года назад
Lol I dont understand a single fuckin thing you said here. I don't know how people become programmers, this shit is like Mandarin to me only I'd have better luck learning that. I can't speak robot.
@boris3320
@boris3320 2 года назад
RU-vidrs should stop being sorry each time math is involved.
@willianvinagre3338
@willianvinagre3338 2 года назад
That's an amazing project! I loved the video, even though I couldn't understand the mathematical stuff, it was still entertaining. Great job with your content, I think you should get more attention with how good your videos are made!
@AngeTheGreat
@AngeTheGreat 2 года назад
Thank you! Don't worry about not understanding the math immediately, I didn't either. It's one of those things where I had to really sit down and study it seriously before I understood. It's also why I didn't talk about it much in the video 😂
@sripradpotukuchi9415
@sripradpotukuchi9415 2 года назад
really cool engine! the sims with the rolling constraint look awesome, so the tedious math was totally worth it 😅 physics aside, i really loved the visuals. great job!
@AngeTheGreat
@AngeTheGreat 2 года назад
I knew as soon as I started this project that rolling constraints were gonna be a thing, no matter how painful it was haha... Thanks for watching and glad you enjoyed it!
@davidmc971
@davidmc971 2 года назад
RU-vid algorithm please! Your content is an absolute gold mine of well explained experience in technical topics!
@nyuh
@nyuh 2 года назад
Nice... Now rewrite it in Rust. JK... Unless...
@AngeTheGreat
@AngeTheGreat 2 года назад
Lol if enough people asked for it I'd do it
@bigthought6351
@bigthought6351 2 года назад
I don't understand why my English is week but you are explained is amazing 😃😃😃
@seesoftware
@seesoftware 2 года назад
What a madlad, obs didnt work, so he made his own version :D
@AJMansfield1
@AJMansfield1 2 года назад
Since you've implemented a general constraint system, would it be possible to directly constrain the system energy to what it "should" be, a la Lagrangian Mechanics?
@Skeffles
@Skeffles 2 года назад
These simulations look awesome! Can't wait to hear about the project you're making this for.
@AngeTheGreat
@AngeTheGreat 2 года назад
Thank you! The follow-up should be out within the next few weeks :)
@rednicstone3299
@rednicstone3299 2 года назад
The color scheme of the video is something you could work on. Dark themes can be hard to read but mixing different themes makes it worse. Worst offender is the PDF document which had a light color sceme (for some reason??)
@AngeTheGreat
@AngeTheGreat 2 года назад
I can understand the PDF being out of place (which also annoyed me but I couldn't really justify spending any more time trying to fix it) but I thought everything else used pretty consistent colors?
@grevel1376
@grevel1376 2 года назад
You got a new subscriber. I arrived to your channel by a reddit post with a link to your engine simulation video, and I guess now I'm binge watching all your videos. Amazing work man.
@eustoliafukuyo6481
@eustoliafukuyo6481 2 года назад
I started to learn Vim at one work experience (who used also Linux like I did privately) and managed to finally code only with Vim. Then I got mocked on my second work experience where they hate everything except the only one thing they use (Windows and just shortcuts in IDEs) and said that I know nothing and Linux is not for Professionals (It's the first time I saw such a dirty code in a company). It felt great to watch this video and seeing that Vim is used.
@ezzzzie
@ezzzzie 2 года назад
floored at the casual mention of a c++ mp4 capture software being created because obs was dropping frames
@AngeTheGreat
@AngeTheGreat 2 года назад
It's actually not that hard, I just used the same encoder used in OBS and did some basic thread synchronization to get it to work in real-time. Thanks for watching!
@ezzzzie
@ezzzzie 2 года назад
@@AngeTheGreat just the fact that you've given yourself all the prerequisite knowledge necessary to to look at up, and understand exactly how to implement it in your own project is still flooring me. you've like minmaxed for useful coding skills and creative problem solving. incredible stuff, great job, looking forward to your next upload!
@namitasarate4792
@namitasarate4792 2 года назад
This video is osm i want this code in detail please sir
@tamashamas6193
@tamashamas6193 2 года назад
That was incredibly well made thanks for the brain food
@vintyprod
@vintyprod 2 года назад
Oh god that first animation you showed triggered my rigid body dynamics ptsd No but this video is actual gold. Thank you for making this. I’m so glad I found it. Also, thank you for including some of the math.
@lylesloth1275
@lylesloth1275 2 года назад
subscribed, epic guy, likes learning things, good at sharing things, good at explaining, epic, video liked.
@neutron417
@neutron417 Год назад
The perfect intersection of Physics, Computer Science and Math
@thatgaming1940
@thatgaming1940 2 года назад
It's almost midnight I'm tired and I'm watching someone build a Physics Engine but then he drops the word "Jacobian" and my mind shoots awake for a few minutes.
@actuallydaneel
@actuallydaneel 2 года назад
every vid you make is just such a joy to watch, from the content to the editing it's just sublime. sincerely, good job.
@AngeTheGreat
@AngeTheGreat 2 года назад
Thank you, that means a lot to me! Glad you enjoyed it and hopefully I'll put out videos more consistently this year :)
@actuallydaneel
@actuallydaneel 2 года назад
@@AngeTheGreat honestly, consistency isn't something i care about. take it at your own time and i'll enjoy whatever you put out, whenever you put it out.
@marcus9157
@marcus9157 2 года назад
Awesome high quality video and explanation wise, I hope to see more content like this :)
@AngeTheGreat
@AngeTheGreat 2 года назад
Thank you! There will definitely be more content like this in the future :)
@unexpectedme9992
@unexpectedme9992 2 года назад
is this like a game and can i play it🙂🙂
@2fifty533
@2fifty533 Год назад
how did you actually render an image on the screen? graphics libraries like openGL are pretty confusing to me, the only experience i have is making shaders in glsl
@deotexh
@deotexh 2 года назад
Such a genius, ahhhhh, I'll probably never get there if I wanted to Good job for your hard work to have gotten to that point!
@PinkeySuavo
@PinkeySuavo Год назад
Watching such things makes me wanna learn programming but also makes me realize I am too dumb for such stuff. It's a skill I'd like to posses and code whatever I want, but I always failed when tried to learn programming. First time I tried I was around 14, then around 15, then around 19 (I had to cause of college). From time to time I did really simple projects, but always when I wanted to do something more complicated it was just too hard for me. I am too dumb for this shit. I felt like you had to have a really big knowledge in order to do some simple tasks. Really big effort for small results. It kinda annoyed me. Could I ask you what you do for a living? Programming game engines and doing/knowing all the numerical methods and so on are your hobby and you learn this by yourself, or it is related to your work? I am always amazed that some people are so smart and at once I am kinda sad that I am too stupid and lazy to do such things as well. Like brah, you use Jacobians in the code. I had this in my college and other stuff like that and I often wondered what the heck are such things. Later on, I came across a lot of things by myself and realised they are useful (e.g. derivatives). But Jacobians!?
@AngeTheGreat
@AngeTheGreat Год назад
What you don't see in my videos is the many years of failure and frustration that came before them. Even to this day, I don't find a lot of what I do easy and I know I have a lot to learn. I tried and failed throughout my teenage years to make interesting games or just any useful software in general and until recently most of my projects got little to no attention from anyone. I worked as a professional programmer for a few years but I've recently moved to working on video game development and RU-vid full-time. All of what you see on my channel was learned in my free time and was not at all related to my day-job. My suggestion to you is: don't give up and start as small as you can. Create some simple and complete programs before moving on to anything too challenging and overwhelming. Once you find something that you enjoy doing and start working at a pace that works for you, you'll find that it's much easier to motivate yourself and expand upon the project. Good luck to you and thanks for watching!
@PinkeySuavo
@PinkeySuavo Год назад
@@AngeTheGreat Yeah, I can imagine you went through a lot of work and frustration. I saw a video with time stamp called "This animation taked definitely too long" (or something like this) and I was like "holy shit, did he do this animation in his own 3D renderer?" When I watch such stuff I realise there is a lot of "behind the scenes" work and sometimes cannot even imagine how much had to be done. And that amazes me. That's why I am mainly fascinated - that you don't ever give up and just learn more, more and you keep going. Thanks for the tip. One of my problems is that at some point I get either too frustrated or too bored. I tend to switch my 'hobbies'. I do what is interesting for me at one point. I cannot really stick to one thing. In the result I know a little bit of everything but nothing besides that. But then I come across a person like you and you know maths, programming, Blender, game dev, video edition. That's amazing. I can do only basic stuff in all of these. But I bet you spent a lot of time learning all of this. I recently tried to learn Blender and barely spent 2-4 hours a week. Maybe that's my problem - I am too lazy to get to work. When I actally open Blender or code editor and have some idea I can get drawn in for long hours. But most of the days I prefer to do lazy stuff or read about chimpanzees or something interesting for me in a given moment. Besides laziness there is the frustration. I remember trying to code a JPG to ASCII converter. Sounded simple - just load an image, get pixels values, calculate grayscale value and put out characters in a notebook. But simple things such as loading image was actually hard. I had to use some libraries to do it easily (I thought it can be done without it as I felt it's kind of 'cheating'). I very often realised that some stuff is much harder than I thought or I didn't understand the code at all. It happens same for me in Blender. I get frustrated when something doesn't work or works different than I want. Not understanding things frustrate me. Ended up writing kinda messy comment, but TL;DR: I am sometimes too lazy/too bored/interested in too many random things at once/too frustrated to make my learning efficient. And that's why I am amazed that you just keep going but you also can do several things at such good level. Thank you for the tips and also good luck with the channel, you're doing great job.
@ari-man
@ari-man Год назад
​@@AngeTheGreatThank you for your humbleness. I'm very dumb, but I still hope I can make great projects like you.
@isaacenquist
@isaacenquist Год назад
You can try using a symplectic integrator such as velocity verlet to increase numerical stability so that the energy/system does not diverge over time.
@kdashi5747
@kdashi5747 2 года назад
I'd love to see a video about your Vim setup!
@erdavtyan
@erdavtyan 2 года назад
Are there any books on coding nature / physics simulations that you’d recommend? I know the Nature of Code book, but it’s a bit too simple, I am looking for something more advanced.
@MrLP10o
@MrLP10o 2 года назад
Dude, elaborate on the math part! It is nice to see the theory I've learned in University applied to create a physics engine! A video on the math explanation would be awesome
@Kiake
@Kiake 2 года назад
"And just having this is gonna get me millions of views" - 31 gen 2022 me now: 👁👄👁 *Still waiting*
@gavinscience4146
@gavinscience4146 2 года назад
“OBS was really annoying me, so I just *made my own*” “What?” “You heard me”
@skywalker778
@skywalker778 2 года назад
Lmao! I have like a very similar Vim configuration... Also using fuzzyfind etc
@cameleon5724
@cameleon5724 2 года назад
Endless enigmatic book in all languages. You can write a book with mirrors in all languages of the world. You can speak two languages at once, you just need to find the perfect reflection, same content, different translation. Infinite Mirrors. Pi 3.14 XBooks. Hybrid language!!!!!!!##!!!!!!!!!!
@theastuteangler
@theastuteangler 2 года назад
probably the best video on programming I've seen
@IlangoM-g9z
@IlangoM-g9z 7 месяцев назад
Hi Ange, good to see this informative content, at 7:30 you are try solving the Lagrangian multipliers using Baumgarte Stabilization technique, can you suggest me any other method/material for solving the Differential Algebraic Equations?
@crystalfire6677
@crystalfire6677 6 месяцев назад
Trying to apply a rolling constraint by using the equation s = r * theta, where s measures the distances rolled by the roller. The derivative of this equation in the jacobian matrix blows up due to a zero in the denominator ... :(
@cameleon5724
@cameleon5724 2 года назад
One content, two languages. What I have now written may have a perfect mirror in another language.!!!!!!!!!!!!!!!!!!!!!
@novidtoshow
@novidtoshow 2 года назад
Great work! Just a small nit, here... There are many ways to discretise the vector system: dx/dt = f(x,t) 1 - LHS: -------------- First, we can discretise the lefthand-side using the base definition of the derivative: dx/dt = (x(t+dt) - x(t) )/dt This one-side difference is the part they call "Euler". It's first order accurate, with errors being proportional to dt^2. 2 - RHS: -------------- Where in time you choose to evaluate the RHS is also important. The Forward-Euler method evaluates the RHS at t=t, thus: (x(t+dt) - x(t))/dt = f(x,t)
@somedude8240
@somedude8240 2 месяца назад
When making this can you put it into your own game? How would you do that? And would this go towards all objects in game? Even if it was 2d
@LakaiSkateForLife
@LakaiSkateForLife Год назад
FYI you showed explicit Euler integration which is very unstable. Look up symplectic Euler, which is a one line of code change which will make your simulation both more accurate in terms of conserved quantities and vastly more stable at large time steps
@user-uk9er5vw4c
@user-uk9er5vw4c 2 месяца назад
1:27 He: "and the math behind them (force generators) is pretty straighforward" Me: I don't believe that
@Jack_in_the
@Jack_in_the 2 года назад
only this man would get annoyed at OBS lagging and decide "fuck it i'll do it myself"
@QwertyIsCool
@QwertyIsCool Год назад
Him: gets very slightly annoyed at his computer "So i made my own"
@tensevo
@tensevo Год назад
why is it? there are hours long videos, that should be 11 mins, meanwhile, 11 minute videos that should be hours long......
@tamp1o
@tamp1o 2 года назад
Holy hell this is one of the greatest videos I have seen, especially for your sub count. These are better than my uni degree!
@Chillycloth
@Chillycloth 2 года назад
Wow man, that's Kool
@physicist1994
@physicist1994 2 года назад
One of the most underrated channels on youtube. Subscribed immediately with notifications on. Best wishes.
@lukahanzek4583
@lukahanzek4583 4 месяца назад
10:30 Is friction included in the interaction between the circle and the plane it's sitting on? Like how does circle rotation change direction? How does angular velocity of the circle affect the energy of the system?
@ttrss
@ttrss 2 года назад
Guy went from memory leaks to energy leaks.
@ttrss
@ttrss 2 года назад
This guys stuff is actually really impressive tho ngl :)
@punpcklbw
@punpcklbw 2 года назад
Have you been investigating into adaptive time step simulation? I'm trying to implement a continuous time model that would conserve impulses and energy of a system, but update forces only when needed to keep integration errors within a chosen tolerance. I would be grateful for any advice or material on that.
@Norman_Fleming
@Norman_Fleming Год назад
I think you may have broke my brain with this one. However. The fact you made a video encoder cause you needed one to record the video. Casual flex ;)
@JoBot__
@JoBot__ 2 года назад
This is pretty much my favorite kind of content.
@AlexFlorias
@AlexFlorias 2 года назад
In the best way you’re content reminds me of those calming sessions in college studying on khan academy. Some things go over my head but your approach is so cool to watch, your content is criminally slept on!’
@shriganeshank8955
@shriganeshank8955 Год назад
But Physics is imcomplete by quatum mechanics , then how did you do that it will inaccurate or may be wrong, note that!🤔
@ceejeiblu7142
@ceejeiblu7142 2 года назад
Anyone know what version of soft soft he's using? Like do I have to buy the $200 version for the stuff in the video or is the $100 dollar
@Noliv3
@Noliv3 2 года назад
know you all who are passionate about making soft have the exact sa capacity I do to learn tNice tutorials software. So go do what you love,
@sergiaguilar1
@sergiaguilar1 Год назад
"I'm not an expert" bro just built a pyshics engine
@iarde3422
@iarde3422 Месяц назад
How about adding this mechanical simulation to FreeCAD?
@rafaellisboa8493
@rafaellisboa8493 2 года назад
awesome video, I LOVE the mathematical explanations, differential equations are my passion.
@timecubed
@timecubed 2 года назад
This makes me really want to learn C++. But, alas, I am only a mere mortal. Good video though!
@rinav5684
@rinav5684 8 месяцев назад
What are you using for those graphics though?... very newbie, please help me out
Далее
My Dumb Steam Game Got 90,000 Downloads in 30 Days
14:14
how NASA writes space-proof code
6:03
Просмотров 2,2 млн
I programmed some creatures. They Evolved.
56:10
Просмотров 4,2 млн
Simulating an Entire Car Engine (yes, it makes noise)
12:04
I'm Coding an Entire Physics Engine from Scratch
9:19
I Designed My Own 16-bit CPU
15:46
Просмотров 2 млн