A 2D wave simulation program using the discrete wave equation. Mainly in C++, with a small CUDA section. Uses CMake and SFML graphics.
wave.mp4
Features different methods for calculating each frame for different systems and to compare performance optimizations. GPU acceleration increased speeds by 39x compared to threaded CPU computation. (RTX4050 vs Ryzen 7 8845HS)
- Compiler Automatic Parallelization (CPU)
- CUDA (GPU)