Skip to content

gto76/wolfram-cells

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wolfram Cells

Wolfram random patterns generator, using one-dimensional binary cellular automata

Alt text

How to run on…

Windows

  1. Download and install sbt
  2. Download and extract project's ZIP
  3. Open command prompt, go to extracted project and execute these commands:
setx PATH "%PATH%;C:\Program Files (x86)\sbt\bin"
sbt assembly
java -jar target/scala-2.11/wolfram-cells-assembly-0.9.0.jar 

UNIX

$ wget http://dl.bintray.com/sbt/debian/sbt-0.13.7.deb
$ sudo dpkg -i sbt-0.13.7.deb
$ git clone https://www.github.com/gto76/wolfram-cells.git
$ cd wolfram-cells
$ sbt assembly
$ java -jar target/scala-2.11/wolfram-cells-assembly-0.9.0.jar 

Options

usage: wolfram-cells
 -b, --bitmap                   Outupt image instead of text.
 -c, --background-color <arg>   Background color of output bitmap as single
                                number. Default is black - 0. Warning: for
                                input image 0 is assumed.
 -e, --height <arg>             Matrix height.
 -f, --file <arg>               Output filename.
 -g, --foreground-color <arg>   Foreground color of output bitmap as single
                                number. Default is blue - 255.
 -h, --help                     Print this message.
 -i, --input-matrix <arg>       Specify filename containing matrix on which
                                the  transformations will be executed.
                                Should be in text format or in png. '-' for
                                stdin
 -o, --only-developed           Output matrix only if there is more than
                                one cell per row.
 -p, --pixel-size <arg>         Cell size in pixels.
 -r, --rule-number <arg>        Rule to be used.
 -w, --width <arg>              Matrix width

About

Wolfram random patterns generator

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages