A real-time collision detection simulator using the Separating Axis Theorem (SAT) with Minimum Translation Vector (MTV) visualization.
Includes random convex shape generation via Valtr’s algorithm, and GLSL-based gradient rendering for a clean, modern visual experience.
Visualization of SAT collision detection with GLSL gradients and random convex polygons from the engine.
- Convex polygon collision detection using SAT
- MTV (Minimum Translation Vector) visualization
- Random convex shapes generated via Valtr’s algorithm
- GLSL shaders for smooth color gradients
- Clean, minimal UI and intuitive controls
- Built with C++17 and SFML
- C++17 or newer
- CMake 3.10+
- SFML 2.6+
- OpenGL
git clone https://github.com/bartekldw/sat_collision.git
cd sat_collision
mkdir build
cd build
cmake ..
make
./sat_collisiongit clone https://github.com/bartekldw/sat_collision.git
cd sat_collision
mkdir build
cd build
cmake ..
cmake --build . --config Release
./Release/sat_collision.exeThis project is licensed under the MIT License.