Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/fzipp/pps

An implementation of a primordial particle system (PPS). A life-like system emerges from a simplistic particle motion law.
https://github.com/fzipp/pps

emergence go golang life life-game life-simulation particle-system particles primordial simulation

Last synced: 22 days ago
JSON representation

An implementation of a primordial particle system (PPS). A life-like system emerges from a simplistic particle motion law.

Awesome Lists containing this project

README

        

# Primordial Particle System

An implementation of the Primordial Particle System (PPS) described in:

Schmickl, T., Stefanec, M. & Crailsheim, K.
[How a life-like system emerges from a simplistic particle motion law.](https://www.nature.com/articles/srep37969)
Sci Rep 6, 37969 (2016).
https://doi.org/10.1038/srep37969

Explanation video by the authors of the article (not this implementation):

_How life emerges from a simple particle motion law: Introducing the Primordial Particle System_

[![Video: How life emerges from a simple particle motion law: Introducing the Primordial Particle System](https://img.youtube.com/vi/makaJpLvbow/maxresdefault.jpg)](https://www.youtube.com/watch?v=makaJpLvbow)

## Installation

```
$ go install github.com/fzipp/pps/cmd/pps-simulate@latest
```

## Usage

```
$ pps-simulate
Visit http://localhost:8080 in a web browser
```

It uses the following parameter set (as described in the article) by default:

PPS =〈r=5, α=180°, β=17°, v=0.67〉

The parameters, the particle density (DPE) and the size of the universe
can be modified via command line flags:

```
$ pps-simulate -r=4 -alpha=180 -beta=17 -v=0.67 -dpe=0.08 -size=150x150
```

The port is configurable as well:

```
$ pps-simulate -http=:6060
```

Get help about the flags:

```
$ pps-simulate -help
```

## License

This project is free and open source software licensed under the
[BSD 3-Clause License](LICENSE).