Oh... my... god... You destroyed me with your last project. This is really fantastic... I've want to repeat most of these projects. Wow you are really cool !
Is it just me or does anyone else find sorting algorithm visualizations to be beautiful? Especially bubble sort, even though it's the slowest, I think its visualization was the most beautiful.
Thanks, I am so happy that my project inspired you :) I am currently writing new similar traffic simulator but 3d version. It takes a lot of time because I am new to 3d graphics programmimg.
@@lutrarutra4439 Hey dude this is all super impressive. I'd like to make this much progress in the same span of time aswell. My question to you is how did you figure out how to do everything?? For example I get stuck just researching how to do one thing and it will take me hours to find the solution. Do you often have the same problem? How in the world did you progress?
@@Rakesh-yu1pb Well, I already had some programming experience in other languages, so it wasnt from 0. Smfl has a great documentation and it was pretty easy to learn it. Start from something small and progress from there with small steps. That way you wont get stuck on huge problems that will take months to learn.
I am beggining now with SFML (started 2 days ago and already made a space invaders look a like) and was like, damm nice projects, not that hard but cool stuff. And then you hit me with that traffic sim wtf. Very cool programm. Congrats
@@lutrarutra4439 I like these type of Video, not a complex game yet more useful! something like wire world (just like the traffic simulator But simpler), water physics ( like water stream But 2D) stacked graph bars which shows the animation of increasing and decreasing over time/unit I think thats all in my mind for now, i will try to suggest more later. between i couldnt share your Channel more But i playlist your Video 😅.
I saw these projects from coding train. Exept last one and first one. But I think you are good at this. I think you wrote algorithms, Coding train gives you an idea?
For C++, I watched Cherno on TH-cam. He has amazing in depth C++ series. For SFML I used their documentation as well as their public discord to ask questions.
very inspiring, im trying to pickup sfml by making my own sorting algorithm showcase program as my first program, got any tips or tutorials you could share?
You can find the pseudo code for all of the algorithms in wikipedia and it's easy to write in it Python. The hardest part of this kind of project is to visualise the updates (moving the bars), especially for recursive algoritms. Some of the recursive sorting algorithms can be turned into iterative algoritmhs though which are easier to visualise.
@@lutrarutra4439 aye, thanks for the reply. i have already finished that project and implemented two sorting algorithms (bubble and quicksort). it runs good enough for me and it was a great way to get into SFML and making my own classes and stuff i'm thinking about making a tic-tac-toe game with a twist next
You can imagine the nodes (dots) as cities. A traveling salesman needs to visit every city but he also wants to save fuel and therefore needs to plan his route to be as short as possible. Finding the shortest possible path is the "Traveling salesman problem". If you increase the number of nodes (cities), finding the shortest path becomes very heavy problem. :)
@@lutrarutra4439 Yes but isn't it possible to just instantly show the shortest route? Or does it program have to do that? And, would you be able to determine the shortest route visually? I'm just wonder.. hehe. thanks
@@lutrarutra4439 Yes but isn't it possible to just instantly show the shortest route? Or does it program have to do that? And, would you be able to determine the shortest route visually? I'm just wonder.. hehe. thanks
@@lutrarutra4439 Yes but isn't it possible to just instantly show the shortest route? Or does it program have to do that? And, would you be able to determine the shortest route visually? I'm just wonder.. hehe. thanks
Just someone who is struggling intergating deariampui in my codebase, where should i start I have no pervious knowledge of integration of other lib in my codebase, what do you suggest me? I'm intermediate in c++ sfml by source integration is ok with me but deariamgui nope I think I need more exp to do handle that, any tutorials/blogs you recommend me to get started?
How did you do the double pendulum? Does it have a real time integrator? I've been trying to do just that for a long time and don't really know how to manage the buffers. Could you make a tut on that please?
Hi, it's been a long time so I can't remember specific steps but you need to derive angluar velocity from forces. Maybe this page can help: www.myphysicslab.com/pendulum/double-pendulum-en.html
@@lutrarutra4439 I know the math, I've been doing physics and maths for such a long time. What I can't do is the programming. Specifically how to code the frame buffers and how to update the buffers in real time. I could calculate the trajectories and store it in a file(what I am used to doing a lot) and then animate it, but I want to code it real-time, as the calculation is going on. Any idea on how to do that?
@@rajatmond Hey, sorry if its kind of late. I don't know if this could achieve the effect you're looking for, but it may be useful. Between each frame, most graphic libraries that i know of calculate and then store a deltaTime variable. You could use it to scale the forces accordingly to the time span between each two frames. That way the calculations show accurate results independently of framerate.
Yes, they are! I personally prefer to learn coding with soing something visual and I think that it's really an interesting way to learn about different algorithms.
Haha, not flexing xd You can see that the code is poorly commented and pretty ugly and it's fun challenge to see what you can do in a night. These programs are only like 100-200 lines too.
@@lutrarutra4439 It is amazing what can be accomplished in what feels like a small program. 100-200 lines feels like to me something couldn't be super complex, yet it can/ does/ and is. I'm currently in an intro to AI class and we recently covered A*. It's fascinating how it works in what feels like not many lines. The thing I'm excited to do is make a chess game with an AI that can hopefully beat the average player. It'll take time to get it going well, but it will be a fun challenge. Keep up the good work. Once I understand SFML a bit better, I'll have to try some of these or similar ones. A physics simulator is always cool to see.
@@_DarkKnight2301_ thanks :) I have been getting into chess lately and have thinked about chess bots too. I recon that easiest way to go here would be teach neural network all legal moves and then just let it train against itself. I think, it shouldn't be too hard to beat an average player. Good luck!
@@lutrarutra4439 @lutrarutra Thanks! A neural network was one I was thinking about attempting. However, I'm going to try for miniMax with alpha beta pruning along with some other tricks to speed it up. Though once I get the base game down, I could always try a neural network another time when I understand the concept a bit better. Good luck in your future coding adventures. May the code you write do what you want it to do on the first try lol
Oh... my... god... You destroyed me with your last project. This is really fantastic... I've want to repeat most of these projects. Wow you are really cool !
И как? Удалось что-то того же уровня? Просто интересуюсь, никаких претензий
@@ddln785 ну, с лабиринтом все очень просто
@@arsIsv Класс, все отвечают спустя год (да, я тоже)
Is it just me or does anyone else find sorting algorithm visualizations to be beautiful? Especially bubble sort, even though it's the slowest, I think its visualization was the most beautiful.
That traffic sim is so fking cool! Nice work dude. Sub'd.
Thank you! :)
@@lutrarutra4439 Just curious, where are you at now after about 2 years since??
That's really great work! Some of these things are still on my list to write one day as well...
Thank you! :)
This progress is inspiring. The traffic sim looks very polished! Will definitely use it as a reference when I try to create another kind of simulator
Thanks, I am so happy that my project inspired you :) I am currently writing new similar traffic simulator but 3d version. It takes a lot of time because I am new to 3d graphics programmimg.
@@lutrarutra4439 Hey dude this is all super impressive. I'd like to make this much progress in the same span of time aswell. My question to you is how did you figure out how to do everything?? For example I get stuck just researching how to do one thing and it will take me hours to find the solution. Do you often have the same problem? How in the world did you progress?
@@Rakesh-yu1pb Well, I already had some programming experience in other languages, so it wasnt from 0. Smfl has a great documentation and it was pretty easy to learn it. Start from something small and progress from there with small steps. That way you wont get stuck on huge problems that will take months to learn.
@@lutrarutra4439 That's all I need, thanks for uploading and replying.
I didn't even imagine doing so much amazing things in such a short time period
This is the kind you video that keeps me motivated at studying C++
Hell yea, keep going! :)
double pendulum is so fascinating
Casual Euler's identity in the background
Oh my, the Traffic Sim is so cool! Now I also want to do something like this!!
Thanks :) Traffic sim is really simpler than you think it is if you limit yourself to rectangular grid system and 2d world. Go for it!
The 2D traffic simulator looks amazing! I'm definitely going to have a go at it. Wish me luck
Good luck :)
how did it go?
@@mychemicalmods5412 got depressed, never started and gave up on game dev :(
I recently got back into game dev
Your projects are so cool man, keep up with the great job. This last one is awesome.
I am beggining now with SFML (started 2 days ago and already made a space invaders look a like) and was like, damm nice projects, not that hard but cool stuff. And then you hit me with that traffic sim wtf. Very cool programm. Congrats
Hey checking on you after 1 year ....how is your work going ?
Where are you now? 😂
One video uploaded 4 years ago. But it was great and still😊
Traffic simulator is so cool, great work
Amazing work! Love the creativity in each of the projects!
2D Traffic Simulator - WOW :-)
Thank you! :)
Traffic sim was so impressive
Thank you man! :)
your custom map builder is so cool, id wish to find some tutorials about coding something like this
Honestly, most of the best work you can do is gotten from finding a paper, or looking on wiki, or reading books about the subject.
@@thepurplepanda4 or reading other peoples code who made one
That’s super cool!
Amazing
2:59 2D traffic simulator - custom map builder
Great work mate
wow I really enjoyed this video
very cool in algorithms
Simply fantastic... JOB very well DONE...
Nice, thank you so much for sharing these :)
Is it only video on TH-cam that doesn’t have any dislike?
It's very interesting and cool )
Thanks! :)
very cool!
keep going you are talented
looks litt!
0:10 I also watch blackpenredpen!
awesome bro, keep that good work
Good work!
Thanks!
i think all the projects apart from traffic sim is inspired from the coding train
awesome
what about showing more, your video is *visually* satisfying :)
Thanks :) What do you want to see more?
@@lutrarutra4439 I like these type of Video, not a complex game yet more useful!
something like
wire world (just like the traffic simulator But simpler),
water physics ( like water stream But 2D)
stacked graph bars which shows the animation of increasing and decreasing over time/unit
I think thats all in my mind for now, i will try to suggest more later.
between i couldnt share your Channel more But i playlist your Video 😅.
wow
I saw these projects from coding train. Exept last one and first one. But I think you are good at this. I think you wrote algorithms, Coding train gives you an idea?
Yes! Some of the ideas are from coding train :) The last project was for University C++ course.
Where are u upload some more ☺️
This so impressive, You learned sfml all by yourself (with documentation and tutorials)?
SFML is easy to learn, because SFML team themselves provide good materials
Pretty much by myself yeah! :) The documentation is great and also they have a helpful discord community.
@@lutrarutra4439 hey may I join the discord community
@@lutrarutra4439 hey may i join the discord community
@@lutrarutra4439 hey may i join the discord community
Great Work!! . Do you watch coding train videos?
Yes! Some of the ideas are from there :)
what the resources you learn from them :)
For C++, I watched Cherno on TH-cam. He has amazing in depth C++ series. For SFML I used their documentation as well as their public discord to ask questions.
@@lutrarutra4439
Have you used any TH-cam videos? They are very few and because of that I will move to QT ,Do you advise me to do that?
@@mohammedbenkaddour-x2y Yes, Cherno's C++ is really good. th-cam.com/play/PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb.html&si=jnsNZyjKIjeoWn_a
hello may you reply i am facing some issue in traffic simultion program
what's the problem you are facing? :)
very inspiring, im trying to pickup sfml by making my own sorting algorithm showcase program as my first program, got any tips or tutorials you could share?
You can find the pseudo code for all of the algorithms in wikipedia and it's easy to write in it Python. The hardest part of this kind of project is to visualise the updates (moving the bars), especially for recursive algoritms. Some of the recursive sorting algorithms can be turned into iterative algoritmhs though which are easier to visualise.
@@lutrarutra4439 aye, thanks for the reply. i have already finished that project and implemented two sorting algorithms (bubble and quicksort). it runs good enough for me and it was a great way to get into SFML and making my own classes and stuff
i'm thinking about making a tic-tac-toe game with a twist next
and here i cant even get it setuip
Could anyone explain to me the traveling salesman thing?
You can imagine the nodes (dots) as cities. A traveling salesman needs to visit every city but he also wants to save fuel and therefore needs to plan his route to be as short as possible. Finding the shortest possible path is the "Traveling salesman problem". If you increase the number of nodes (cities), finding the shortest path becomes very heavy problem. :)
@@lutrarutra4439 Yes but isn't it possible to just instantly show the shortest route? Or does it program have to do that? And, would you be able to determine the shortest route visually? I'm just wonder.. hehe. thanks
@@lutrarutra4439 Yes but isn't it possible to just instantly show the shortest route? Or does it program have to do that? And, would you be able to determine the shortest route visually? I'm just wonder.. hehe. thanks
@@lutrarutra4439 Yes but isn't it possible to just instantly show the shortest route? Or does it program have to do that? And, would you be able to determine the shortest route visually? I'm just wonder.. hehe. thanks
Like visually, without using the program. Just by looking at it yourself. I'm just wondering if u could identify that as well
Hi!. How did you make GUI of traffic Simulator? Is it only SFML/C++?
It's ImGui C library, pretty cool!
Just someone who is struggling intergating deariampui in my codebase, where should i start I have no pervious knowledge of integration of other lib in my codebase, what do you suggest me? I'm intermediate in c++ sfml by source integration is ok with me but deariamgui nope I think I need more exp to do handle that, any tutorials/blogs you recommend me to get started?
Hi, I have a template project for this. I am not sure how up to date it is but you can try it: github.com/lutrarutra/SFML-Project-Template
did you learn sfml by yourself, e.g. using books, documentations, tutorials?
Learned SFML mostly by reading documentation, but also couple videos to get going. SFML discord was also helpful!
@@lutrarutra4439 i wish to get started with sfml ? Any tips from where to start and how to start
Turning left on roundabout?
Yep, you can flip all roads and pretend you are in the UK :)
How did you do the double pendulum? Does it have a real time integrator? I've been trying to do just that for a long time and don't really know how to manage the buffers. Could you make a tut on that please?
Hi, it's been a long time so I can't remember specific steps but you need to derive angluar velocity from forces. Maybe this page can help: www.myphysicslab.com/pendulum/double-pendulum-en.html
@@lutrarutra4439 I know the math, I've been doing physics and maths for such a long time. What I can't do is the programming.
Specifically how to code the frame buffers and how to update the buffers in real time. I could calculate the trajectories and store it in a file(what I am used to doing a lot) and then animate it, but I want to code it real-time, as the calculation is going on. Any idea on how to do that?
@@rajatmond Hey, sorry if its kind of late. I don't know if this could achieve the effect you're looking for, but it may be useful.
Between each frame, most graphic libraries that i know of calculate and then store a deltaTime variable. You could use it to scale the forces accordingly to the time span between each two frames. That way the calculations show accurate results independently of framerate.
I see many ideas are from coding train. Do you think its a good idea to watch how daniel codes something and do the same but on c++ to learn coding?
I mean i want to do the same. I think its a really good idea
Yes, they are! I personally prefer to learn coding with soing something visual and I think that it's really an interesting way to learn about different algorithms.
@@lutrarutra4439 k thanks
You think that's something? I make a tic tac toe game, beat that.
wtf
Most written in one evening. Weird flex, but okay
Haha, not flexing xd You can see that the code is poorly commented and pretty ugly and it's fun challenge to see what you can do in a night. These programs are only like 100-200 lines too.
@@lutrarutra4439 It is amazing what can be accomplished in what feels like a small program. 100-200 lines feels like to me something couldn't be super complex, yet it can/ does/ and is. I'm currently in an intro to AI class and we recently covered A*. It's fascinating how it works in what feels like not many lines.
The thing I'm excited to do is make a chess game with an AI that can hopefully beat the average player. It'll take time to get it going well, but it will be a fun challenge.
Keep up the good work. Once I understand SFML a bit better, I'll have to try some of these or similar ones. A physics simulator is always cool to see.
@@_DarkKnight2301_ thanks :) I have been getting into chess lately and have thinked about chess bots too. I recon that easiest way to go here would be teach neural network all legal moves and then just let it train against itself. I think, it shouldn't be too hard to beat an average player. Good luck!
@@lutrarutra4439 @lutrarutra Thanks! A neural network was one I was thinking about attempting. However, I'm going to try for miniMax with alpha beta pruning along with some other tricks to speed it up. Though once I get the base game down, I could always try a neural network another time when I understand the concept a bit better. Good luck in your future coding adventures. May the code you write do what you want it to do on the first try lol
Omg. What are of science is this? Computer science? Game development????
It's a bit of both; writing algorithms and visualising them is CS, but it's part of game development too!