Skip to content

Releases: 8dcc/rule110

Release 4

30 Nov 23:40
04b2f52
Compare
Choose a tag to compare

Rule 110

Rule 110 made in C.

ASCII version and Netpbm version.


Forks Stars

Table of contents

  1. ASCII
  2. Netpbm
  3. Examples
  4. Todo

Release 3

23 Nov 12:04
f9b32b7
Compare
Choose a tag to compare

Rule 110

Rule 110 made in C.

ASCII version and Netpbm version.


Forks Stars

Table of contents

  1. ASCII
  2. Netpbm
  3. Examples
  4. Todo

Release 2

21 Nov 18:15
0d0f3f0
Compare
Choose a tag to compare

Rule 110

Rule110 made in C.

You can see an example here.

Configuration

Display

  • STEPS-int: The ammount of lines to be printed.
  • MAX_LINE_LEN-int: Won't print characters that exceed this position. If the value is 0, it will turn off this option.

Characters

  • FILLCHAR-int: The character that the program will print as 1.
  • EMPTYCHAR-int: The character that the program will print as 0.

Settings

  • PRINT_ARRAY-int: If 0, it will print the array before the line display.
  • PRINT_DETAILS-int: If 0, it will print useful information before displaying the simulation.

Functions

int calc_rule(int a, int b, int c, int mode);

a, b and c are the states of the cells, left to right. mode == 1 will switch the variables a and b.

Release 1

21 Nov 02:09
7f9e7c1
Compare
Choose a tag to compare

Release 1

Rule110 made in C.

Configuration

Display

  • STEPS-int: The ammount of lines to be printed.
  • MAX_LINE_LEN-int: Won't print characters that exceed this position.

Characters

  • FILLCHAR-int: The character that the program will print as 1.
  • EMPTYCHAR-int: The character that the program will print as 0.

Settings

  • PRINT_ARRAY-int: If 0, it will print the array before the line display.
  • PRINT_DETAILS-int: If 0, it will print useful information before displaying the simulation.

You can see an example here.