A particle simulation as a way to learn about C++ and OpenGL.
Used ChatGPT and Claude for learning and debugging C++, and to help me setup and create a github workflow
A particle simulation as a way to learn about C++ and OpenGL.
Used ChatGPT and Claude for learning and debugging C++, and to help me setup and create a github workflow
🔥 AVD marked your project as well cooked! As a prize for your nicely cooked project, look out for a bonus prize in the mail :)
Created a build file for all operating systems with the help of Claude.
Log in to leave a comment
I built a really simple particle simulation that includes verlet integration and gravity, however this was a means for me to learn about C++ and OpenGL. In the future I will be creating a fluid simulation, and using this experience as a guide. Thank you, I know this isn’t really demoable, but pls see the videos in my journals if you want to see the demos. THANK YOU
Updates:
Log in to leave a comment
Updates:
P.S. Dont know how I have 1 hour on this?
Log in to leave a comment
Log in to leave a comment
Log in to leave a comment
Updates:
Next Steps:
Log in to leave a comment
Added gravity acceleration. The particle is now filled and is bounded by the screen size, moreover added mouse mode where the particle follows the mouse. The particle is attracter to the center of the screen.
Log in to leave a comment
As this was my first time using C++ or any language that goes directly for compiling, I had to learn about the tasks.json files, and C++ syntax and how everything works (classes, variables, pointers, etc). And this was my first time using OpenGL, I had to set it up and other libraries and dependencies. After I got the hang of everything, I made a triangle, and then tried to implement my own particle class. Eventually I drew a circle with velocity.
Log in to leave a comment