A simple particle simulation program, where we can define the behaviour of each particle type in realtime.
First, let's install SDL2:
- Go to the SDL repository and download the latest SDL2 release: Make sure you download the Visual C++ version of this library
The zipfile will look like this:
SDL-[version]-VC.zip
- Next, extract the zip file and place it in your 'C' drive, such that the
inlcude
andlib
folders look like this:C:/GL/SDLbin/include
,C:/GL/SDLbin/lib
- Run the
buildsolution.bat
file and it will generate a.sln
(solution file) for you. - Double click on the solution to open it in Visual Studio.
- Press F5 to build and run.
Pythonic implementation of this project is here.
Feel free to contribute to the project by creating an issue here if any problem is faced.