BillBarnhill / lsys

A set of apps for experimenting with L-Systems using erlang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Lsys

A set of Erlang applications for experimenting with L-Systems, and using L-Systems in your own applications.

Once the lsys application is started you can use like so:

{ok, Config} = lsys:read_config([code:priv_dir(lsys)], "test1.lsys"),
Axiom = "S0",
Iters = 3,
lsys_srv:generate(Iters, Axiom, Config).

Alternatively you can use without a gen_server or supervision tree:

{ok, Config} = lsys:read_config(["priv"], "test1.lsys"),
Axiom = "S0",
Iters = 3,
lsys:generate(Iters, Axiom, Config).

About

A set of apps for experimenting with L-Systems using erlang


Languages

Language:Erlang 50.7%Language:Shell 35.5%Language:Batchfile 13.8%