Skip to content

A Visualisation of N-body Gravitational body system in OpenCV using C++ and OpenMP parallelization

License

Notifications You must be signed in to change notification settings

sanjeev309/n-body-opencv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

N-body simulation in OpenCV

A visualisation of N-body physics in C++ using OpenCV library to visualise particles and their interactions.

Getting Started

  • Clone the repo into your folder

    git clone https://github.com/sanjeev309/n-body-opencv.git

  • Make changes if any to main.cpp

  • Execute make command to compile into an executable

    make compile

  • Run the executable

    ./n_body_opencv

  • Clean for a rebuild

    make clean

Prerequisites

OpenCV 3.2 installation and header files.

Demonstration

N_body Simulation

Built With

  • OpenCV - The Computer Vision Library

Authors

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

About

A Visualisation of N-body Gravitational body system in OpenCV using C++ and OpenMP parallelization

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published