An open API service indexing awesome lists of open source software.

https://github.com/freddie-nelson/cpp-verlet-physics

A simple verlet physics engine written in C++
https://github.com/freddie-nelson/cpp-verlet-physics

cpp physics physics-2d sdl2 verlet-integration verlet-physics

Last synced: 15 days ago
JSON representation

A simple verlet physics engine written in C++

Awesome Lists containing this project

README

        

# Verlet Physics in C++

A simple verlet physics engine written in C++. Additionally supports collision detection and resolution between convex polygons and circles.

## Table of Contents 📰

- [Demo](#demo)
- [Installation](#installation)
- [Contributing](#contributing)
- [Prerequisites](#prequisites)
- [Setup](#setup)
- [License](#license)
- [Contact](#contact)

## Demo

![Demo](https://raw.githubusercontent.com/freddie-nelson/cpp-verlet-physics/main/demo.gif)

## Installation

```bash
git clone https://github.com/freddie-nelson/cpp-verlet-physics
cd cpp-verlet-physics

./prod.bat
```

## Contributing

### Prerequisites

- g++
- cmake
- SDL2, SDL2_ttf

### Setup

```bash
# clone repo
git clone https://github.com/freddie-nelson/cpp-verlet-physics
cd cpp-verlet-physics

./dev.bat
```

## License

[MIT](https://opensource.org/licenses/MIT)

Copyright © 2020 - Present, Freddie Nelson

## Contact

- [Send me an email 📧](mailto:[email protected])
- [Contact me through my website](https://freddienelson.co.uk)