diff --git a/configurations/Wireworld/AND-NOTgare.json b/configurations/Wireworld/AND-NOTgare.json new file mode 100644 index 0000000000000000000000000000000000000000..88df17404984a9125587e507bdbaa37945670e66 --- /dev/null +++ b/configurations/Wireworld/AND-NOTgare.json @@ -0,0 +1,9 @@ +{ + "data": "x = 20, y = 17\nCoB8CoB7C$C$C$C$C$11CBo2C$15bC$14b3C$15bC$14bCb4C$13bC$3CBo8C$C$C$C$C$3CoB3CoB10C!", + "height": 20, + "left": 0, + "model": "Wireworld", + "title": "AND-NOTgate", + "top": 2, + "width": 20 +} diff --git a/configurations/Wireworld/ANDgate.json b/configurations/Wireworld/ANDgate.json new file mode 100644 index 0000000000000000000000000000000000000000..19a86aa555aeee59f7fe076c7dc7491c3c5bffa1 --- /dev/null +++ b/configurations/Wireworld/ANDgate.json @@ -0,0 +1,9 @@ +{ + "data": "x = 20, y = 17\nbB7CoB9C$o$C$C$C$b6C$7bC$8b3C$5bCbC3bC6b2C$4b3C4bC5bC$3bCbCbCbCbC4bC$b2C5b3C4bC$C8bCb4C$C$C$C$b3CoB9CoB3C!", + "height": 20, + "left": 0, + "model": "Wireworld", + "title": "ANDgate", + "top": 2, + "width": 20 +} diff --git a/configurations/Wireworld/ORgate.json b/configurations/Wireworld/ORgate.json new file mode 100644 index 0000000000000000000000000000000000000000..4b408b9f13b8ac8c8b4dea83fe762ba740535c84 --- /dev/null +++ b/configurations/Wireworld/ORgate.json @@ -0,0 +1,9 @@ +{ + "data": "x = 20, y = 17\nCoB8CoB7C$C$C$C$C$11CBo$13bC$13bC$12b8C$13bC$13bC$3CBo8C$C$C$C$C$CoB3CoB12C!", + "height": 20, + "left": 0, + "model": "Wireworld", + "title": "ORgate", + "top": 2, + "width": 20 +} diff --git a/configurations/Wireworld/XORgate.json b/configurations/Wireworld/XORgate.json new file mode 100644 index 0000000000000000000000000000000000000000..69c420136bc01da1fdb6450dc4523fc736838121 --- /dev/null +++ b/configurations/Wireworld/XORgate.json @@ -0,0 +1,9 @@ +{ + "data": "x = 20, y = 17\nCoB8CoB7C$C$C$C$C$11CBo$13bC$12b4C$12bC2b5C$12b4C$13bC$3CBo8C$C$C$C$C$CoB3CoB12C!", + "height": 20, + "left": 0, + "model": "Wireworld", + "title": "XORgate", + "top": 2, + "width": 20 +} diff --git a/configurations/Wireworld/diodes.json b/configurations/Wireworld/diodes.json new file mode 100644 index 0000000000000000000000000000000000000000..e7ea3a07171285c1b9360d46ee3dd0db3ed7a4c2 --- /dev/null +++ b/configurations/Wireworld/diodes.json @@ -0,0 +1,9 @@ +{ + "data": "x = 20, y = 15\n8b2C$9Cb7CBoC$8b2C5$8b2C$8Cb6C2b3C$8b2C6bo$14bCBbC$13bC3bC$13bC3bC$13bC3bC$14b3C!", + "height": 20, + "left": 0, + "model": "Wireworld", + "title": "Diodes", + "top": 5, + "width": 20 +} diff --git a/models/wireworld.json b/models/wireworld.json new file mode 100644 index 0000000000000000000000000000000000000000..d0cef06b6f0f59546b0481ff5270fb3c6b8a7c6d --- /dev/null +++ b/models/wireworld.json @@ -0,0 +1,48 @@ +{ + "alphabet": [ + { + "color": [ + 48, + 48, + 48 + ], + "name": "blank" + }, + { + "color": [ + 0, + 128, + 255 + ], + "name": "head" + }, + { + "color": [ + 255, + 255, + 255 + ], + "name": "tail" + }, + { + "color": [ + 255, + 128, + 0 + ], + "name": "copper" + } + ], + "author": "Brian Silverman", + "date": "1987", + "desc": "", + "neighborhood_data": { + "radius": 1 + }, + "neighborhood_name": "Moore", + "title": "Wireworld", + "transition_data": { + "rule_string": "1->2\n2->3\n3,1:[1..2]->1" + }, + "transition_name": "Totalistic rulestring" +}