filmov
tv
Simple 2D Particle Simulation C++
![preview_player](https://i.ytimg.com/vi/yioe43sb_m8/sddefault.jpg)
Показать описание
500,000 particles. Written in C++ and OpenGL. All the calculations are done on the CPU. I only used OpenGL to display the resulting 2D image. It runs on a single thread. No SIMD. Nothing fancy. The CPU used here is Intel i5 4670k running at about 4.1GHz .
It's not an accurate simulation of anything. The math I used is kinda wack.
I think the little anomaly at the end of the video is due to Windows thread switching.