Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/j-jzk/dla-anim
Diffusion-limited aggregation animation generator
https://github.com/j-jzk/dla-anim
Last synced: 25 days ago
JSON representation
Diffusion-limited aggregation animation generator
- Host: GitHub
- URL: https://github.com/j-jzk/dla-anim
- Owner: j-jzk
- License: mit
- Created: 2024-04-14T20:56:38.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-04-15T15:43:05.000Z (7 months ago)
- Last Synced: 2024-04-15T17:05:25.655Z (7 months ago)
- Language: Haxe
- Size: 2.36 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Diffusion-Limited Aggregation animation generator
This is a fun little program for generating animations of [diffusion-limited aggregation](https://en.wikipedia.org/wiki/Diffusion-limited_aggregation). The performance may not be the best, but it's manageable.## Examples
_If your browser doesn't support animated PNGs, you can download these examples as videos from the `examples` folder._![Basic](examples/center.png)
![Growing from corners](examples/corners.png)
![Custom shape](examples/shape.png)
## Usage
```
dla-anim [options]
-g, --grid-size - default 128
--target-fill - the target area ratio to fill, default 0.2--start-json - set the coordinates of the starting point(s),
for example [[1,1],[64,64]]
--start-png - set the starting points from the specified image
```## Building
```sh
haxelib newrepo
haxelib --always --skip-dependencies install haxelib-lock.hxml
haxe build.hxml
```
The binary will be located at `build/Main`.