Skip to content

Latest commit

 

History

History
33 lines (30 loc) · 1.47 KB

README.md

File metadata and controls

33 lines (30 loc) · 1.47 KB

Liquid Cellular Automata using python turtles

lca

./lca.py --help     
usage: lca.py [-h] [--agents AGENTS] [--seed SEED] [--node_degree NODE_DEGREE] [--radius RADIUS] [--sleep SLEEP] [--vis] [--bounce]
              [-c COLORS [COLORS ...]] [-w WEIGHTS [WEIGHTS ...]] [--min_walk_angle MIN_WALK_ANGLE] [--max_walk_angle MAX_WALK_ANGLE]
              [--min_walk_distance MIN_WALK_DISTANCE] [--max_walk_distance MAX_WALK_DISTANCE]

optional arguments:
  -h, --help            show this help message and exit
  --agents AGENTS       number of agents
  --seed SEED           rng seed
  --node_degree NODE_DEGREE
                        node degree
  --radius RADIUS       node degree
  --sleep SLEEP         Step Sleep in seconds
  --vis                 Enable visualization
  --bounce              Bounce on state change
  -c COLORS [COLORS ...], --colors COLORS [COLORS ...]
                        list of colors
  -w WEIGHTS [WEIGHTS ...], --weights WEIGHTS [WEIGHTS ...]
                        list of weights of said colors
  --min_walk_angle MIN_WALK_ANGLE
                        walk step min angle turned
  --max_walk_angle MAX_WALK_ANGLE
                        walk step max angle turned
  --min_walk_distance MIN_WALK_DISTANCE
                        min walk step distance forward
  --max_walk_distance MAX_WALK_DISTANCE
                        max walk step distance forward