From 01d01e769b1143be4c3dace80b648e2750e0e273 Mon Sep 17 00:00:00 2001 From: Mikael Nordin Date: Thu, 27 Oct 2016 15:04:13 +0200 Subject: [PATCH] Update README.md --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1368340..4241048 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,7 @@ This is an implementation of 256 elementary cellular automatons: http://mathworld.wolfram.com/ElementaryCellularAutomaton.html Example usage and output for rule 30: +``` ./cellaut.pl 10 30 30 111111111111110111111111111111 111111111111100011111111111111 @@ -14,8 +15,9 @@ Example usage and output for rule 30: 111111001101110001111101111111 111110010000100110111000111111 111100110111101000010011011111 - +``` Example usage and output for rule 10: +``` ./cellaut.pl 10 30 110 111111111111110111111111111111 111111111111100111111111111111 @@ -28,3 +30,4 @@ Example usage and output for rule 10: 111111000000010111111111111111 111110011111000111111111111111 111100011110010111111111111111 +```