Skip to content

Latest commit

 

History

History
138 lines (98 loc) · 3.59 KB

README.md

File metadata and controls

138 lines (98 loc) · 3.59 KB

Logo

Verlet Physics Simulator

Table of Contents
  1. About The Project
  2. Getting Started
  3. Roadmap
  4. Contributing
  5. License
  6. Contact

About The Project

Boxed Chain Quad Cloth

I love high performance computing so I chose to build physics engine using C++. The project touched various algorithms with many pros and cons. I also get a chance to write multithreading to improve performance. Below is the algorithms I have implemented so far for collision detection.

Collision handler algorithms

  • Naive O(n^2)
  • Sorting O(n * log(n))
  • Grid O(n * m)

Getting Started

This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

  • Mac
    brew install sfml
  • Linux
    sudo apt install g++ libsfml-dev

Installation

Below is an example of how you can instruct your audience on installing and setting up your app.

  1. Create build directory
    mkdir build && cd build
  2. use Cmake to generate makefiles and run
    cmake ../ && make
  3. Run the application
    ./main

(back to top)

Roadmap

  • Circle Collision
  • Multithreading
  • Chain
  • Force
  • More shapes using circles
  • Quad Tree Optimization
  • Trusses
  • Soft Body
  • Cloth

See the open issues for a full list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

Distributed under the MIT License. See LICENSE.txt for more information.

Contact

Dorjderem Namsraijav - [email protected]

Project Link: https://github.com/Dorjderem2002/verlet-physics-engine