GitXplorerGitXplorer
j

dla-anim

public
0 stars
0 forks
0 issues

Commits

List of commits on branch master.
Verified
c2c920f7f62bb5cba51dd00f943286a75f7f4b5c

Create LICENSE

jj-jzk committed 9 months ago
Unverified
fb4788742e9b9515d1b20cfc933d6170389daeb1

add readme

jj-jzk committed 9 months ago
Unverified
fc8e437d39301165e4ab6a09196a2133a017df2b

add a more robust CLI, add input image support

jj-jzk committed 9 months ago
Unverified
50a868ec49a585070e1ff912e09cda86d50eebb4

add color

jj-jzk committed 9 months ago
Verified
6fa2ffa357ae37c5d87b0cca1fbaf45693775633

bodge together multiple starting pt parsing

jj-jzk committed 9 months ago
Verified
5d2b291aa84281e03f618d6a60329e7e1490fdb1

APNG output

jj-jzk committed 9 months ago

README

The README file for this repository.

Diffusion-Limited Aggregation animation generator

This is a fun little program for generating animations of 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

Growing from corners

Custom shape

Usage

dla-anim [options] <output.png>
  -g, --grid-size <gridSize> - default 128
  --target-fill <targetFill> - the target area ratio to fill, default 0.2

  --start-json <startJson> - set the coordinates of the starting point(s),
        for example [[1,1],[64,64]]
  --start-png <startPng> - set the starting points from the specified image

Building

haxelib newrepo
haxelib --always --skip-dependencies install haxelib-lock.hxml
haxe build.hxml

The binary will be located at build/Main.