Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/simonwaldherr/fluidsimascii
- Owner: SimonWaldherr
- Created: 2022-09-30T10:55:57.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-10-05T10:18:13.000Z (over 2 years ago)
- Last Synced: 2024-06-20T19:24:32.890Z (8 months ago)
- Topics: ascii, endoh1, fluid-dynamics, fluid-simulation, hacktoberfest, hydrodynamics, physics-simulation, simulation, smoothed-particle-hydrodynamics
- Language: Go
- Homepage:
- Size: 5.86 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```