neuton / gpu_particles

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:Python 55.5%Language:C 40.3%Language:Makefile 4.2%