/gpu_particles

Simple C + OpenCL + Python (with Python-Ogre) implementation of N gravitationally interacting particles (plain N-body simulation)

Primary LanguagePython

gpu_particles

A simple python (with python-ogre) + C + OpenCL (GPU/CPU) implementation of simulation of gravitationally interacting particles. Supports Linux and Windows (with ports of gcc & make).

Requirements

How to run

make && main.py (press [Enter] to start/stop simulation; use mouse/[+]/[-] to change point of view)

screenshot