This simulator computes all possible intersections, then checks which of those possible intersections is soonest to occur, and does some checks, the simulator then runs for time for enough time for the collision to occur. Once the intersection occurs, the whole process runs again.
The idea is that CUDA allows this to go very fast, by computing a lot of data in parallel (all segments and intersections), this method of simulation is very presice as intesections are computed analitically, not in steps.
The general arch is in architecture.md.
- Colliding balls: An explanation for the basic idea, but without much implementation info.
- EasyBMP: EasyBMP is an easy to use library to generate BMP images with a simple structure to prototype any project with image generation requirement.
- cuda-api-wrappers: Thin, unified, C++-flavored wrappers for the CUDA APIs