Previously the whole program was single-threaded, leading to any point of weakness affecting everything else / performance issues slowing rendering / slow rendering slowing simulation, etc.
In this pull request, the simulation loop has been split off into its own thread. The simulation has also been made interactive.
It's probably a very bad example of a pull request because it makes changes to essentially every aspect of the (admittedly small) program which would cause a lot of issues if anyone else were working on the code.
Previously the whole program was single-threaded, leading to any point of weakness affecting everything else / performance issues slowing rendering / slow rendering slowing simulation, etc.
In this pull request, the simulation loop has been split off into its own thread. The simulation has also been made interactive.
It's probably a very bad example of a pull request because it makes changes to essentially every aspect of the (admittedly small) program which would cause a lot of issues if anyone else were working on the code.