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

https://github.com/dinhanhx/particle-simulation

Simple particle simulation
https://github.com/dinhanhx/particle-simulation

cpp simulation ubuntu visual-studio windows-10

Last synced: 2 days ago
JSON representation

Simple particle simulation

Awesome Lists containing this project

README

          

# Particle Simulation

## Windows

Clone this project
```bash
git clone https://github.com/dinhanhx/Particle-Simulation.git
```
Get all dependencies with [vcpkg](https://github.com/microsoft/vcpkg#quick-start-windows)
```
vcpkg install freeglut glew glm
```
Then open this project with Visual Studio, build with `Release x86`

## Ubuntu and Ubuntu based distros

Clone this project
```bash
git clone https://github.com/dinhanhx/Particle-Simulation.git
```
Ignore Visual Studio meta files.

Get all dependencies
```
sudo apt install ...
```

Compile and/or run
```
g++ ...
```

## Instruction

Press `f` key to lock/unlock the eye. By default, the eye locks on first water particle.

When the eye unlocks, you can use `up, down, left, right` to rotate the eye around.

Press `esc` to exit the program.