hunar4321 / particle-life

A simple program to simulate artificial life using attraction/reuplsion forces between many particles
MIT License
3.01k stars 298 forks source link

migrating to openGL 4.3 and other various breaking change #81

Closed ker2x closed 1 year ago

ker2x commented 1 year ago

For some time now, I'm considering the idea of a few options :

Any opinion on this @hunar4321 ?

hunar4321 commented 1 year ago

Hi @ker2x

Great ideas. The current code is easy to follow and understand (it matches the tutorial video) and we can leave it that way for the educational purposes. If you are planning on some big refactoring and breaking changes, the following options are better:

If you create another C++ directory inside the same project, I'll gladly accept your pull request. Also, if you prefer to create another project entirely. I can add a link to your new project in the readme section as another C++ port. Do whatever you think is better.

Also, I'm sorry for not contributing to the code much lately because I have been busy with some other tasks.

Thanks again for the nice work

Edit: rewriting the whole C++ part with another framework is also an option if you think you can make the code less bloated and maintain the readability.

Cheers

ker2x commented 1 year ago

I'll create another directory inside the project then. I'll keep dependencies to a minimum to make it easy to compile & run.

The rationale is quite simple :

ker2x commented 1 year ago

I think I'll give a try to https://github.com/LukasBanana/LLGL

hunar4321 commented 1 year ago

I think I'll give a try to https://github.com/LukasBanana/LLGL

And for the GUI I suggest: https://github.com/ocornut/imgui It is nice and easy to use

ker2x commented 1 year ago

yes, I didn't even consider using anything other than dear imgui :)