Skip to content

Pascal-So/asteroid-gliders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asteroid Gliders

This is my attempt at implementing something like the system mentioned in this tweet.

Dependencies

SFML for rendering and window.

Boost Filesystem for checking for existing files in the image output directory.

Eigen3 for some code that doesn't do anything yet, but will do soon.

Usage

Try the following keys:

  • r to regerate with next seed
  • shiftr to regenerate with previous seed
  • t to plot the trajectories (default)
  • g to plot the gravitational field
  • s to save image to disk
  • q to quit

Building

mkdir build
cd build
cmake ..
cmake --build .

Some results

Image generated by code in this project Image generated by code in this project Image generated by code in this project Image generated by code in this project Image generated by code in this project Image generated by code in this project

This project is obviously not bug-free. Bug

About

Drawing some lines

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published