Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/farzonl/animationp4

A fluid simulation.
https://github.com/farzonl/animationp4

animation graphics opengl

Last synced: about 1 month ago
JSON representation

A fluid simulation.

Awesome Lists containing this project

README

        

# Fluid simulations

## Code status
[![codecov](https://codecov.io/gh/farzonl/animationp4/branch/master/graph/badge.svg)](https://codecov.io/gh/farzonl/animationp4)
[![Build Status](https://travis-ci.com/farzonl/animationp4.svg?branch=master)](https://travis-ci.com/farzonl/animationp4)
[![Total alerts](https://img.shields.io/lgtm/alerts/g/farzonl/animationp4.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/farzonl/animationp4/alerts/)
[![Language grade: C/C++](https://img.shields.io/lgtm/grade/cpp/g/farzonl/animationp4.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/farzonl/animationp4/context:cpp)

## Simulation
[![Fluid Simulation](https://raw.githubusercontent.com/farzonl/animationp4/master/simulation.gif)](https://youtu.be/3bB2xCmgU2w)

## how to build?
```
make
```

## how to run?
```
./main.out
```
## Comands
- type 'r' for black and white mona lisa.
- type 'R' for color mona lisa.
- type 'm' for black and white macaw.
- type 'M' for color macaw.
- type 'w' to write out image to disk as output.bmp
- type 'f' to read a file from disk. will be prompted for file path.

### Example files provided:
- pearlEar.bmp
- starryNight.bmp
- lastSupper.bmp
- macaw.bmp