Home

Drag to rearrange sections
Rich Text Content

GravitON aka Gravitation of N-Bodies in Python aka VPython based N-Body Gravity Simulator Homepage

 

This project is the result of an AP Physics B final project in 2013 where I had to demonstrate knowledge of an area of physics in a creative project.

This simulator is fully customizable, open source, heavily commented, and beginner ready. It is designed to allow access for students to begin in using python/vpython/CUDA programming more frequently and with more ease, while creating interesting visualizations.

With a small enough timestep this may eventually become useful beyond the scope of teaching people qualitatively.

Dependencies

 

This application uses VPython and Numpy (which should be included with VPython, but is downloadable with sudo easy_install numpy or here)

I call pyCUDA in hopes of future nVidia gpu-based calculation, but this is not used at this time and can be commented out if the library is not installed.

PyCUDA is available here, and requires Boost, CUDA > 2.0, and Numpy > 1.0.4

rich_text    
Drag to rearrange sections
Rich Text Content
rich_text    

Page Comments