Barnes-Hut gravity simulation.
git clone git://
Log | Files | Refs | README | LICENSE

DateCommit messageAuthorFiles+-
2017-10-15 23:16Don't use gprof for profilingAmin Mesbah1+12-12
2017-08-08 00:25Update Visual Studio project fileAmin Mesbah1+2-2
2017-08-05 17:37Rename main simulation files to sim.c / sim.hAmin Mesbah5+371-371
2017-08-05 10:20Add ability to zoom in and out.Amin Mesbah4+106-75
2017-08-05 10:19Add Vim keybindings.Amin Mesbah2+6-5
2017-08-05 08:28Add the ability to pan.Amin Mesbah4+102-22
2017-08-05 07:40Add simulation bounding box.Amin Mesbah4+160-20
2017-07-30 08:27Release version 0.1.0.Amin Mesbah1+15-8
2017-07-30 08:18Add Visual Studio 2017 files.Amin Mesbah6+212-2
2017-07-30 05:26Clean up and minimize #includes.Amin Mesbah8+27-28
2017-07-29 23:25Move sim state related code out of platform layer.Amin Mesbah3+101-43
2017-07-27 04:27Move source files into src/.Amin Mesbah9+3-2
2017-07-27 04:09Extract SDL-specific code to a platform layer.Amin Mesbah6+512-452
2017-07-27 04:01Split star and barnes_hut into .c and .h files.Amin Mesbah5+284-257
2017-07-29 23:22Add todo command to makefile.Amin Mesbah1+7-1
2017-07-10 04:52Use gprof for performance profiling.Amin Mesbah2+9-3
2017-07-10 04:39Fully implement the Barnes-Hut algorithm.Amin Mesbah3+104-159
2017-07-09 18:14Add ability to pause/unpause with the p key.Amin Mesbah1+16-4
2017-06-17 05:40Fix center-of-mass calculation.Amin Mesbah1+10-7
2017-05-25 01:14Add options to make testing more convenient.Amin Mesbah2+65-16
2017-05-15 07:08Add a 'virtual star' for each cell.Amin Mesbah2+77-7
2017-05-15 06:45Enable toggling of trails with 'T' key.Amin Mesbah1+21-17
2017-05-14 07:32Store stars in quadtree. Update cells internally.Amin Mesbah2+130-21
2017-05-14 07:21Enable grid toggle with `G` key.Amin Mesbah1+18-3
2017-05-13 21:06Modify functions to take a pointer to the buffer.Amin Mesbah1+15-17
2017-05-12 21:03Fix invalid reads and frees in quadtree.Amin Mesbah3+106-69
2017-04-25 06:11Update readme with Barnes Hut gif.Amin Mesbah1+11-0
2017-04-25 05:40Switch to C.Amin Mesbah6+426-383
2017-04-20 20:09Add Barnes-Hut partition grid overlay.Amin Mesbah2+161-56
2017-04-19 17:55Adjust settings so 'galaxies' form.Amin Mesbah2+3-3
2017-03-27 18:40Add define options.Amin Mesbah2+23-11
2017-03-24 00:37Add gravity related physics.Amin Mesbah5+422-358
2017-03-23 20:38Rename Particle to Star.Amin Mesbah1+40-40
2017-03-23 04:15Add readme.Amin Mesbah1+5-0
2017-03-23 00:03Remove unix-specific function calls.Amin Mesbah1+15-41
2017-03-18 21:37Switch to black and white colors.Amin Mesbah2+50-43
2017-03-18 06:48Loop screen. Add solarized colors.Amin Mesbah1+98-20
2017-03-18 00:30Move a single particle across the screen.Amin Mesbah4+326-0