Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/simonwaldherr/fluidsimascii

This is a Golang fluid simulator using the "Smoothed-particle hydrodynamics (SPH)" method
https://github.com/simonwaldherr/fluidsimascii

ascii endoh1 fluid-dynamics fluid-simulation hacktoberfest hydrodynamics physics-simulation simulation smoothed-particle-hydrodynamics

Last synced: 2 months ago
JSON representation

This is a Golang fluid simulator using the "Smoothed-particle hydrodynamics (SPH)" method

Awesome Lists containing this project

README

        

# FluidSimASCII

[![Go Report Card](https://goreportcard.com/badge/github.com/simonwaldherr/fluidsimascii)](https://goreportcard.com/report/github.com/simonwaldherr/fluidsimascii)

This is a [Golang](http://golang.org/) fluid simulator using the "[Smoothed-particle hydrodynamics (SPH)](http://en.wikipedia.org/wiki/Smoothed-particle_hydrodynamics)" method.

## origin

It is based on the C code from [davidedc/Ascii-fluid-simulation-deobfuscated](https://github.com/davidedc/Ascii-fluid-simulation-deobfuscated),
which is the best de-obfuscated version of [Yusuke Endoh](https://github.com/mame/)'s
["Most complex ASCII fluid" obfuscated C code competition 2012 entry](http://www.ioccc.org/2012/endoh1/hint.html).
The original code of Yusuke Endoh is in the [repo of the "International Obfuscated C Code Contest"](https://github.com/ioccc-src/winner).
The code contained there, respectively the entire repository, is under the [CC-0 license](https://github.com/ioccc-src/winner/blob/master/LICENSE).

## run

You can run it like this:

```sh
go run fluidSim.go < demo/demo01.txt
```