]> git.eli173.com Git - hexmata/commitdiff
added lots
authorElijah Cohen <eli@eli173.com>
Sat, 2 Apr 2022 01:17:50 +0000 (20:17 -0500)
committerElijah Cohen <eli@eli173.com>
Sat, 2 Apr 2022 01:17:50 +0000 (20:17 -0500)
some notes, plus favicon, plus starter page, plus tempo better, that's it

demos.js
icn.png [new file with mode: 0644]
icn.xcf [new file with mode: 0644]
index.html
nand_perfection.org [new file with mode: 0644]
notes.org
play.js

index efb183ce4e04b86749e7a8f36f53228cbcc35dff..52dea3daa6abcc8a2f2ae48f3523845497d8f26b 100644 (file)
--- a/demos.js
+++ b/demos.js
@@ -9,6 +9,7 @@ load_demos = function(selelt) {
 }
 
 demos = {
+               'intro': '[{"q":7,"r":-2,"state":"head"},{"q":9,"r":-1,"state":"off"},{"q":8,"r":-1,"state":"off"},{"q":11,"r":-1,"state":"off"},{"q":10,"r":-1,"state":"off"},{"q":12,"r":-1,"state":"off"},{"q":13,"r":-1,"state":"off"},{"q":14,"r":-1,"state":"off"},{"q":4,"r":3,"state":"off"},{"q":4,"r":4,"state":"head"},{"q":5,"r":5,"state":"off"},{"q":6,"r":5,"state":"off"},{"q":7,"r":5,"state":"off"},{"q":8,"r":5,"state":"off"},{"q":10,"r":5,"state":"off"},{"q":9,"r":5,"state":"off"},{"q":11,"r":5,"state":"off"},{"q":12,"r":4,"state":"off"},{"q":11,"r":6,"state":"off"},{"q":12,"r":5,"state":"off"},{"q":13,"r":4,"state":"off"},{"q":14,"r":4,"state":"off"},{"q":12,"r":6,"state":"off"},{"q":13,"r":6,"state":"off"},{"q":15,"r":5,"state":"off"},{"q":14,"r":5,"state":"off"},{"q":16,"r":4,"state":"off"},{"q":17,"r":3,"state":"off"},{"q":18,"r":2,"state":"off"},{"q":14,"r":0,"state":"off"},{"q":15,"r":-2,"state":"off"},{"q":15,"r":-1,"state":"off"},{"q":16,"r":-2,"state":"off"},{"q":15,"r":0,"state":"off"},{"q":17,"r":-2,"state":"off"},{"q":16,"r":0,"state":"off"},{"q":17,"r":-1,"state":"off"},{"q":18,"r":-1,"state":"off"},{"q":18,"r":0,"state":"off"},{"q":18,"r":1,"state":"off"},{"q":8,"r":-2,"state":"off"},{"q":9,"r":-3,"state":"off"},{"q":10,"r":-4,"state":"off"},{"q":11,"r":-5,"state":"off"},{"q":5,"r":-2,"state":"off"},{"q":6,"r":-2,"state":"tail"},{"q":19,"r":2,"state":"off"},{"q":21,"r":2,"state":"off"},{"q":20,"r":2,"state":"off"},{"q":22,"r":2,"state":"off"},{"q":19,"r":1,"state":"off"},{"q":18,"r":3,"state":"off"},{"q":11,"r":-6,"state":"off"},{"q":11,"r":-7,"state":"off"},{"q":11,"r":-8,"state":"off"},{"q":10,"r":-8,"state":"off"},{"q":9,"r":-8,"state":"off"},{"q":8,"r":-8,"state":"off"},{"q":2,"r":2,"state":"off"},{"q":-1,"r":4,"state":"off"},{"q":-2,"r":5,"state":"off"},{"q":-2,"r":6,"state":"off"},{"q":-2,"r":7,"state":"off"},{"q":-2,"r":8,"state":"off"},{"q":-1,"r":8,"state":"off"},{"q":-1,"r":2,"state":"off"},{"q":-2,"r":3,"state":"off"},{"q":-3,"r":4,"state":"off"},{"q":-4,"r":5,"state":"off"},{"q":-4,"r":6,"state":"off"},{"q":-4,"r":8,"state":"off"},{"q":-4,"r":7,"state":"off"},{"q":-4,"r":9,"state":"off"},{"q":-4,"r":10,"state":"off"},{"q":-3,"r":10,"state":"off"},{"q":-2,"r":10,"state":"off"},{"q":-1,"r":10,"state":"off"},{"q":0,"r":10,"state":"off"},{"q":0,"r":4,"state":"off"},{"q":0,"r":5,"state":"off"},{"q":2,"r":5,"state":"off"},{"q":3,"r":5,"state":"tail"},{"q":5,"r":4,"state":"off"},{"q":1,"r":2,"state":"off"},{"q":0,"r":2,"state":"off"},{"q":1,"r":5,"state":"off"},{"q":1,"r":9,"state":"off"},{"q":0,"r":8,"state":"off"},{"q":4,"r":-2,"state":"off"},{"q":3,"r":-2,"state":"off"},{"q":3,"r":-3,"state":"off"},{"q":3,"r":-4,"state":"off"},{"q":3,"r":-5,"state":"off"},{"q":4,"r":-6,"state":"off"},{"q":5,"r":-7,"state":"off"},{"q":6,"r":-8,"state":"off"},{"q":7,"r":-8,"state":"off"},{"q":3,"r":3,"state":"off"},{"q":2,"r":3,"state":"off"},{"q":1,"r":7,"state":"off"},{"q":2,"r":7,"state":"off"},{"q":3,"r":7,"state":"off"},{"q":2,"r":9,"state":"off"},{"q":4,"r":7,"state":"off"},{"q":3,"r":9,"state":"off"},{"q":5,"r":7,"state":"off"},{"q":5,"r":8,"state":"off"},{"q":5,"r":9,"state":"off"},{"q":3,"r":10,"state":"off"},{"q":4,"r":10,"state":"off"},{"q":23,"r":2,"state":"off"},{"q":24,"r":2,"state":"off"},{"q":24,"r":1,"state":"off"},{"q":24,"r":0,"state":"off"},{"q":24,"r":-1,"state":"off"},{"q":25,"r":1,"state":"off"},{"q":26,"r":0,"state":"off"},{"q":27,"r":-1,"state":"off"},{"q":28,"r":-2,"state":"off"},{"q":30,"r":-4,"state":"off"},{"q":29,"r":-3,"state":"off"},{"q":23,"r":3,"state":"off"},{"q":22,"r":4,"state":"off"},{"q":21,"r":5,"state":"off"},{"q":24,"r":3,"state":"off"},{"q":24,"r":4,"state":"off"},{"q":24,"r":5,"state":"off"},{"q":24,"r":6,"state":"off"},{"q":24,"r":7,"state":"off"},{"q":24,"r":8,"state":"off"},{"q":25,"r":2,"state":"off"},{"q":26,"r":2,"state":"off"},{"q":27,"r":2,"state":"off"},{"q":23,"r":-1,"state":"off"},{"q":23,"r":-2,"state":"off"},{"q":25,"r":-2,"state":"off"},{"q":25,"r":-3,"state":"off"},{"q":24,"r":-3,"state":"off"},{"q":20,"r":5,"state":"off"},{"q":19,"r":6,"state":"off"},{"q":19,"r":7,"state":"off"},{"q":20,"r":7,"state":"off"},{"q":21,"r":6,"state":"off"},{"q":27,"r":3,"state":"off"},{"q":28,"r":3,"state":"off"},{"q":29,"r":2,"state":"off"},{"q":29,"r":1,"state":"off"},{"q":28,"r":1,"state":"off"},{"q":29,"r":-4,"state":"off"},{"q":28,"r":-4,"state":"off"},{"q":30,"r":-3,"state":"off"},{"q":30,"r":-2,"state":"off"},{"q":31,"r":-4,"state":"off"},{"q":32,"r":-4,"state":"off"},{"q":30,"r":-5,"state":"off"},{"q":30,"r":-6,"state":"off"},{"q":31,"r":-5,"state":"off"},{"q":32,"r":-6,"state":"off"},{"q":23,"r":8,"state":"off"},{"q":22,"r":8,"state":"off"},{"q":25,"r":7,"state":"off"},{"q":26,"r":6,"state":"off"},{"q":25,"r":8,"state":"off"},{"q":26,"r":8,"state":"off"},{"q":24,"r":9,"state":"off"},{"q":24,"r":10,"state":"off"},{"q":23,"r":9,"state":"off"},{"q":22,"r":10,"state":"off"},{"q":40,"r":4,"state":"off"},{"q":41,"r":4,"state":"off"},{"q":42,"r":3,"state":"off"},{"q":43,"r":2,"state":"off"},{"q":41,"r":5,"state":"off"},{"q":41,"r":6,"state":"off"},{"q":39,"r":4,"state":"off"},{"q":44,"r":1,"state":"off"},{"q":38,"r":4,"state":"off"},{"q":41,"r":7,"state":"off"},{"q":41,"r":3,"state":"off"},{"q":41,"r":2,"state":"off"},{"q":42,"r":4,"state":"off"},{"q":43,"r":4,"state":"tail"},{"q":40,"r":5,"state":"off"},{"q":39,"r":6,"state":"off"},{"q":44,"r":4,"state":"head"},{"q":45,"r":3,"state":"off"},{"q":44,"r":5,"state":"off"},{"q":45,"r":4,"state":"tail"},{"q":45,"r":1,"state":"off"},{"q":46,"r":1,"state":"off"},{"q":47,"r":1,"state":"off"},{"q":42,"r":7,"state":"off"},{"q":43,"r":7,"state":"off"},{"q":44,"r":7,"state":"off"},{"q":45,"r":6,"state":"off"},{"q":46,"r":5,"state":"off"},{"q":47,"r":4,"state":"off"},{"q":47,"r":3,"state":"off"},{"q":47,"r":2,"state":"off"},{"q":40,"r":8,"state":"off"},{"q":39,"r":9,"state":"off"},{"q":38,"r":10,"state":"off"},{"q":37,"r":10,"state":"off"},{"q":36,"r":10,"state":"off"},{"q":35,"r":10,"state":"off"},{"q":35,"r":9,"state":"off"},{"q":35,"r":8,"state":"off"},{"q":35,"r":7,"state":"off"},{"q":36,"r":6,"state":"off"},{"q":37,"r":5,"state":"off"},{"q":38,"r":3,"state":"off"},{"q":38,"r":2,"state":"off"},{"q":38,"r":1,"state":"off"},{"q":39,"r":0,"state":"off"},{"q":40,"r":-1,"state":"off"},{"q":41,"r":-2,"state":"off"},{"q":42,"r":-2,"state":"off"},{"q":43,"r":-2,"state":"off"},{"q":44,"r":-2,"state":"off"},{"q":44,"r":-1,"state":"off"},{"q":44,"r":0,"state":"off"},{"q":42,"r":1,"state":"off"},{"q":40,"r":2,"state":"off"},{"q":41,"r":1,"state":"off"},{"q":38,"r":6,"state":"off"},{"q":39,"r":7,"state":"off"},{"q":38,"r":7,"state":"off"},{"q":37,"r":7,"state":"off"},{"q":37,"r":8,"state":"off"},{"q":38,"r":8,"state":"off"},{"q":41,"r":0,"state":"off"},{"q":40,"r":1,"state":"off"},{"q":42,"r":0,"state":"off"},{"q":14,"r":17,"state":"off"},{"q":14,"r":16,"state":"off"},{"q":14,"r":15,"state":"off"},{"q":12,"r":16,"state":"off"},{"q":12,"r":17,"state":"head"},{"q":12,"r":18,"state":"tail"},{"q":10,"r":19,"state":"off"},{"q":10,"r":18,"state":"off"},{"q":10,"r":17,"state":"off"},{"q":11,"r":16,"state":"off"},{"q":13,"r":15,"state":"off"},{"q":11,"r":19,"state":"off"},{"q":13,"r":18,"state":"off"},{"q":11,"r":20,"state":"off"},{"q":10,"r":21,"state":"off"},{"q":8,"r":21,"state":"off"},{"q":9,"r":21,"state":"off"},{"q":8,"r":20,"state":"off"},{"q":8,"r":19,"state":"off"},{"q":8,"r":18,"state":"off"},{"q":8,"r":17,"state":"off"},{"q":9,"r":16,"state":"off"},{"q":10,"r":15,"state":"off"},{"q":11,"r":14,"state":"off"},{"q":12,"r":14,"state":"off"},{"q":13,"r":13,"state":"off"},{"q":14,"r":13,"state":"off"},{"q":15,"r":13,"state":"off"},{"q":16,"r":13,"state":"off"},{"q":16,"r":14,"state":"off"},{"q":16,"r":15,"state":"off"},{"q":16,"r":17,"state":"off"},{"q":16,"r":16,"state":"off"},{"q":15,"r":18,"state":"off"},{"q":14,"r":19,"state":"off"},{"q":13,"r":19,"state":"off"}]',
                'small_gates': '[{"q":7,"r":1,"state":"off"},{"q":7,"r":2,"state":"off"},{"q":8,"r":0,"state":"off"},{"q":6,"r":1,"state":"off"},{"q":7,"r":5,"state":"off"},{"q":11,"r":-2,"state":"off"},{"q":11,"r":-3,"state":"off"},{"q":4,"r":0,"state":"off"},{"q":3,"r":1,"state":"off"},{"q":6,"r":5,"state":"off"},{"q":7,"r":6,"state":"off"},{"q":12,"r":-4,"state":"off"},{"q":2,"r":1,"state":"off"},{"q":7,"r":7,"state":"off"},{"q":13,"r":-5,"state":"head"},{"q":1,"r":1,"state":"head"},{"q":7,"r":8,"state":"tail"},{"q":8,"r":7,"state":"tail"},{"q":9,"r":6,"state":"tail"},{"q":11,"r":4,"state":"off"},{"q":12,"r":3,"state":"off"},{"q":13,"r":2,"state":"off"},{"q":14,"r":1,"state":"off"},{"q":14,"r":0,"state":"off"},{"q":14,"r":-1,"state":"off"},{"q":14,"r":-2,"state":"off"},{"q":14,"r":-4,"state":"tail"},{"q":14,"r":-5,"state":"tail"},{"q":14,"r":-6,"state":"tail"},{"q":13,"r":-6,"state":"tail"},{"q":12,"r":-6,"state":"tail"},{"q":10,"r":-6,"state":"off"},{"q":9,"r":-6,"state":"off"},{"q":8,"r":-6,"state":"off"},{"q":7,"r":-6,"state":"off"},{"q":6,"r":-5,"state":"off"},{"q":5,"r":-4,"state":"off"},{"q":4,"r":-3,"state":"off"},{"q":2,"r":-1,"state":"tail"},{"q":1,"r":0,"state":"tail"},{"q":0,"r":1,"state":"tail"},{"q":0,"r":2,"state":"tail"},{"q":0,"r":3,"state":"tail"},{"q":0,"r":5,"state":"off"},{"q":0,"r":6,"state":"off"},{"q":0,"r":7,"state":"off"},{"q":0,"r":8,"state":"off"},{"q":1,"r":8,"state":"off"},{"q":2,"r":8,"state":"off"},{"q":3,"r":8,"state":"off"},{"q":5,"r":8,"state":"tail"},{"q":6,"r":8,"state":"tail"},{"q":26,"r":1,"state":"off"},{"q":26,"r":2,"state":"off"},{"q":27,"r":1,"state":"off"},{"q":27,"r":0,"state":"off"},{"q":25,"r":1,"state":"off"},{"q":25,"r":2,"state":"off"},{"q":26,"r":3,"state":"off"},{"q":28,"r":-1,"state":"off"},{"q":24,"r":1,"state":"off"},{"q":27,"r":3,"state":"off"},{"q":28,"r":2,"state":"off"},{"q":29,"r":-1,"state":"off"},{"q":28,"r":-2,"state":"off"},{"q":24,"r":0,"state":"off"},{"q":23,"r":2,"state":"off"},{"q":29,"r":2,"state":"off"},{"q":30,"r":-2,"state":"off"},{"q":30,"r":-3,"state":"off"},{"q":29,"r":-3,"state":"off"},{"q":23,"r":0,"state":"off"},{"q":22,"r":1,"state":"off"},{"q":22,"r":2,"state":"off"},{"q":26,"r":6,"state":"off"},{"q":27,"r":5,"state":"off"},{"q":28,"r":4,"state":"off"},{"q":29,"r":3,"state":"off"},{"q":31,"r":-3,"state":"off"},{"q":31,"r":-4,"state":"off"},{"q":30,"r":-4,"state":"off"},{"q":22,"r":0,"state":"off"},{"q":21,"r":1,"state":"off"},{"q":21,"r":2,"state":"off"},{"q":26,"r":7,"state":"off"},{"q":32,"r":-5,"state":"head"},{"q":20,"r":1,"state":"head"},{"q":26,"r":8,"state":"tail"},{"q":27,"r":7,"state":"tail"},{"q":28,"r":6,"state":"tail"},{"q":30,"r":4,"state":"off"},{"q":31,"r":3,"state":"off"},{"q":32,"r":2,"state":"off"},{"q":33,"r":1,"state":"off"},{"q":33,"r":0,"state":"off"},{"q":33,"r":-1,"state":"off"},{"q":33,"r":-2,"state":"off"},{"q":33,"r":-4,"state":"tail"},{"q":33,"r":-5,"state":"tail"},{"q":33,"r":-6,"state":"tail"},{"q":32,"r":-6,"state":"tail"},{"q":31,"r":-6,"state":"tail"},{"q":29,"r":-6,"state":"off"},{"q":28,"r":-6,"state":"off"},{"q":27,"r":-6,"state":"off"},{"q":26,"r":-6,"state":"off"},{"q":25,"r":-5,"state":"off"},{"q":24,"r":-4,"state":"off"},{"q":23,"r":-3,"state":"off"},{"q":21,"r":-1,"state":"tail"},{"q":20,"r":0,"state":"tail"},{"q":19,"r":1,"state":"tail"},{"q":19,"r":2,"state":"tail"},{"q":19,"r":3,"state":"tail"},{"q":19,"r":5,"state":"off"},{"q":19,"r":6,"state":"off"},{"q":19,"r":7,"state":"off"},{"q":19,"r":8,"state":"off"},{"q":20,"r":8,"state":"off"},{"q":21,"r":8,"state":"off"},{"q":22,"r":8,"state":"off"},{"q":24,"r":8,"state":"tail"},{"q":25,"r":8,"state":"tail"},{"q":5,"r":1,"state":"off"},{"q":4,"r":2,"state":"off"},{"q":5,"r":0,"state":"off"},{"q":3,"r":2,"state":"off"},{"q":2,"r":2,"state":"off"},{"q":3,"r":0,"state":"off"},{"q":5,"r":3,"state":"off"},{"q":6,"r":3,"state":"off"},{"q":9,"r":-1,"state":"off"},{"q":4,"r":4,"state":"off"},{"q":10,"r":-1,"state":"off"},{"q":9,"r":-2,"state":"off"},{"q":4,"r":5,"state":"off"},{"q":5,"r":5,"state":"off"},{"q":10,"r":-3,"state":"off"},{"q":12,"r":-3,"state":"off"},{"q":11,"r":-4,"state":"off"},{"q":47,"r":1,"state":"off"},{"q":47,"r":2,"state":"off"},{"q":48,"r":1,"state":"off"},{"q":48,"r":0,"state":"off"},{"q":46,"r":1,"state":"off"},{"q":46,"r":2,"state":"off"},{"q":47,"r":3,"state":"off"},{"q":49,"r":-1,"state":"off"},{"q":48,"r":-1,"state":"off"},{"q":47,"r":-1,"state":"off"},{"q":45,"r":1,"state":"off"},{"q":50,"r":1,"state":"off"},{"q":50,"r":0,"state":"off"},{"q":50,"r":-1,"state":"off"},{"q":47,"r":-2,"state":"off"},{"q":45,"r":0,"state":"off"},{"q":44,"r":2,"state":"off"},{"q":45,"r":4,"state":"off"},{"q":46,"r":4,"state":"off"},{"q":51,"r":1,"state":"off"},{"q":50,"r":-3,"state":"off"},{"q":49,"r":-3,"state":"off"},{"q":47,"r":-3,"state":"off"},{"q":44,"r":0,"state":"off"},{"q":43,"r":1,"state":"off"},{"q":43,"r":2,"state":"off"},{"q":44,"r":5,"state":"off"},{"q":47,"r":6,"state":"off"},{"q":52,"r":0,"state":"head"},{"q":52,"r":-1,"state":"tail"},{"q":52,"r":-2,"state":"off"},{"q":52,"r":-3,"state":"off"},{"q":52,"r":-4,"state":"off"},{"q":51,"r":-4,"state":"off"},{"q":49,"r":-4,"state":"off"},{"q":48,"r":-4,"state":"off"},{"q":43,"r":0,"state":"off"},{"q":42,"r":1,"state":"off"},{"q":42,"r":2,"state":"off"},{"q":44,"r":6,"state":"off"},{"q":45,"r":6,"state":"off"},{"q":46,"r":6,"state":"off"},{"q":47,"r":7,"state":"off"},{"q":41,"r":1,"state":"head"},{"q":47,"r":8,"state":"tail"},{"q":48,"r":7,"state":"tail"},{"q":49,"r":6,"state":"tail"},{"q":51,"r":4,"state":"off"},{"q":52,"r":3,"state":"off"},{"q":53,"r":2,"state":"off"},{"q":54,"r":1,"state":"off"},{"q":54,"r":0,"state":"off"},{"q":54,"r":-1,"state":"off"},{"q":54,"r":-2,"state":"off"},{"q":54,"r":-4,"state":"tail"},{"q":54,"r":-5,"state":"tail"},{"q":54,"r":-6,"state":"tail"},{"q":53,"r":-6,"state":"tail"},{"q":52,"r":-6,"state":"tail"},{"q":50,"r":-6,"state":"off"},{"q":49,"r":-6,"state":"off"},{"q":48,"r":-6,"state":"off"},{"q":47,"r":-6,"state":"off"},{"q":46,"r":-5,"state":"off"},{"q":45,"r":-4,"state":"off"},{"q":44,"r":-3,"state":"off"},{"q":42,"r":-1,"state":"tail"},{"q":41,"r":0,"state":"tail"},{"q":40,"r":1,"state":"tail"},{"q":40,"r":2,"state":"tail"},{"q":40,"r":3,"state":"tail"},{"q":40,"r":5,"state":"off"},{"q":40,"r":6,"state":"off"},{"q":40,"r":7,"state":"off"},{"q":40,"r":8,"state":"off"},{"q":41,"r":8,"state":"off"},{"q":42,"r":8,"state":"off"},{"q":43,"r":8,"state":"off"},{"q":45,"r":8,"state":"tail"},{"q":46,"r":8,"state":"tail"},{"q":-2,"r":12,"state":"off"},{"q":-3,"r":13,"state":"off"},{"q":-4,"r":15,"state":"tail"},{"q":-1,"r":14,"state":"off"},{"q":-4,"r":16,"state":"off"},{"q":1,"r":15,"state":"off"},{"q":2,"r":14,"state":"off"},{"q":2,"r":13,"state":"off"},{"q":3,"r":12,"state":"off"},{"q":3,"r":14,"state":"off"},{"q":16,"r":12,"state":"head"},{"q":16,"r":13,"state":"off"},{"q":16,"r":15,"state":"off"},{"q":16,"r":16,"state":"off"},{"q":16,"r":14,"state":"off"},{"q":15,"r":15,"state":"off"},{"q":14,"r":16,"state":"off"},{"q":17,"r":13,"state":"off"},{"q":18,"r":12,"state":"off"},{"q":18,"r":14,"state":"head"},{"q":19,"r":13,"state":"off"},{"q":20,"r":12,"state":"off"},{"q":21,"r":12,"state":"off"},{"q":21,"r":13,"state":"off"},{"q":21,"r":14,"state":"off"},{"q":20,"r":15,"state":"off"},{"q":18,"r":15,"state":"off"},{"q":18,"r":16,"state":"off"},{"q":19,"r":16,"state":"off"},{"q":22,"r":16,"state":"off"},{"q":23,"r":15,"state":"off"},{"q":23,"r":14,"state":"off"},{"q":24,"r":13,"state":"off"},{"q":24,"r":12,"state":"head"},{"q":25,"r":12,"state":"off"},{"q":26,"r":12,"state":"off"},{"q":26,"r":13,"state":"off"},{"q":25,"r":14,"state":"off"},{"q":24,"r":14,"state":"off"},{"q":25,"r":15,"state":"off"},{"q":25,"r":16,"state":"off"},{"q":-1,"r":12,"state":"off"},{"q":-1,"r":13,"state":"off"},{"q":-4,"r":14,"state":"head"},{"q":-2,"r":15,"state":"off"},{"q":-3,"r":16,"state":"off"},{"q":1,"r":14,"state":"off"},{"q":3,"r":16,"state":"off"},{"q":3,"r":15,"state":"off"},{"q":0,"r":16,"state":"head"},{"q":2,"r":12,"state":"off"},{"q":4,"r":12,"state":"off"},{"q":4,"r":13,"state":"off"},{"q":35,"r":16,"state":"head"},{"q":36,"r":15,"state":"off"},{"q":36,"r":14,"state":"off"},{"q":37,"r":13,"state":"off"},{"q":37,"r":12,"state":"off"},{"q":38,"r":13,"state":"off"},{"q":38,"r":14,"state":"off"},{"q":38,"r":15,"state":"off"},{"q":39,"r":16,"state":"off"},{"q":39,"r":15,"state":"off"},{"q":40,"r":14,"state":"off"},{"q":40,"r":13,"state":"off"},{"q":41,"r":12,"state":"off"},{"q":42,"r":14,"state":"off"},{"q":43,"r":13,"state":"head"},{"q":44,"r":12,"state":"tail"},{"q":45,"r":12,"state":"off"},{"q":45,"r":13,"state":"off"},{"q":45,"r":14,"state":"off"},{"q":44,"r":15,"state":"head"},{"q":43,"r":16,"state":"tail"},{"q":42,"r":16,"state":"off"},{"q":42,"r":15,"state":"off"},{"q":47,"r":12,"state":"off"},{"q":48,"r":12,"state":"off"},{"q":49,"r":12,"state":"off"},{"q":50,"r":12,"state":"off"},{"q":48,"r":13,"state":"off"},{"q":47,"r":15,"state":"off"},{"q":46,"r":16,"state":"head"},{"q":47,"r":14,"state":"off"}]',
                'big_gates': '[{"q":4,"r":6,"state":"off"},{"q":2,"r":7,"state":"off"},{"q":4,"r":8,"state":"off"},{"q":5,"r":7,"state":"off"},{"q":5,"r":5,"state":"off"},{"q":1,"r":7,"state":"off"},{"q":1,"r":9,"state":"off"},{"q":2,"r":9,"state":"off"},{"q":3,"r":10,"state":"off"},{"q":4,"r":9,"state":"off"},{"q":6,"r":7,"state":"off"},{"q":6,"r":6,"state":"off"},{"q":6,"r":4,"state":"off"},{"q":0,"r":7,"state":"off"},{"q":0,"r":9,"state":"off"},{"q":0,"r":10,"state":"off"},{"q":2,"r":10,"state":"off"},{"q":3,"r":11,"state":"off"},{"q":5,"r":9,"state":"off"},{"q":6,"r":8,"state":"off"},{"q":7,"r":7,"state":"off"},{"q":7,"r":6,"state":"off"},{"q":7,"r":4,"state":"off"},{"q":5,"r":3,"state":"off"},{"q":4,"r":3,"state":"head"},{"q":2,"r":4,"state":"head"},{"q":1,"r":5,"state":"off"},{"q":-1,"r":8,"state":"off"},{"q":-1,"r":10,"state":"off"},{"q":-1,"r":11,"state":"off"},{"q":0,"r":11,"state":"off"},{"q":1,"r":11,"state":"off"},{"q":8,"r":5,"state":"off"},{"q":6,"r":2,"state":"off"},{"q":4,"r":2,"state":"tail"},{"q":2,"r":3,"state":"tail"},{"q":0,"r":5,"state":"off"},{"q":-2,"r":10,"state":"off"},{"q":2,"r":12,"state":"off"},{"q":3,"r":13,"state":"off"},{"q":4,"r":12,"state":"off"},{"q":5,"r":11,"state":"off"},{"q":6,"r":10,"state":"off"},{"q":7,"r":9,"state":"off"},{"q":9,"r":5,"state":"off"},{"q":9,"r":1,"state":"off"},{"q":6,"r":1,"state":"off"},{"q":4,"r":1,"state":"off"},{"q":2,"r":2,"state":"off"},{"q":0,"r":4,"state":"off"},{"q":-3,"r":7,"state":"off"},{"q":-3,"r":11,"state":"off"},{"q":0,"r":13,"state":"off"},{"q":1,"r":13,"state":"off"},{"q":8,"r":9,"state":"head"},{"q":10,"r":7,"state":"tail"},{"q":10,"r":4,"state":"off"},{"q":10,"r":3,"state":"off"},{"q":10,"r":2,"state":"off"},{"q":10,"r":1,"state":"off"},{"q":10,"r":0,"state":"off"},{"q":9,"r":0,"state":"off"},{"q":8,"r":0,"state":"off"},{"q":7,"r":0,"state":"off"},{"q":5,"r":0,"state":"off"},{"q":3,"r":0,"state":"tail"},{"q":1,"r":2,"state":"off"},{"q":-1,"r":4,"state":"off"},{"q":-2,"r":5,"state":"off"},{"q":-3,"r":6,"state":"off"},{"q":-4,"r":7,"state":"off"},{"q":-4,"r":8,"state":"off"},{"q":-4,"r":9,"state":"off"},{"q":-4,"r":10,"state":"off"},{"q":-4,"r":11,"state":"off"},{"q":-4,"r":14,"state":"tail"},{"q":-1,"r":14,"state":"off"},{"q":2,"r":14,"state":"off"},{"q":3,"r":15,"state":"off"},{"q":4,"r":14,"state":"off"},{"q":6,"r":12,"state":"off"},{"q":8,"r":10,"state":"tail"},{"q":10,"r":8,"state":"tail"},{"q":11,"r":6,"state":"tail"},{"q":11,"r":0,"state":"off"},{"q":11,"r":-1,"state":"off"},{"q":9,"r":-1,"state":"off"},{"q":6,"r":-1,"state":"off"},{"q":4,"r":-1,"state":"tail"},{"q":2,"r":0,"state":"tail"},{"q":0,"r":2,"state":"off"},{"q":-3,"r":5,"state":"off"},{"q":-5,"r":7,"state":"off"},{"q":-5,"r":8,"state":"off"},{"q":-5,"r":14,"state":"tail"},{"q":-4,"r":15,"state":"tail"},{"q":-1,"r":15,"state":"off"},{"q":0,"r":15,"state":"off"},{"q":2,"r":15,"state":"off"},{"q":5,"r":14,"state":"off"},{"q":8,"r":11,"state":"off"},{"q":10,"r":9,"state":"tail"},{"q":12,"r":5,"state":"tail"},{"q":12,"r":-2,"state":"off"},{"q":9,"r":-2,"state":"off"},{"q":7,"r":-2,"state":"off"},{"q":5,"r":-2,"state":"tail"},{"q":1,"r":0,"state":"tail"},{"q":-1,"r":2,"state":"off"},{"q":-3,"r":4,"state":"off"},{"q":-6,"r":7,"state":"off"},{"q":-6,"r":14,"state":"tail"},{"q":-4,"r":16,"state":"tail"},{"q":-2,"r":16,"state":"off"},{"q":-1,"r":16,"state":"off"},{"q":0,"r":16,"state":"off"},{"q":6,"r":14,"state":"off"},{"q":8,"r":12,"state":"off"},{"q":13,"r":-2,"state":"off"},{"q":12,"r":-3,"state":"off"},{"q":10,"r":-3,"state":"off"},{"q":8,"r":-3,"state":"off"},{"q":-2,"r":2,"state":"off"},{"q":-4,"r":4,"state":"off"},{"q":-6,"r":6,"state":"off"},{"q":-7,"r":8,"state":"off"},{"q":-2,"r":17,"state":"off"},{"q":0,"r":17,"state":"off"},{"q":3,"r":18,"state":"off"},{"q":4,"r":17,"state":"off"},{"q":5,"r":16,"state":"off"},{"q":6,"r":15,"state":"off"},{"q":8,"r":13,"state":"off"},{"q":10,"r":11,"state":"off"},{"q":14,"r":3,"state":"off"},{"q":14,"r":-3,"state":"off"},{"q":14,"r":-4,"state":"off"},{"q":13,"r":-4,"state":"off"},{"q":11,"r":-4,"state":"off"},{"q":9,"r":-4,"state":"off"},{"q":7,"r":-4,"state":"off"},{"q":-1,"r":0,"state":"off"},{"q":-3,"r":2,"state":"off"},{"q":-5,"r":4,"state":"off"},{"q":-7,"r":6,"state":"off"},{"q":-8,"r":7,"state":"off"},{"q":-8,"r":8,"state":"off"},{"q":-8,"r":14,"state":"off"},{"q":-4,"r":18,"state":"off"},{"q":-2,"r":18,"state":"off"},{"q":-1,"r":18,"state":"off"},{"q":1,"r":18,"state":"off"},{"q":2,"r":18,"state":"off"},{"q":3,"r":19,"state":"off"},{"q":4,"r":18,"state":"off"},{"q":7,"r":15,"state":"off"},{"q":8,"r":14,"state":"off"},{"q":10,"r":12,"state":"off"},{"q":15,"r":2,"state":"off"},{"q":15,"r":-4,"state":"off"},{"q":15,"r":-5,"state":"off"},{"q":14,"r":-5,"state":"off"},{"q":11,"r":-5,"state":"off"},{"q":10,"r":-5,"state":"off"},{"q":8,"r":-5,"state":"off"},{"q":-2,"r":0,"state":"off"},{"q":-4,"r":2,"state":"off"},{"q":-5,"r":3,"state":"off"},{"q":-8,"r":6,"state":"off"},{"q":-9,"r":7,"state":"off"},{"q":-9,"r":8,"state":"off"},{"q":-9,"r":14,"state":"off"},{"q":-4,"r":19,"state":"off"},{"q":-1,"r":19,"state":"off"},{"q":0,"r":19,"state":"off"},{"q":2,"r":19,"state":"off"},{"q":3,"r":20,"state":"off"},{"q":10,"r":13,"state":"off"},{"q":16,"r":1,"state":"off"},{"q":16,"r":-6,"state":"head"},{"q":9,"r":-6,"state":"off"},{"q":-3,"r":0,"state":"off"},{"q":-10,"r":7,"state":"head"},{"q":-10,"r":14,"state":"off"},{"q":-4,"r":20,"state":"off"},{"q":3,"r":21,"state":"tail"},{"q":4,"r":20,"state":"tail"},{"q":5,"r":19,"state":"tail"},{"q":7,"r":17,"state":"off"},{"q":8,"r":16,"state":"off"},{"q":9,"r":15,"state":"off"},{"q":10,"r":14,"state":"off"},{"q":17,"r":0,"state":"off"},{"q":17,"r":-1,"state":"off"},{"q":17,"r":-2,"state":"off"},{"q":17,"r":-3,"state":"off"},{"q":17,"r":-5,"state":"tail"},{"q":17,"r":-6,"state":"tail"},{"q":17,"r":-7,"state":"tail"},{"q":16,"r":-7,"state":"tail"},{"q":15,"r":-7,"state":"tail"},{"q":13,"r":-7,"state":"off"},{"q":12,"r":-7,"state":"off"},{"q":11,"r":-7,"state":"off"},{"q":10,"r":-7,"state":"off"},{"q":-4,"r":0,"state":"off"},{"q":-5,"r":1,"state":"off"},{"q":-6,"r":2,"state":"off"},{"q":-7,"r":3,"state":"off"},{"q":-9,"r":5,"state":"tail"},{"q":-10,"r":6,"state":"tail"},{"q":-11,"r":7,"state":"tail"},{"q":-11,"r":8,"state":"tail"},{"q":-11,"r":9,"state":"tail"},{"q":-11,"r":11,"state":"off"},{"q":-11,"r":12,"state":"off"},{"q":-11,"r":13,"state":"off"},{"q":-11,"r":14,"state":"off"},{"q":-4,"r":21,"state":"off"},{"q":-3,"r":21,"state":"off"},{"q":-2,"r":21,"state":"off"},{"q":-1,"r":21,"state":"off"},{"q":1,"r":21,"state":"tail"},{"q":2,"r":21,"state":"tail"},{"q":27,"r":7,"state":"off"},{"q":28,"r":7,"state":"off"},{"q":26,"r":8,"state":"off"},{"q":27,"r":9,"state":"off"},{"q":29,"r":6,"state":"off"},{"q":29,"r":5,"state":"off"},{"q":27,"r":5,"state":"off"},{"q":26,"r":6,"state":"off"},{"q":25,"r":9,"state":"off"},{"q":28,"r":9,"state":"off"},{"q":30,"r":4,"state":"off"},{"q":28,"r":4,"state":"off"},{"q":27,"r":4,"state":"off"},{"q":25,"r":6,"state":"off"},{"q":24,"r":7,"state":"off"},{"q":24,"r":8,"state":"off"},{"q":25,"r":10,"state":"off"},{"q":26,"r":10,"state":"off"},{"q":27,"r":11,"state":"off"},{"q":28,"r":10,"state":"off"},{"q":31,"r":7,"state":"off"},{"q":31,"r":6,"state":"off"},{"q":31,"r":3,"state":"off"},{"q":28,"r":3,"state":"off"},{"q":27,"r":3,"state":"off"},{"q":26,"r":4,"state":"off"},{"q":25,"r":5,"state":"off"},{"q":23,"r":8,"state":"off"},{"q":23,"r":9,"state":"off"},{"q":23,"r":10,"state":"off"},{"q":23,"r":11,"state":"off"},{"q":27,"r":12,"state":"off"},{"q":32,"r":7,"state":"off"},{"q":32,"r":5,"state":"off"},{"q":32,"r":3,"state":"off"},{"q":32,"r":2,"state":"off"},{"q":31,"r":2,"state":"off"},{"q":29,"r":2,"state":"off"},{"q":22,"r":8,"state":"off"},{"q":22,"r":9,"state":"off"},{"q":23,"r":12,"state":"off"},{"q":24,"r":12,"state":"off"},{"q":25,"r":12,"state":"off"},{"q":28,"r":12,"state":"off"},{"q":33,"r":6,"state":"off"},{"q":33,"r":4,"state":"off"},{"q":33,"r":2,"state":"off"},{"q":32,"r":1,"state":"off"},{"q":29,"r":1,"state":"off"},{"q":22,"r":6,"state":"off"},{"q":21,"r":7,"state":"off"},{"q":21,"r":8,"state":"off"},{"q":25,"r":13,"state":"off"},{"q":29,"r":12,"state":"off"},{"q":34,"r":7,"state":"tail"},{"q":34,"r":5,"state":"off"},{"q":34,"r":3,"state":"off"},{"q":34,"r":2,"state":"off"},{"q":34,"r":0,"state":"off"},{"q":33,"r":0,"state":"off"},{"q":30,"r":0,"state":"off"},{"q":27,"r":0,"state":"tail"},{"q":22,"r":5,"state":"off"},{"q":20,"r":7,"state":"off"},{"q":20,"r":14,"state":"tail"},{"q":25,"r":14,"state":"off"},{"q":28,"r":14,"state":"off"},{"q":29,"r":13,"state":"off"},{"q":34,"r":8,"state":"tail"},{"q":35,"r":6,"state":"tail"},{"q":35,"r":4,"state":"off"},{"q":35,"r":2,"state":"off"},{"q":35,"r":-1,"state":"off"},{"q":33,"r":-1,"state":"off"},{"q":31,"r":-1,"state":"off"},{"q":28,"r":-1,"state":"tail"},{"q":26,"r":0,"state":"tail"},{"q":22,"r":4,"state":"off"},{"q":21,"r":5,"state":"off"},{"q":20,"r":6,"state":"off"},{"q":19,"r":14,"state":"tail"},{"q":20,"r":15,"state":"tail"},{"q":25,"r":15,"state":"off"},{"q":26,"r":15,"state":"off"},{"q":28,"r":15,"state":"off"},{"q":29,"r":14,"state":"off"},{"q":30,"r":13,"state":"off"},{"q":34,"r":9,"state":"tail"},{"q":36,"r":5,"state":"tail"},{"q":36,"r":3,"state":"off"},{"q":36,"r":1,"state":"off"},{"q":36,"r":0,"state":"off"},{"q":36,"r":-2,"state":"off"},{"q":35,"r":-2,"state":"off"},{"q":34,"r":-2,"state":"off"},{"q":32,"r":-2,"state":"off"},{"q":29,"r":-2,"state":"tail"},{"q":25,"r":0,"state":"tail"},{"q":21,"r":4,"state":"off"},{"q":20,"r":5,"state":"off"},{"q":18,"r":7,"state":"off"},{"q":18,"r":14,"state":"tail"},{"q":20,"r":16,"state":"tail"},{"q":24,"r":16,"state":"off"},{"q":25,"r":16,"state":"off"},{"q":26,"r":16,"state":"off"},{"q":28,"r":16,"state":"off"},{"q":30,"r":14,"state":"off"},{"q":37,"r":2,"state":"tail"},{"q":37,"r":-1,"state":"off"},{"q":36,"r":-3,"state":"off"},{"q":35,"r":-3,"state":"off"},{"q":33,"r":-3,"state":"off"},{"q":21,"r":3,"state":"off"},{"q":18,"r":6,"state":"off"},{"q":17,"r":8,"state":"off"},{"q":24,"r":17,"state":"off"},{"q":26,"r":17,"state":"off"},{"q":29,"r":16,"state":"off"},{"q":30,"r":15,"state":"off"},{"q":34,"r":11,"state":"off"},{"q":38,"r":3,"state":"off"},{"q":38,"r":1,"state":"head"},{"q":38,"r":-1,"state":"off"},{"q":37,"r":-4,"state":"off"},{"q":34,"r":-4,"state":"off"},{"q":31,"r":-4,"state":"off"},{"q":23,"r":0,"state":"off"},{"q":20,"r":3,"state":"off"},{"q":18,"r":5,"state":"off"},{"q":16,"r":7,"state":"off"},{"q":16,"r":8,"state":"off"},{"q":16,"r":14,"state":"off"},{"q":20,"r":18,"state":"off"},{"q":24,"r":18,"state":"off"},{"q":25,"r":18,"state":"off"},{"q":27,"r":19,"state":"off"},{"q":28,"r":18,"state":"off"},{"q":29,"r":17,"state":"off"},{"q":34,"r":12,"state":"off"},{"q":39,"r":2,"state":"off"},{"q":39,"r":0,"state":"off"},{"q":39,"r":-1,"state":"off"},{"q":39,"r":-5,"state":"off"},{"q":38,"r":-5,"state":"off"},{"q":37,"r":-5,"state":"off"},{"q":36,"r":-5,"state":"off"},{"q":35,"r":-5,"state":"off"},{"q":32,"r":-5,"state":"off"},{"q":22,"r":0,"state":"off"},{"q":19,"r":3,"state":"off"},{"q":18,"r":4,"state":"off"},{"q":15,"r":7,"state":"off"},{"q":15,"r":14,"state":"off"},{"q":20,"r":19,"state":"off"},{"q":25,"r":19,"state":"off"},{"q":26,"r":19,"state":"off"},{"q":27,"r":20,"state":"off"},{"q":34,"r":13,"state":"off"},{"q":40,"r":1,"state":"off"},{"q":40,"r":-6,"state":"head"},{"q":33,"r":-6,"state":"off"},{"q":21,"r":0,"state":"off"},{"q":14,"r":7,"state":"tail"},{"q":14,"r":14,"state":"off"},{"q":20,"r":20,"state":"off"},{"q":27,"r":21,"state":"tail"},{"q":28,"r":20,"state":"tail"},{"q":29,"r":19,"state":"tail"},{"q":31,"r":17,"state":"off"},{"q":32,"r":16,"state":"off"},{"q":33,"r":15,"state":"off"},{"q":34,"r":14,"state":"off"},{"q":41,"r":0,"state":"off"},{"q":41,"r":-1,"state":"off"},{"q":41,"r":-2,"state":"off"},{"q":41,"r":-3,"state":"off"},{"q":41,"r":-5,"state":"tail"},{"q":41,"r":-6,"state":"tail"},{"q":41,"r":-7,"state":"tail"},{"q":40,"r":-7,"state":"tail"},{"q":39,"r":-7,"state":"tail"},{"q":37,"r":-7,"state":"off"},{"q":36,"r":-7,"state":"off"},{"q":35,"r":-7,"state":"off"},{"q":34,"r":-7,"state":"off"},{"q":20,"r":0,"state":"off"},{"q":19,"r":1,"state":"off"},{"q":18,"r":2,"state":"off"},{"q":17,"r":3,"state":"off"},{"q":15,"r":5,"state":"tail"},{"q":14,"r":6,"state":"tail"},{"q":13,"r":7,"state":"tail"},{"q":13,"r":8,"state":"tail"},{"q":13,"r":9,"state":"tail"},{"q":13,"r":11,"state":"off"},{"q":13,"r":12,"state":"off"},{"q":13,"r":13,"state":"off"},{"q":13,"r":14,"state":"off"},{"q":20,"r":21,"state":"off"},{"q":21,"r":21,"state":"off"},{"q":22,"r":21,"state":"off"},{"q":23,"r":21,"state":"off"},{"q":25,"r":21,"state":"tail"},{"q":26,"r":21,"state":"tail"},{"q":-8,"r":24,"state":"off"},{"q":-9,"r":25,"state":"off"},{"q":-10,"r":26,"state":"off"},{"q":-11,"r":27,"state":"off"},{"q":-8,"r":25,"state":"off"},{"q":-8,"r":26,"state":"off"},{"q":-8,"r":27,"state":"off"},{"q":-10,"r":28,"state":"off"},{"q":-12,"r":28,"state":"off"},{"q":-13,"r":29,"state":"off"},{"q":-8,"r":28,"state":"off"},{"q":-8,"r":29,"state":"off"},{"q":-9,"r":28,"state":"off"},{"q":-11,"r":28,"state":"off"},{"q":-6,"r":29,"state":"off"},{"q":-6,"r":28,"state":"off"},{"q":-6,"r":27,"state":"off"},{"q":-6,"r":26,"state":"off"},{"q":-6,"r":25,"state":"off"},{"q":-6,"r":24,"state":"off"},{"q":-5,"r":25,"state":"off"},{"q":-4,"r":26,"state":"off"},{"q":-3,"r":27,"state":"off"},{"q":-2,"r":28,"state":"off"},{"q":-2,"r":29,"state":"off"},{"q":-2,"r":25,"state":"off"},{"q":-5,"r":26,"state":"off"},{"q":-4,"r":27,"state":"off"},{"q":-3,"r":28,"state":"off"},{"q":-2,"r":27,"state":"off"},{"q":-2,"r":26,"state":"off"},{"q":-2,"r":24,"state":"off"},{"q":0,"r":29,"state":"off"},{"q":0,"r":28,"state":"off"},{"q":0,"r":27,"state":"off"},{"q":0,"r":25,"state":"off"},{"q":0,"r":24,"state":"off"},{"q":0,"r":26,"state":"off"},{"q":1,"r":24,"state":"off"},{"q":2,"r":24,"state":"off"},{"q":1,"r":29,"state":"off"},{"q":3,"r":27,"state":"off"},{"q":3,"r":26,"state":"off"},{"q":3,"r":25,"state":"off"},{"q":2,"r":25,"state":"off"},{"q":2,"r":28,"state":"off"},{"q":27,"r":24,"state":"off"},{"q":27,"r":25,"state":"off"},{"q":27,"r":26,"state":"off"},{"q":27,"r":27,"state":"off"},{"q":27,"r":28,"state":"off"},{"q":27,"r":29,"state":"off"},{"q":28,"r":29,"state":"off"},{"q":29,"r":28,"state":"off"},{"q":30,"r":27,"state":"off"},{"q":30,"r":26,"state":"off"},{"q":30,"r":25,"state":"off"},{"q":29,"r":25,"state":"off"},{"q":29,"r":24,"state":"off"},{"q":28,"r":24,"state":"off"},{"q":25,"r":24,"state":"off"},{"q":25,"r":25,"state":"off"},{"q":25,"r":26,"state":"off"},{"q":25,"r":27,"state":"off"},{"q":25,"r":29,"state":"off"},{"q":25,"r":28,"state":"off"},{"q":24,"r":28,"state":"off"},{"q":24,"r":27,"state":"off"},{"q":23,"r":27,"state":"off"},{"q":23,"r":26,"state":"off"},{"q":22,"r":26,"state":"off"},{"q":22,"r":25,"state":"off"},{"q":21,"r":24,"state":"off"},{"q":21,"r":26,"state":"off"},{"q":21,"r":25,"state":"off"},{"q":21,"r":27,"state":"off"},{"q":21,"r":28,"state":"off"},{"q":21,"r":29,"state":"off"},{"q":19,"r":29,"state":"off"},{"q":19,"r":28,"state":"off"},{"q":19,"r":27,"state":"off"},{"q":19,"r":26,"state":"off"},{"q":19,"r":25,"state":"off"},{"q":19,"r":24,"state":"off"},{"q":18,"r":25,"state":"off"},{"q":17,"r":26,"state":"off"},{"q":16,"r":27,"state":"off"},{"q":15,"r":28,"state":"off"},{"q":14,"r":29,"state":"off"},{"q":16,"r":28,"state":"off"},{"q":17,"r":28,"state":"off"},{"q":18,"r":28,"state":"off"},{"q":12,"r":29,"state":"off"},{"q":13,"r":28,"state":"off"},{"q":14,"r":27,"state":"off"},{"q":15,"r":26,"state":"off"},{"q":16,"r":25,"state":"off"},{"q":17,"r":24,"state":"off"},{"q":13,"r":26,"state":"off"},{"q":13,"r":25,"state":"off"},{"q":13,"r":24,"state":"off"},{"q":12,"r":25,"state":"off"},{"q":11,"r":26,"state":"off"},{"q":10,"r":27,"state":"off"},{"q":9,"r":28,"state":"off"},{"q":8,"r":29,"state":"off"},{"q":12,"r":28,"state":"off"},{"q":12,"r":27,"state":"off"}]'
 }
diff --git a/icn.png b/icn.png
new file mode 100644 (file)
index 0000000..6deaf8b
Binary files /dev/null and b/icn.png differ
diff --git a/icn.xcf b/icn.xcf
new file mode 100644 (file)
index 0000000..5609042
Binary files /dev/null and b/icn.xcf differ
index fb2e6884d6b6c244b6ae108abf2ddfc32ecb1748..26a8bbbe71d5b2fc585a8c6b92a5323c51247aaf 100644 (file)
@@ -27,6 +27,7 @@
                                        margin-left: 15px;
                        }
                </style>
+               <link rel="icon" type="image/png" href="icn.png"/>
     <title>hww</title>
   </head>
   <body onload="run()" style="background-color: #f8f8ff;">
diff --git a/nand_perfection.org b/nand_perfection.org
new file mode 100644 (file)
index 0000000..b1f2fcf
--- /dev/null
@@ -0,0 +1,36 @@
+* doing others here too...
+** AND
+*** timed and (i think)
+               [{"q":4,"r":6,"state":"off"},{"q":2,"r":7,"state":"off"},{"q":4,"r":8,"state":"off"},{"q":5,"r":7,"state":"off"},{"q":5,"r":5,"state":"off"},{"q":1,"r":7,"state":"off"},{"q":1,"r":9,"state":"off"},{"q":2,"r":9,"state":"off"},{"q":3,"r":10,"state":"off"},{"q":4,"r":9,"state":"off"},{"q":6,"r":7,"state":"off"},{"q":6,"r":6,"state":"off"},{"q":6,"r":4,"state":"off"},{"q":0,"r":7,"state":"off"},{"q":0,"r":9,"state":"off"},{"q":0,"r":10,"state":"off"},{"q":2,"r":10,"state":"off"},{"q":3,"r":11,"state":"off"},{"q":5,"r":9,"state":"off"},{"q":6,"r":8,"state":"off"},{"q":7,"r":7,"state":"off"},{"q":7,"r":6,"state":"off"},{"q":7,"r":4,"state":"off"},{"q":5,"r":3,"state":"off"},{"q":4,"r":3,"state":"head"},{"q":2,"r":4,"state":"head"},{"q":1,"r":5,"state":"off"},{"q":-1,"r":8,"state":"off"},{"q":-1,"r":10,"state":"off"},{"q":-1,"r":11,"state":"off"},{"q":0,"r":11,"state":"off"},{"q":1,"r":11,"state":"off"},{"q":8,"r":5,"state":"off"},{"q":6,"r":2,"state":"off"},{"q":4,"r":2,"state":"tail"},{"q":2,"r":3,"state":"tail"},{"q":0,"r":5,"state":"off"},{"q":-2,"r":10,"state":"off"},{"q":2,"r":12,"state":"off"},{"q":3,"r":13,"state":"off"},{"q":4,"r":12,"state":"off"},{"q":5,"r":11,"state":"off"},{"q":6,"r":10,"state":"off"},{"q":7,"r":9,"state":"off"},{"q":9,"r":5,"state":"off"},{"q":9,"r":1,"state":"off"},{"q":6,"r":1,"state":"off"},{"q":4,"r":1,"state":"off"},{"q":2,"r":2,"state":"off"},{"q":0,"r":4,"state":"off"},{"q":-3,"r":7,"state":"off"},{"q":-3,"r":11,"state":"off"},{"q":0,"r":13,"state":"off"},{"q":1,"r":13,"state":"off"},{"q":8,"r":9,"state":"head"},{"q":10,"r":7,"state":"tail"},{"q":10,"r":4,"state":"off"},{"q":10,"r":3,"state":"off"},{"q":10,"r":2,"state":"off"},{"q":10,"r":1,"state":"off"},{"q":10,"r":0,"state":"off"},{"q":9,"r":0,"state":"off"},{"q":8,"r":0,"state":"off"},{"q":7,"r":0,"state":"off"},{"q":5,"r":0,"state":"off"},{"q":3,"r":0,"state":"tail"},{"q":1,"r":2,"state":"off"},{"q":-1,"r":4,"state":"off"},{"q":-2,"r":5,"state":"off"},{"q":-3,"r":6,"state":"off"},{"q":-4,"r":7,"state":"off"},{"q":-4,"r":8,"state":"off"},{"q":-4,"r":9,"state":"off"},{"q":-4,"r":10,"state":"off"},{"q":-4,"r":11,"state":"off"},{"q":-4,"r":14,"state":"tail"},{"q":-1,"r":14,"state":"off"},{"q":2,"r":14,"state":"off"},{"q":3,"r":15,"state":"off"},{"q":4,"r":14,"state":"off"},{"q":6,"r":12,"state":"off"},{"q":8,"r":10,"state":"tail"},{"q":10,"r":8,"state":"tail"},{"q":11,"r":6,"state":"tail"},{"q":11,"r":0,"state":"off"},{"q":11,"r":-1,"state":"off"},{"q":9,"r":-1,"state":"off"},{"q":6,"r":-1,"state":"off"},{"q":4,"r":-1,"state":"tail"},{"q":2,"r":0,"state":"tail"},{"q":0,"r":2,"state":"off"},{"q":-3,"r":5,"state":"off"},{"q":-5,"r":7,"state":"off"},{"q":-5,"r":8,"state":"off"},{"q":-5,"r":14,"state":"tail"},{"q":-4,"r":15,"state":"tail"},{"q":-1,"r":15,"state":"off"},{"q":0,"r":15,"state":"off"},{"q":2,"r":15,"state":"off"},{"q":5,"r":14,"state":"off"},{"q":8,"r":11,"state":"off"},{"q":10,"r":9,"state":"tail"},{"q":12,"r":5,"state":"tail"},{"q":12,"r":-2,"state":"off"},{"q":9,"r":-2,"state":"off"},{"q":7,"r":-2,"state":"off"},{"q":5,"r":-2,"state":"tail"},{"q":1,"r":0,"state":"tail"},{"q":-1,"r":2,"state":"off"},{"q":-3,"r":4,"state":"off"},{"q":-6,"r":7,"state":"off"},{"q":-6,"r":14,"state":"tail"},{"q":-4,"r":16,"state":"tail"},{"q":-2,"r":16,"state":"off"},{"q":-1,"r":16,"state":"off"},{"q":0,"r":16,"state":"off"},{"q":6,"r":14,"state":"off"},{"q":8,"r":12,"state":"off"},{"q":13,"r":-2,"state":"off"},{"q":12,"r":-3,"state":"off"},{"q":10,"r":-3,"state":"off"},{"q":8,"r":-3,"state":"off"},{"q":-2,"r":2,"state":"off"},{"q":-4,"r":4,"state":"off"},{"q":-6,"r":6,"state":"off"},{"q":-7,"r":8,"state":"off"},{"q":-2,"r":17,"state":"off"},{"q":0,"r":17,"state":"off"},{"q":3,"r":18,"state":"off"},{"q":4,"r":17,"state":"off"},{"q":5,"r":16,"state":"off"},{"q":6,"r":15,"state":"off"},{"q":8,"r":13,"state":"off"},{"q":10,"r":11,"state":"off"},{"q":14,"r":3,"state":"off"},{"q":14,"r":-3,"state":"off"},{"q":14,"r":-4,"state":"off"},{"q":13,"r":-4,"state":"off"},{"q":11,"r":-4,"state":"off"},{"q":9,"r":-4,"state":"off"},{"q":7,"r":-4,"state":"off"},{"q":-1,"r":0,"state":"off"},{"q":-3,"r":2,"state":"off"},{"q":-5,"r":4,"state":"off"},{"q":-7,"r":6,"state":"off"},{"q":-8,"r":7,"state":"off"},{"q":-8,"r":8,"state":"off"},{"q":-8,"r":14,"state":"off"},{"q":-4,"r":18,"state":"off"},{"q":-2,"r":18,"state":"off"},{"q":-1,"r":18,"state":"off"},{"q":1,"r":18,"state":"off"},{"q":2,"r":18,"state":"off"},{"q":3,"r":19,"state":"off"},{"q":4,"r":18,"state":"off"},{"q":7,"r":15,"state":"off"},{"q":8,"r":14,"state":"off"},{"q":10,"r":12,"state":"off"},{"q":15,"r":2,"state":"off"},{"q":15,"r":-4,"state":"off"},{"q":15,"r":-5,"state":"off"},{"q":14,"r":-5,"state":"off"},{"q":11,"r":-5,"state":"off"},{"q":10,"r":-5,"state":"off"},{"q":8,"r":-5,"state":"off"},{"q":-2,"r":0,"state":"off"},{"q":-4,"r":2,"state":"off"},{"q":-5,"r":3,"state":"off"},{"q":-8,"r":6,"state":"off"},{"q":-9,"r":7,"state":"off"},{"q":-9,"r":8,"state":"off"},{"q":-9,"r":14,"state":"off"},{"q":-4,"r":19,"state":"off"},{"q":-1,"r":19,"state":"off"},{"q":0,"r":19,"state":"off"},{"q":2,"r":19,"state":"off"},{"q":3,"r":20,"state":"off"},{"q":10,"r":13,"state":"off"},{"q":16,"r":1,"state":"off"},{"q":16,"r":-6,"state":"head"},{"q":9,"r":-6,"state":"off"},{"q":-3,"r":0,"state":"off"},{"q":-10,"r":7,"state":"head"},{"q":-10,"r":14,"state":"off"},{"q":-4,"r":20,"state":"off"},{"q":3,"r":21,"state":"tail"},{"q":4,"r":20,"state":"tail"},{"q":5,"r":19,"state":"tail"},{"q":7,"r":17,"state":"off"},{"q":8,"r":16,"state":"off"},{"q":9,"r":15,"state":"off"},{"q":10,"r":14,"state":"off"},{"q":17,"r":0,"state":"off"},{"q":17,"r":-1,"state":"off"},{"q":17,"r":-2,"state":"off"},{"q":17,"r":-3,"state":"off"},{"q":17,"r":-5,"state":"tail"},{"q":17,"r":-6,"state":"tail"},{"q":17,"r":-7,"state":"tail"},{"q":16,"r":-7,"state":"tail"},{"q":15,"r":-7,"state":"tail"},{"q":13,"r":-7,"state":"off"},{"q":12,"r":-7,"state":"off"},{"q":11,"r":-7,"state":"off"},{"q":10,"r":-7,"state":"off"},{"q":-4,"r":0,"state":"off"},{"q":-5,"r":1,"state":"off"},{"q":-6,"r":2,"state":"off"},{"q":-7,"r":3,"state":"off"},{"q":-9,"r":5,"state":"tail"},{"q":-10,"r":6,"state":"tail"},{"q":-11,"r":7,"state":"tail"},{"q":-11,"r":8,"state":"tail"},{"q":-11,"r":9,"state":"tail"},{"q":-11,"r":11,"state":"off"},{"q":-11,"r":12,"state":"off"},{"q":-11,"r":13,"state":"off"},{"q":-11,"r":14,"state":"off"},{"q":-4,"r":21,"state":"off"},{"q":-3,"r":21,"state":"off"},{"q":-2,"r":21,"state":"off"},{"q":-1,"r":21,"state":"off"},{"q":1,"r":21,"state":"tail"},{"q":2,"r":21,"state":"tail"}]
+*** slow but functional
+               [{"q":13,"r":9,"state":"tail"},{"q":6,"r":2,"state":"tail"},{"q":-1,"r":16,"state":"tail"},{"q":13,"r":10,"state":"tail"},{"q":14,"r":8,"state":"tail"},{"q":7,"r":1,"state":"tail"},{"q":5,"r":2,"state":"tail"},{"q":-2,"r":16,"state":"tail"},{"q":-1,"r":17,"state":"tail"},{"q":13,"r":11,"state":"tail"},{"q":15,"r":7,"state":"tail"},{"q":8,"r":0,"state":"tail"},{"q":4,"r":2,"state":"tail"},{"q":-3,"r":16,"state":"tail"},{"q":-1,"r":18,"state":"tail"},{"q":13,"r":13,"state":"off"},{"q":17,"r":5,"state":"off"},{"q":10,"r":-2,"state":"off"},{"q":2,"r":2,"state":"off"},{"q":-5,"r":16,"state":"off"},{"q":-1,"r":20,"state":"off"},{"q":13,"r":14,"state":"off"},{"q":18,"r":4,"state":"off"},{"q":11,"r":-3,"state":"off"},{"q":1,"r":2,"state":"off"},{"q":-6,"r":16,"state":"off"},{"q":-1,"r":21,"state":"off"},{"q":13,"r":15,"state":"off"},{"q":19,"r":3,"state":"off"},{"q":12,"r":-4,"state":"off"},{"q":0,"r":2,"state":"off"},{"q":-7,"r":16,"state":"off"},{"q":-1,"r":22,"state":"off"},{"q":6,"r":23,"state":"tail"},{"q":7,"r":22,"state":"tail"},{"q":8,"r":21,"state":"tail"},{"q":10,"r":19,"state":"off"},{"q":11,"r":18,"state":"off"},{"q":12,"r":17,"state":"off"},{"q":13,"r":16,"state":"off"},{"q":20,"r":2,"state":"off"},{"q":20,"r":1,"state":"off"},{"q":20,"r":0,"state":"off"},{"q":20,"r":-1,"state":"off"},{"q":20,"r":-3,"state":"tail"},{"q":20,"r":-4,"state":"tail"},{"q":20,"r":-5,"state":"tail"},{"q":19,"r":-5,"state":"tail"},{"q":18,"r":-5,"state":"tail"},{"q":16,"r":-5,"state":"off"},{"q":15,"r":-5,"state":"off"},{"q":14,"r":-5,"state":"off"},{"q":13,"r":-5,"state":"off"},{"q":-1,"r":2,"state":"off"},{"q":-2,"r":3,"state":"off"},{"q":-3,"r":4,"state":"off"},{"q":-4,"r":5,"state":"off"},{"q":-6,"r":7,"state":"tail"},{"q":-7,"r":8,"state":"tail"},{"q":-8,"r":9,"state":"tail"},{"q":-8,"r":10,"state":"tail"},{"q":-8,"r":11,"state":"tail"},{"q":-8,"r":13,"state":"off"},{"q":-8,"r":14,"state":"off"},{"q":-8,"r":15,"state":"off"},{"q":-8,"r":16,"state":"off"},{"q":-1,"r":23,"state":"off"},{"q":0,"r":23,"state":"off"},{"q":1,"r":23,"state":"off"},{"q":2,"r":23,"state":"off"},{"q":4,"r":23,"state":"tail"},{"q":5,"r":23,"state":"tail"},{"q":6,"r":4,"state":"head"},{"q":5,"r":6,"state":"off"},{"q":7,"r":3,"state":"off"},{"q":9,"r":1,"state":"off"},{"q":10,"r":0,"state":"off"},{"q":11,"r":1,"state":"off"},{"q":10,"r":2,"state":"off"},{"q":19,"r":-4,"state":"head"},{"q":18,"r":-3,"state":"off"},{"q":17,"r":-2,"state":"off"},{"q":12,"r":3,"state":"off"},{"q":11,"r":4,"state":"off"},{"q":14,"r":0,"state":"off"},{"q":13,"r":1,"state":"off"},{"q":16,"r":0,"state":"off"},{"q":12,"r":-1,"state":"off"},{"q":-6,"r":9,"state":"off"},{"q":-7,"r":9,"state":"head"},{"q":-6,"r":10,"state":"off"},{"q":13,"r":-2,"state":"off"},{"q":11,"r":-1,"state":"off"},{"q":12,"r":0,"state":"off"},{"q":9,"r":3,"state":"off"},{"q":8,"r":2,"state":"off"},{"q":11,"r":3,"state":"off"},{"q":12,"r":4,"state":"off"},{"q":8,"r":8,"state":"off"},{"q":1,"r":9,"state":"off"},{"q":18,"r":-1,"state":"off"},{"q":16,"r":1,"state":"off"},{"q":18,"r":0,"state":"off"},{"q":17,"r":-1,"state":"off"},{"q":17,"r":0,"state":"off"},{"q":18,"r":1,"state":"off"},{"q":17,"r":2,"state":"off"},{"q":16,"r":2,"state":"off"},{"q":17,"r":3,"state":"off"},{"q":16,"r":4,"state":"off"},{"q":14,"r":4,"state":"off"},{"q":14,"r":3,"state":"off"},{"q":15,"r":-1,"state":"off"},{"q":15,"r":-2,"state":"off"},{"q":13,"r":3,"state":"off"},{"q":12,"r":2,"state":"off"},{"q":15,"r":5,"state":"off"},{"q":14,"r":5,"state":"off"},{"q":10,"r":5,"state":"off"},{"q":5,"r":7,"state":"off"},{"q":1,"r":6,"state":"off"},{"q":0,"r":6,"state":"off"},{"q":-1,"r":6,"state":"off"},{"q":-1,"r":5,"state":"off"},{"q":0,"r":4,"state":"off"},{"q":1,"r":4,"state":"off"},{"q":2,"r":4,"state":"off"},{"q":9,"r":4,"state":"off"},{"q":8,"r":5,"state":"off"},{"q":14,"r":-3,"state":"off"},{"q":15,"r":-3,"state":"off"},{"q":10,"r":6,"state":"off"},{"q":6,"r":9,"state":"off"},{"q":3,"r":7,"state":"off"},{"q":4,"r":7,"state":"off"},{"q":3,"r":8,"state":"off"},{"q":2,"r":8,"state":"off"},{"q":2,"r":5,"state":"off"},{"q":-2,"r":5,"state":"off"},{"q":5,"r":5,"state":"tail"},{"q":7,"r":6,"state":"off"},{"q":6,"r":7,"state":"off"},{"q":3,"r":5,"state":"off"},{"q":0,"r":5,"state":"off"},{"q":3,"r":6,"state":"off"},{"q":2,"r":7,"state":"off"},{"q":-3,"r":6,"state":"off"},{"q":0,"r":12,"state":"off"},{"q":-3,"r":9,"state":"off"},{"q":-5,"r":10,"state":"off"},{"q":-3,"r":7,"state":"off"},{"q":-3,"r":8,"state":"off"},{"q":-4,"r":10,"state":"off"},{"q":3,"r":14,"state":"off"},{"q":6,"r":22,"state":"off"},{"q":6,"r":21,"state":"off"},{"q":3,"r":16,"state":"off"},{"q":4,"r":19,"state":"tail"},{"q":5,"r":21,"state":"off"},{"q":4,"r":21,"state":"off"},{"q":11,"r":11,"state":"off"},{"q":11,"r":12,"state":"off"},{"q":11,"r":13,"state":"off"},{"q":11,"r":14,"state":"off"},{"q":11,"r":15,"state":"off"},{"q":8,"r":18,"state":"off"},{"q":6,"r":18,"state":"off"},{"q":4,"r":12,"state":"off"},{"q":5,"r":10,"state":"off"},{"q":2,"r":17,"state":"off"},{"q":2,"r":19,"state":"off"},{"q":3,"r":21,"state":"off"},{"q":3,"r":20,"state":"off"},{"q":2,"r":20,"state":"off"},{"q":1,"r":12,"state":"off"},{"q":-1,"r":13,"state":"off"},{"q":0,"r":14,"state":"off"},{"q":6,"r":10,"state":"off"},{"q":2,"r":13,"state":"off"},{"q":-1,"r":14,"state":"off"},{"q":-2,"r":13,"state":"off"},{"q":9,"r":8,"state":"off"},{"q":2,"r":15,"state":"off"},{"q":1,"r":17,"state":"off"},{"q":7,"r":18,"state":"off"},{"q":5,"r":17,"state":"off"},{"q":9,"r":17,"state":"off"},{"q":7,"r":8,"state":"off"},{"q":5,"r":9,"state":"off"},{"q":4,"r":10,"state":"off"},{"q":3,"r":11,"state":"off"},{"q":3,"r":12,"state":"off"},{"q":5,"r":11,"state":"off"},{"q":-1,"r":12,"state":"off"},{"q":-2,"r":14,"state":"off"},{"q":-3,"r":13,"state":"off"},{"q":-2,"r":11,"state":"off"},{"q":-3,"r":12,"state":"off"},{"q":-1,"r":10,"state":"off"},{"q":1,"r":13,"state":"off"},{"q":2,"r":14,"state":"off"},{"q":3,"r":15,"state":"off"},{"q":1,"r":15,"state":"off"},{"q":1,"r":16,"state":"off"},{"q":2,"r":18,"state":"off"},{"q":4,"r":18,"state":"head"},{"q":6,"r":17,"state":"off"},{"q":3,"r":19,"state":"tail"},{"q":0,"r":9,"state":"off"},{"q":10,"r":8,"state":"off"},{"q":11,"r":7,"state":"off"},{"q":11,"r":6,"state":"off"},{"q":8,"r":10,"state":"off"},{"q":7,"r":11,"state":"off"},{"q":6,"r":12,"state":"head"},{"q":5,"r":13,"state":"tail"},{"q":5,"r":15,"state":"off"},{"q":5,"r":14,"state":"off"},{"q":9,"r":10,"state":"off"},{"q":10,"r":10,"state":"off"},{"q":11,"r":10,"state":"off"},{"q":6,"r":15,"state":"off"},{"q":9,"r":15,"state":"off"},{"q":8,"r":15,"state":"off"},{"q":10,"r":15,"state":"off"},{"q":11,"r":16,"state":"off"},{"q":10,"r":17,"state":"off"},{"q":7,"r":15,"state":"off"}]
+*** faster faster, but not sync'd to others
+nvm bork
+*** AND with NAND
+               AND is two cycles faster...
+               [{"q":8,"r":10,"state":"off"},{"q":4,"r":12,"state":"off"},{"q":6,"r":13,"state":"off"},{"q":7,"r":12,"state":"off"},{"q":8,"r":11,"state":"off"},{"q":9,"r":9,"state":"off"},{"q":3,"r":12,"state":"off"},{"q":4,"r":13,"state":"off"},{"q":5,"r":13,"state":"off"},{"q":6,"r":14,"state":"off"},{"q":9,"r":11,"state":"off"},{"q":10,"r":10,"state":"off"},{"q":10,"r":9,"state":"off"},{"q":10,"r":8,"state":"off"},{"q":2,"r":12,"state":"off"},{"q":2,"r":13,"state":"off"},{"q":2,"r":14,"state":"off"},{"q":3,"r":14,"state":"off"},{"q":11,"r":9,"state":"off"},{"q":11,"r":8,"state":"off"},{"q":11,"r":6,"state":"off"},{"q":11,"r":5,"state":"off"},{"q":8,"r":5,"state":"off"},{"q":7,"r":5,"state":"off"},{"q":5,"r":6,"state":"off"},{"q":4,"r":7,"state":"off"},{"q":1,"r":10,"state":"off"},{"q":1,"r":11,"state":"off"},{"q":1,"r":13,"state":"off"},{"q":1,"r":14,"state":"off"},{"q":4,"r":15,"state":"off"},{"q":5,"r":15,"state":"off"},{"q":6,"r":16,"state":"off"},{"q":7,"r":15,"state":"off"},{"q":8,"r":14,"state":"off"},{"q":9,"r":13,"state":"head"},{"q":10,"r":12,"state":"tail"},{"q":12,"r":7,"state":"off"},{"q":12,"r":6,"state":"off"},{"q":12,"r":5,"state":"off"},{"q":11,"r":4,"state":"off"},{"q":9,"r":4,"state":"off"},{"q":7,"r":4,"state":"off"},{"q":5,"r":5,"state":"off"},{"q":3,"r":7,"state":"off"},{"q":1,"r":9,"state":"off"},{"q":0,"r":11,"state":"off"},{"q":0,"r":12,"state":"off"},{"q":0,"r":13,"state":"off"},{"q":3,"r":16,"state":"off"},{"q":11,"r":12,"state":"off"},{"q":13,"r":10,"state":"tail"},{"q":13,"r":5,"state":"off"},{"q":13,"r":4,"state":"off"},{"q":11,"r":3,"state":"off"},{"q":10,"r":3,"state":"off"},{"q":8,"r":3,"state":"head"},{"q":6,"r":3,"state":"tail"},{"q":4,"r":5,"state":"head"},{"q":2,"r":7,"state":"off"},{"q":1,"r":8,"state":"off"},{"q":-1,"r":11,"state":"off"},{"q":-1,"r":12,"state":"off"},{"q":-1,"r":17,"state":"tail"},{"q":2,"r":17,"state":"off"},{"q":5,"r":17,"state":"off"},{"q":6,"r":18,"state":"off"},{"q":7,"r":17,"state":"off"},{"q":11,"r":13,"state":"off"},{"q":13,"r":11,"state":"tail"},{"q":14,"r":9,"state":"tail"},{"q":14,"r":3,"state":"off"},{"q":14,"r":2,"state":"off"},{"q":12,"r":2,"state":"off"},{"q":9,"r":2,"state":"tail"},{"q":7,"r":2,"state":"tail"},{"q":5,"r":3,"state":"tail"},{"q":3,"r":5,"state":"tail"},{"q":0,"r":8,"state":"off"},{"q":-2,"r":10,"state":"off"},{"q":-2,"r":11,"state":"off"},{"q":-2,"r":17,"state":"tail"},{"q":-1,"r":18,"state":"tail"},{"q":2,"r":18,"state":"off"},{"q":3,"r":18,"state":"off"},{"q":5,"r":18,"state":"off"},{"q":8,"r":17,"state":"off"},{"q":11,"r":14,"state":"off"},{"q":13,"r":12,"state":"tail"},{"q":15,"r":8,"state":"tail"},{"q":15,"r":3,"state":"off"},{"q":15,"r":1,"state":"off"},{"q":12,"r":1,"state":"off"},{"q":10,"r":1,"state":"off"},{"q":8,"r":1,"state":"tail"},{"q":4,"r":3,"state":"tail"},{"q":2,"r":5,"state":"off"},{"q":0,"r":7,"state":"off"},{"q":-3,"r":10,"state":"off"},{"q":-3,"r":12,"state":"off"},{"q":-3,"r":17,"state":"tail"},{"q":-1,"r":19,"state":"tail"},{"q":1,"r":19,"state":"off"},{"q":2,"r":19,"state":"off"},{"q":3,"r":19,"state":"off"},{"q":9,"r":17,"state":"off"},{"q":11,"r":15,"state":"off"},{"q":16,"r":2,"state":"off"},{"q":16,"r":1,"state":"off"},{"q":16,"r":0,"state":"off"},{"q":14,"r":0,"state":"off"},{"q":13,"r":0,"state":"off"},{"q":11,"r":0,"state":"off"},{"q":1,"r":5,"state":"off"},{"q":-1,"r":7,"state":"off"},{"q":-2,"r":8,"state":"off"},{"q":-4,"r":10,"state":"off"},{"q":-4,"r":11,"state":"off"},{"q":-4,"r":12,"state":"off"},{"q":1,"r":20,"state":"off"},{"q":3,"r":20,"state":"off"},{"q":6,"r":21,"state":"off"},{"q":7,"r":20,"state":"off"},{"q":8,"r":19,"state":"off"},{"q":9,"r":18,"state":"off"},{"q":11,"r":16,"state":"off"},{"q":13,"r":14,"state":"off"},{"q":17,"r":6,"state":"off"},{"q":17,"r":1,"state":"off"},{"q":17,"r":0,"state":"off"},{"q":15,"r":-1,"state":"off"},{"q":12,"r":-1,"state":"off"},{"q":10,"r":-1,"state":"off"},{"q":2,"r":3,"state":"off"},{"q":0,"r":5,"state":"off"},{"q":-3,"r":8,"state":"off"},{"q":-5,"r":11,"state":"off"},{"q":-5,"r":12,"state":"off"},{"q":-5,"r":17,"state":"off"},{"q":-1,"r":21,"state":"off"},{"q":1,"r":21,"state":"off"},{"q":2,"r":21,"state":"off"},{"q":4,"r":21,"state":"off"},{"q":5,"r":21,"state":"off"},{"q":6,"r":22,"state":"off"},{"q":7,"r":21,"state":"off"},{"q":10,"r":18,"state":"off"},{"q":11,"r":17,"state":"off"},{"q":13,"r":15,"state":"off"},{"q":18,"r":5,"state":"off"},{"q":18,"r":-1,"state":"off"},{"q":18,"r":-2,"state":"off"},{"q":15,"r":-2,"state":"off"},{"q":14,"r":-2,"state":"off"},{"q":13,"r":-2,"state":"off"},{"q":11,"r":-2,"state":"off"},{"q":1,"r":3,"state":"off"},{"q":-1,"r":5,"state":"off"},{"q":-2,"r":6,"state":"off"},{"q":-3,"r":7,"state":"off"},{"q":-6,"r":10,"state":"off"},{"q":-6,"r":11,"state":"off"},{"q":-6,"r":17,"state":"off"},{"q":-1,"r":22,"state":"off"},{"q":2,"r":22,"state":"off"},{"q":3,"r":22,"state":"off"},{"q":5,"r":22,"state":"off"},{"q":6,"r":23,"state":"off"},{"q":13,"r":16,"state":"off"},{"q":19,"r":4,"state":"off"},{"q":19,"r":-3,"state":"head"},{"q":12,"r":-3,"state":"off"},{"q":0,"r":3,"state":"off"},{"q":-7,"r":10,"state":"head"},{"q":-7,"r":17,"state":"off"},{"q":-1,"r":23,"state":"off"},{"q":6,"r":24,"state":"tail"},{"q":7,"r":23,"state":"tail"},{"q":8,"r":22,"state":"tail"},{"q":10,"r":20,"state":"off"},{"q":11,"r":19,"state":"off"},{"q":12,"r":18,"state":"off"},{"q":13,"r":17,"state":"off"},{"q":20,"r":3,"state":"off"},{"q":20,"r":2,"state":"off"},{"q":20,"r":1,"state":"off"},{"q":20,"r":0,"state":"off"},{"q":20,"r":-2,"state":"tail"},{"q":20,"r":-3,"state":"tail"},{"q":20,"r":-4,"state":"tail"},{"q":19,"r":-4,"state":"tail"},{"q":18,"r":-4,"state":"tail"},{"q":16,"r":-4,"state":"off"},{"q":15,"r":-4,"state":"off"},{"q":14,"r":-4,"state":"off"},{"q":13,"r":-4,"state":"off"},{"q":-1,"r":3,"state":"off"},{"q":-2,"r":4,"state":"off"},{"q":-3,"r":5,"state":"off"},{"q":-4,"r":6,"state":"off"},{"q":-6,"r":8,"state":"tail"},{"q":-7,"r":9,"state":"tail"},{"q":-8,"r":10,"state":"tail"},{"q":-8,"r":11,"state":"tail"},{"q":-8,"r":12,"state":"tail"},{"q":-8,"r":14,"state":"off"},{"q":-8,"r":15,"state":"off"},{"q":-8,"r":16,"state":"off"},{"q":-8,"r":17,"state":"off"},{"q":-1,"r":24,"state":"off"},{"q":0,"r":24,"state":"off"},{"q":1,"r":24,"state":"off"},{"q":2,"r":24,"state":"off"},{"q":4,"r":24,"state":"tail"},{"q":5,"r":24,"state":"tail"},{"q":33,"r":11,"state":"off"},{"q":34,"r":11,"state":"off"},{"q":32,"r":12,"state":"off"},{"q":33,"r":13,"state":"off"},{"q":35,"r":10,"state":"off"},{"q":35,"r":9,"state":"off"},{"q":33,"r":9,"state":"off"},{"q":32,"r":10,"state":"off"},{"q":31,"r":13,"state":"off"},{"q":34,"r":13,"state":"off"},{"q":36,"r":8,"state":"off"},{"q":34,"r":8,"state":"off"},{"q":33,"r":8,"state":"off"},{"q":31,"r":10,"state":"off"},{"q":30,"r":11,"state":"off"},{"q":30,"r":12,"state":"off"},{"q":31,"r":14,"state":"off"},{"q":32,"r":14,"state":"off"},{"q":33,"r":15,"state":"off"},{"q":34,"r":14,"state":"off"},{"q":37,"r":11,"state":"off"},{"q":37,"r":10,"state":"off"},{"q":37,"r":7,"state":"off"},{"q":34,"r":7,"state":"off"},{"q":33,"r":7,"state":"off"},{"q":32,"r":8,"state":"off"},{"q":31,"r":9,"state":"off"},{"q":29,"r":12,"state":"off"},{"q":29,"r":13,"state":"off"},{"q":29,"r":14,"state":"off"},{"q":29,"r":15,"state":"off"},{"q":33,"r":16,"state":"off"},{"q":38,"r":11,"state":"off"},{"q":38,"r":9,"state":"off"},{"q":38,"r":7,"state":"off"},{"q":38,"r":6,"state":"off"},{"q":37,"r":6,"state":"off"},{"q":35,"r":6,"state":"off"},{"q":28,"r":12,"state":"off"},{"q":28,"r":13,"state":"off"},{"q":29,"r":16,"state":"off"},{"q":30,"r":16,"state":"off"},{"q":31,"r":16,"state":"off"},{"q":34,"r":16,"state":"off"},{"q":39,"r":10,"state":"off"},{"q":39,"r":8,"state":"off"},{"q":39,"r":6,"state":"off"},{"q":38,"r":5,"state":"off"},{"q":35,"r":5,"state":"off"},{"q":28,"r":10,"state":"off"},{"q":27,"r":11,"state":"off"},{"q":27,"r":12,"state":"off"},{"q":31,"r":17,"state":"off"},{"q":35,"r":16,"state":"off"},{"q":40,"r":11,"state":"tail"},{"q":40,"r":9,"state":"off"},{"q":40,"r":7,"state":"off"},{"q":40,"r":6,"state":"off"},{"q":40,"r":4,"state":"off"},{"q":39,"r":4,"state":"off"},{"q":36,"r":4,"state":"off"},{"q":33,"r":4,"state":"tail"},{"q":28,"r":9,"state":"off"},{"q":26,"r":11,"state":"off"},{"q":26,"r":18,"state":"tail"},{"q":31,"r":18,"state":"off"},{"q":34,"r":18,"state":"off"},{"q":35,"r":17,"state":"off"},{"q":40,"r":12,"state":"tail"},{"q":41,"r":10,"state":"tail"},{"q":41,"r":8,"state":"off"},{"q":41,"r":6,"state":"off"},{"q":41,"r":3,"state":"off"},{"q":39,"r":3,"state":"off"},{"q":37,"r":3,"state":"off"},{"q":34,"r":3,"state":"tail"},{"q":32,"r":4,"state":"tail"},{"q":28,"r":8,"state":"off"},{"q":27,"r":9,"state":"off"},{"q":26,"r":10,"state":"off"},{"q":25,"r":18,"state":"tail"},{"q":26,"r":19,"state":"tail"},{"q":31,"r":19,"state":"off"},{"q":32,"r":19,"state":"off"},{"q":34,"r":19,"state":"off"},{"q":35,"r":18,"state":"off"},{"q":36,"r":17,"state":"off"},{"q":40,"r":13,"state":"tail"},{"q":42,"r":9,"state":"tail"},{"q":42,"r":7,"state":"off"},{"q":42,"r":5,"state":"off"},{"q":42,"r":4,"state":"off"},{"q":42,"r":2,"state":"off"},{"q":41,"r":2,"state":"off"},{"q":40,"r":2,"state":"off"},{"q":38,"r":2,"state":"off"},{"q":35,"r":2,"state":"tail"},{"q":31,"r":4,"state":"tail"},{"q":27,"r":8,"state":"off"},{"q":26,"r":9,"state":"off"},{"q":24,"r":11,"state":"off"},{"q":24,"r":18,"state":"tail"},{"q":26,"r":20,"state":"tail"},{"q":30,"r":20,"state":"off"},{"q":31,"r":20,"state":"off"},{"q":32,"r":20,"state":"off"},{"q":34,"r":20,"state":"off"},{"q":36,"r":18,"state":"off"},{"q":43,"r":6,"state":"tail"},{"q":43,"r":3,"state":"off"},{"q":42,"r":1,"state":"off"},{"q":41,"r":1,"state":"off"},{"q":39,"r":1,"state":"off"},{"q":27,"r":7,"state":"off"},{"q":24,"r":10,"state":"off"},{"q":23,"r":12,"state":"off"},{"q":30,"r":21,"state":"off"},{"q":32,"r":21,"state":"off"},{"q":35,"r":20,"state":"off"},{"q":36,"r":19,"state":"off"},{"q":40,"r":15,"state":"off"},{"q":44,"r":7,"state":"off"},{"q":44,"r":5,"state":"head"},{"q":44,"r":3,"state":"off"},{"q":43,"r":0,"state":"off"},{"q":40,"r":0,"state":"off"},{"q":37,"r":0,"state":"off"},{"q":29,"r":4,"state":"off"},{"q":26,"r":7,"state":"off"},{"q":24,"r":9,"state":"off"},{"q":22,"r":11,"state":"off"},{"q":22,"r":12,"state":"off"},{"q":22,"r":18,"state":"off"},{"q":26,"r":22,"state":"off"},{"q":30,"r":22,"state":"off"},{"q":31,"r":22,"state":"off"},{"q":33,"r":23,"state":"off"},{"q":34,"r":22,"state":"off"},{"q":35,"r":21,"state":"off"},{"q":40,"r":16,"state":"off"},{"q":45,"r":6,"state":"off"},{"q":45,"r":4,"state":"off"},{"q":45,"r":3,"state":"off"},{"q":45,"r":-1,"state":"off"},{"q":44,"r":-1,"state":"off"},{"q":43,"r":-1,"state":"off"},{"q":42,"r":-1,"state":"off"},{"q":41,"r":-1,"state":"off"},{"q":38,"r":-1,"state":"off"},{"q":28,"r":4,"state":"off"},{"q":25,"r":7,"state":"off"},{"q":24,"r":8,"state":"off"},{"q":21,"r":11,"state":"off"},{"q":21,"r":18,"state":"off"},{"q":26,"r":23,"state":"off"},{"q":31,"r":23,"state":"off"},{"q":32,"r":23,"state":"off"},{"q":33,"r":24,"state":"off"},{"q":40,"r":17,"state":"off"},{"q":46,"r":5,"state":"off"},{"q":46,"r":-2,"state":"head"},{"q":39,"r":-2,"state":"off"},{"q":27,"r":4,"state":"off"},{"q":20,"r":11,"state":"tail"},{"q":20,"r":18,"state":"off"},{"q":26,"r":24,"state":"off"},{"q":33,"r":25,"state":"tail"},{"q":34,"r":24,"state":"tail"},{"q":35,"r":23,"state":"tail"},{"q":37,"r":21,"state":"off"},{"q":38,"r":20,"state":"off"},{"q":39,"r":19,"state":"off"},{"q":40,"r":18,"state":"off"},{"q":47,"r":4,"state":"off"},{"q":47,"r":3,"state":"off"},{"q":47,"r":2,"state":"off"},{"q":47,"r":1,"state":"off"},{"q":47,"r":-1,"state":"tail"},{"q":47,"r":-2,"state":"tail"},{"q":47,"r":-3,"state":"tail"},{"q":46,"r":-3,"state":"tail"},{"q":45,"r":-3,"state":"tail"},{"q":43,"r":-3,"state":"off"},{"q":42,"r":-3,"state":"off"},{"q":41,"r":-3,"state":"off"},{"q":40,"r":-3,"state":"off"},{"q":26,"r":4,"state":"off"},{"q":25,"r":5,"state":"off"},{"q":24,"r":6,"state":"off"},{"q":23,"r":7,"state":"off"},{"q":21,"r":9,"state":"tail"},{"q":20,"r":10,"state":"tail"},{"q":19,"r":11,"state":"tail"},{"q":19,"r":12,"state":"tail"},{"q":19,"r":13,"state":"tail"},{"q":19,"r":15,"state":"off"},{"q":19,"r":16,"state":"off"},{"q":19,"r":17,"state":"off"},{"q":19,"r":18,"state":"off"},{"q":26,"r":25,"state":"off"},{"q":27,"r":25,"state":"off"},{"q":28,"r":25,"state":"off"},{"q":29,"r":25,"state":"off"},{"q":31,"r":25,"state":"tail"},{"q":32,"r":25,"state":"tail"}]
+* first demo
+       timing generally appropriate
+       appears to behave as desired wrt not fucking up with repeated inputs on a regular clock (here, 14 cycles? i think)
+** code
+        [{"q":13,"r":10,"state":"tail"},{"q":14,"r":9,"state":"tail"},{"q":15,"r":8,"state":"tail"},{"q":13,"r":11,"state":"tail"},{"q":13,"r":12,"state":"tail"},{"q":17,"r":6,"state":"off"},{"q":18,"r":5,"state":"off"},{"q":19,"r":4,"state":"off"},{"q":20,"r":3,"state":"off"},{"q":21,"r":3,"state":"off"},{"q":22,"r":3,"state":"off"},{"q":23,"r":3,"state":"off"},{"q":25,"r":3,"state":"tail"},{"q":26,"r":3,"state":"tail"},{"q":27,"r":3,"state":"tail"},{"q":27,"r":6,"state":"off"},{"q":28,"r":2,"state":"tail"},{"q":29,"r":1,"state":"tail"},{"q":31,"r":-1,"state":"off"},{"q":32,"r":-2,"state":"off"},{"q":33,"r":-3,"state":"off"},{"q":34,"r":-4,"state":"off"},{"q":35,"r":-4,"state":"off"},{"q":36,"r":-4,"state":"off"},{"q":37,"r":-4,"state":"off"},{"q":39,"r":-4,"state":"tail"},{"q":40,"r":-4,"state":"tail"},{"q":41,"r":-4,"state":"tail"},{"q":41,"r":-3,"state":"tail"},{"q":41,"r":-2,"state":"tail"},{"q":41,"r":0,"state":"off"},{"q":41,"r":1,"state":"off"},{"q":41,"r":2,"state":"off"},{"q":41,"r":3,"state":"off"},{"q":39,"r":5,"state":"off"},{"q":40,"r":4,"state":"off"},{"q":38,"r":6,"state":"off"},{"q":34,"r":11,"state":"tail"},{"q":34,"r":12,"state":"tail"},{"q":34,"r":14,"state":"off"},{"q":34,"r":15,"state":"off"},{"q":34,"r":16,"state":"off"},{"q":34,"r":17,"state":"off"},{"q":33,"r":18,"state":"off"},{"q":32,"r":19,"state":"off"},{"q":31,"r":20,"state":"off"},{"q":29,"r":22,"state":"tail"},{"q":28,"r":23,"state":"tail"},{"q":27,"r":24,"state":"tail"},{"q":26,"r":24,"state":"tail"},{"q":25,"r":24,"state":"tail"},{"q":23,"r":24,"state":"off"},{"q":22,"r":24,"state":"off"},{"q":21,"r":24,"state":"off"},{"q":20,"r":24,"state":"off"},{"q":20,"r":23,"state":"off"},{"q":20,"r":22,"state":"off"},{"q":20,"r":21,"state":"off"},{"q":20,"r":18,"state":"tail"},{"q":19,"r":17,"state":"tail"},{"q":20,"r":17,"state":"tail"},{"q":13,"r":16,"state":"off"},{"q":13,"r":15,"state":"off"},{"q":13,"r":14,"state":"off"},{"q":14,"r":17,"state":"off"},{"q":13,"r":17,"state":"off"},{"q":15,"r":17,"state":"off"},{"q":16,"r":17,"state":"off"},{"q":40,"r":-3,"state":"head"},{"q":39,"r":-2,"state":"off"},{"q":38,"r":-2,"state":"off"},{"q":37,"r":-2,"state":"off"},{"q":36,"r":0,"state":"off"},{"q":36,"r":1,"state":"off"},{"q":35,"r":1,"state":"off"},{"q":34,"r":3,"state":"off"},{"q":36,"r":-2,"state":"off"},{"q":31,"r":5,"state":"off"},{"q":32,"r":4,"state":"off"},{"q":31,"r":6,"state":"off"},{"q":32,"r":6,"state":"off"},{"q":30,"r":7,"state":"off"},{"q":29,"r":8,"state":"off"},{"q":29,"r":9,"state":"off"},{"q":28,"r":10,"state":"off"},{"q":34,"r":6,"state":"off"},{"q":35,"r":5,"state":"off"},{"q":36,"r":4,"state":"off"},{"q":38,"r":2,"state":"off"},{"q":39,"r":2,"state":"off"},{"q":39,"r":3,"state":"off"},{"q":37,"r":5,"state":"tail"},{"q":38,"r":4,"state":"head"},{"q":36,"r":6,"state":"off"},{"q":33,"r":7,"state":"off"},{"q":20,"r":19,"state":"tail"},{"q":18,"r":17,"state":"tail"},{"q":29,"r":5,"state":"off"},{"q":28,"r":6,"state":"off"},{"q":28,"r":7,"state":"off"},{"q":27,"r":8,"state":"off"},{"q":26,"r":9,"state":"off"},{"q":26,"r":7,"state":"off"},{"q":27,"r":7,"state":"off"},{"q":25,"r":9,"state":"off"},{"q":25,"r":8,"state":"off"},{"q":24,"r":10,"state":"off"},{"q":23,"r":11,"state":"off"},{"q":22,"r":11,"state":"off"},{"q":22,"r":12,"state":"off"},{"q":24,"r":11,"state":"off"},{"q":23,"r":12,"state":"off"},{"q":23,"r":13,"state":"off"},{"q":23,"r":14,"state":"off"},{"q":23,"r":15,"state":"off"},{"q":22,"r":16,"state":"off"},{"q":22,"r":17,"state":"off"},{"q":24,"r":15,"state":"off"},{"q":24,"r":16,"state":"off"},{"q":23,"r":16,"state":"off"},{"q":22,"r":18,"state":"off"},{"q":24,"r":17,"state":"off"},{"q":23,"r":18,"state":"off"},{"q":27,"r":10,"state":"off"},{"q":26,"r":11,"state":"off"},{"q":25,"r":12,"state":"off"},{"q":25,"r":13,"state":"off"},{"q":26,"r":13,"state":"off"},{"q":27,"r":12,"state":"off"},{"q":28,"r":12,"state":"off"},{"q":26,"r":16,"state":"off"},{"q":26,"r":17,"state":"off"},{"q":25,"r":18,"state":"off"},{"q":27,"r":17,"state":"off"},{"q":27,"r":19,"state":"off"},{"q":26,"r":18,"state":"off"},{"q":27,"r":18,"state":"off"},{"q":25,"r":19,"state":"off"},{"q":25,"r":20,"state":"off"},{"q":26,"r":20,"state":"off"},{"q":23,"r":19,"state":"off"},{"q":23,"r":20,"state":"off"},{"q":23,"r":21,"state":"off"},{"q":23,"r":22,"state":"off"},{"q":24,"r":22,"state":"off"},{"q":25,"r":22,"state":"off"},{"q":26,"r":21,"state":"off"},{"q":26,"r":22,"state":"off"},{"q":27,"r":22,"state":"off"},{"q":27,"r":23,"state":"off"},{"q":21,"r":11,"state":"off"},{"q":21,"r":10,"state":"off"},{"q":22,"r":9,"state":"off"},{"q":20,"r":10,"state":"off"},{"q":20,"r":9,"state":"off"},{"q":22,"r":8,"state":"off"},{"q":21,"r":8,"state":"off"},{"q":22,"r":7,"state":"off"},{"q":21,"r":7,"state":"off"},{"q":20,"r":8,"state":"off"},{"q":21,"r":6,"state":"off"},{"q":20,"r":6,"state":"off"},{"q":18,"r":8,"state":"off"},{"q":18,"r":9,"state":"off"},{"q":18,"r":10,"state":"off"},{"q":17,"r":11,"state":"off"},{"q":16,"r":11,"state":"off"},{"q":14,"r":10,"state":"head"},{"q":15,"r":10,"state":"off"},{"q":16,"r":10,"state":"off"},{"q":20,"r":2,"state":"off"},{"q":20,"r":1,"state":"off"},{"q":20,"r":0,"state":"off"},{"q":20,"r":-3,"state":"tail"},{"q":20,"r":-2,"state":"tail"},{"q":20,"r":-4,"state":"tail"},{"q":19,"r":-4,"state":"tail"},{"q":18,"r":-4,"state":"tail"},{"q":16,"r":-4,"state":"off"},{"q":15,"r":-4,"state":"off"},{"q":13,"r":-4,"state":"off"},{"q":14,"r":-4,"state":"off"},{"q":12,"r":-3,"state":"off"},{"q":11,"r":-2,"state":"off"},{"q":10,"r":-1,"state":"off"},{"q":8,"r":1,"state":"tail"},{"q":7,"r":2,"state":"tail"},{"q":6,"r":3,"state":"tail"},{"q":6,"r":5,"state":"tail"},{"q":6,"r":4,"state":"tail"},{"q":6,"r":7,"state":"off"},{"q":6,"r":8,"state":"off"},{"q":6,"r":9,"state":"off"},{"q":6,"r":10,"state":"off"},{"q":7,"r":10,"state":"off"},{"q":9,"r":10,"state":"off"},{"q":8,"r":10,"state":"off"},{"q":11,"r":10,"state":"tail"},{"q":12,"r":10,"state":"tail"},{"q":13,"r":-2,"state":"tail"},{"q":14,"r":-2,"state":"off"},{"q":15,"r":-2,"state":"off"},{"q":16,"r":-2,"state":"off"},{"q":17,"r":-2,"state":"off"},{"q":18,"r":-2,"state":"off"},{"q":18,"r":-1,"state":"off"},{"q":12,"r":-1,"state":"head"},{"q":17,"r":0,"state":"off"},{"q":16,"r":1,"state":"off"},{"q":12,"r":0,"state":"off"},{"q":13,"r":0,"state":"off"},{"q":15,"r":0,"state":"off"},{"q":14,"r":0,"state":"off"},{"q":15,"r":1,"state":"off"},{"q":14,"r":2,"state":"off"},{"q":14,"r":3,"state":"off"},{"q":13,"r":3,"state":"off"},{"q":13,"r":4,"state":"off"},{"q":12,"r":3,"state":"off"},{"q":12,"r":4,"state":"off"},{"q":13,"r":5,"state":"off"},{"q":13,"r":6,"state":"off"},{"q":13,"r":7,"state":"off"},{"q":13,"r":8,"state":"off"},{"q":7,"r":3,"state":"tail"},{"q":8,"r":3,"state":"off"},{"q":9,"r":2,"state":"off"},{"q":10,"r":2,"state":"off"},{"q":11,"r":2,"state":"off"},{"q":11,"r":3,"state":"off"},{"q":9,"r":4,"state":"off"},{"q":9,"r":3,"state":"off"},{"q":8,"r":4,"state":"off"},{"q":10,"r":4,"state":"off"},{"q":42,"r":-5,"state":"tail"},{"q":43,"r":-6,"state":"tail"},{"q":45,"r":-8,"state":"off"},{"q":46,"r":-9,"state":"off"},{"q":47,"r":-10,"state":"off"},{"q":48,"r":-11,"state":"off"},{"q":49,"r":-11,"state":"off"},{"q":50,"r":-11,"state":"off"},{"q":51,"r":-11,"state":"off"},{"q":53,"r":-11,"state":"tail"},{"q":54,"r":-11,"state":"tail"},{"q":55,"r":-11,"state":"tail"},{"q":55,"r":-10,"state":"tail"},{"q":55,"r":-9,"state":"tail"},{"q":55,"r":-7,"state":"off"},{"q":55,"r":-6,"state":"off"},{"q":55,"r":-5,"state":"off"},{"q":55,"r":-4,"state":"off"},{"q":54,"r":-3,"state":"off"},{"q":53,"r":-2,"state":"off"},{"q":52,"r":-1,"state":"off"},{"q":50,"r":1,"state":"tail"},{"q":49,"r":2,"state":"tail"},{"q":48,"r":2,"state":"tail"},{"q":48,"r":3,"state":"tail"},{"q":47,"r":3,"state":"tail"},{"q":46,"r":3,"state":"tail"},{"q":44,"r":3,"state":"off"},{"q":43,"r":3,"state":"off"},{"q":42,"r":3,"state":"off"},{"q":43,"r":-4,"state":"off"},{"q":44,"r":-4,"state":"off"},{"q":45,"r":-4,"state":"off"},{"q":46,"r":-4,"state":"off"},{"q":47,"r":-4,"state":"off"},{"q":48,"r":-5,"state":"off"},{"q":47,"r":-3,"state":"off"},{"q":48,"r":-4,"state":"off"},{"q":49,"r":-5,"state":"off"},{"q":48,"r":-3,"state":"off"},{"q":48,"r":-2,"state":"off"},{"q":49,"r":-2,"state":"off"},{"q":47,"r":-1,"state":"off"},{"q":47,"r":0,"state":"off"},{"q":47,"r":1,"state":"off"},{"q":48,"r":1,"state":"off"},{"q":48,"r":0,"state":"off"},{"q":49,"r":0,"state":"off"},{"q":49,"r":-1,"state":"off"},{"q":50,"r":-6,"state":"off"},{"q":50,"r":-7,"state":"off"},{"q":51,"r":-8,"state":"off"},{"q":52,"r":-9,"state":"off"},{"q":53,"r":-9,"state":"off"},{"q":53,"r":-8,"state":"off"},{"q":53,"r":-6,"state":"off"},{"q":53,"r":-7,"state":"off"},{"q":53,"r":-5,"state":"off"},{"q":53,"r":-4,"state":"tail"},{"q":52,"r":-3,"state":"head"},{"q":51,"r":-3,"state":"off"},{"q":51,"r":-4,"state":"off"},{"q":51,"r":-5,"state":"off"},{"q":51,"r":-6,"state":"off"},{"q":35,"r":-2,"state":"off"},{"q":34,"r":-1,"state":"off"},{"q":33,"r":0,"state":"off"},{"q":32,"r":1,"state":"off"},{"q":31,"r":2,"state":"off"},{"q":30,"r":3,"state":"off"},{"q":29,"r":4,"state":"off"},{"q":18,"r":7,"state":"off"},{"q":19,"r":6,"state":"off"},{"q":33,"r":3,"state":"off"},{"q":37,"r":-1,"state":"off"},{"q":35,"r":0,"state":"off"},{"q":35,"r":2,"state":"off"},{"q":34,"r":1,"state":"off"},{"q":33,"r":2,"state":"off"},{"q":32,"r":5,"state":"off"},{"q":33,"r":5,"state":"off"},{"q":34,"r":5,"state":"off"},{"q":34,"r":8,"state":"off"},{"q":33,"r":8,"state":"off"},{"q":27,"r":15,"state":"off"},{"q":28,"r":14,"state":"off"},{"q":29,"r":12,"state":"off"},{"q":29,"r":13,"state":"off"},{"q":36,"r":3,"state":"off"},{"q":37,"r":2,"state":"off"},{"q":35,"r":7,"state":"off"},{"q":34,"r":10,"state":"tail"},{"q":35,"r":9,"state":"tail"},{"q":36,"r":8,"state":"tail"},{"q":42,"r":-4,"state":"off"},{"q":13,"r":9,"state":"off"}]
+
+
+
+* current demo showing comparison:
+       DOESNT WORK! if both empty inputs next go-round screwed up
+       eight cycles behind
+** code
+        [{"q":13,"r":10,"state":"tail"},{"q":14,"r":9,"state":"tail"},{"q":15,"r":8,"state":"tail"},{"q":13,"r":11,"state":"tail"},{"q":13,"r":12,"state":"tail"},{"q":17,"r":6,"state":"off"},{"q":18,"r":5,"state":"off"},{"q":19,"r":4,"state":"off"},{"q":20,"r":3,"state":"off"},{"q":21,"r":3,"state":"off"},{"q":22,"r":3,"state":"off"},{"q":23,"r":3,"state":"off"},{"q":25,"r":3,"state":"tail"},{"q":26,"r":3,"state":"tail"},{"q":27,"r":3,"state":"tail"},{"q":27,"r":6,"state":"off"},{"q":28,"r":2,"state":"tail"},{"q":29,"r":1,"state":"tail"},{"q":31,"r":-1,"state":"off"},{"q":32,"r":-2,"state":"off"},{"q":33,"r":-3,"state":"off"},{"q":34,"r":-4,"state":"off"},{"q":35,"r":-4,"state":"off"},{"q":36,"r":-4,"state":"off"},{"q":37,"r":-4,"state":"off"},{"q":39,"r":-4,"state":"tail"},{"q":40,"r":-4,"state":"tail"},{"q":41,"r":-4,"state":"tail"},{"q":41,"r":-3,"state":"tail"},{"q":41,"r":-2,"state":"tail"},{"q":41,"r":0,"state":"off"},{"q":41,"r":1,"state":"off"},{"q":41,"r":2,"state":"off"},{"q":41,"r":3,"state":"off"},{"q":39,"r":5,"state":"off"},{"q":40,"r":4,"state":"off"},{"q":38,"r":6,"state":"off"},{"q":34,"r":11,"state":"tail"},{"q":34,"r":12,"state":"tail"},{"q":34,"r":14,"state":"off"},{"q":34,"r":15,"state":"off"},{"q":34,"r":16,"state":"off"},{"q":34,"r":17,"state":"off"},{"q":33,"r":18,"state":"off"},{"q":32,"r":19,"state":"off"},{"q":31,"r":20,"state":"off"},{"q":29,"r":22,"state":"tail"},{"q":28,"r":23,"state":"tail"},{"q":27,"r":24,"state":"tail"},{"q":26,"r":24,"state":"tail"},{"q":25,"r":24,"state":"tail"},{"q":23,"r":24,"state":"off"},{"q":22,"r":24,"state":"off"},{"q":21,"r":24,"state":"off"},{"q":20,"r":24,"state":"off"},{"q":20,"r":23,"state":"off"},{"q":20,"r":22,"state":"off"},{"q":20,"r":21,"state":"off"},{"q":20,"r":18,"state":"tail"},{"q":19,"r":17,"state":"tail"},{"q":20,"r":17,"state":"tail"},{"q":13,"r":16,"state":"off"},{"q":13,"r":15,"state":"off"},{"q":13,"r":14,"state":"off"},{"q":14,"r":17,"state":"off"},{"q":13,"r":17,"state":"off"},{"q":15,"r":17,"state":"off"},{"q":16,"r":17,"state":"off"},{"q":40,"r":-3,"state":"tail"},{"q":39,"r":-2,"state":"off"},{"q":38,"r":-2,"state":"off"},{"q":37,"r":-2,"state":"off"},{"q":36,"r":0,"state":"off"},{"q":36,"r":1,"state":"off"},{"q":35,"r":1,"state":"off"},{"q":34,"r":3,"state":"off"},{"q":36,"r":-2,"state":"off"},{"q":31,"r":5,"state":"off"},{"q":32,"r":4,"state":"off"},{"q":31,"r":6,"state":"off"},{"q":32,"r":6,"state":"off"},{"q":30,"r":7,"state":"off"},{"q":29,"r":8,"state":"off"},{"q":29,"r":9,"state":"off"},{"q":28,"r":10,"state":"off"},{"q":34,"r":6,"state":"off"},{"q":35,"r":5,"state":"off"},{"q":36,"r":4,"state":"off"},{"q":38,"r":2,"state":"off"},{"q":39,"r":2,"state":"off"},{"q":39,"r":3,"state":"off"},{"q":37,"r":5,"state":"tail"},{"q":38,"r":4,"state":"head"},{"q":36,"r":6,"state":"off"},{"q":33,"r":7,"state":"off"},{"q":20,"r":19,"state":"tail"},{"q":18,"r":17,"state":"tail"},{"q":29,"r":5,"state":"off"},{"q":28,"r":6,"state":"off"},{"q":28,"r":7,"state":"off"},{"q":27,"r":8,"state":"off"},{"q":26,"r":9,"state":"off"},{"q":26,"r":7,"state":"off"},{"q":27,"r":7,"state":"off"},{"q":25,"r":9,"state":"off"},{"q":25,"r":8,"state":"off"},{"q":24,"r":10,"state":"off"},{"q":23,"r":11,"state":"off"},{"q":22,"r":11,"state":"off"},{"q":22,"r":12,"state":"off"},{"q":24,"r":11,"state":"off"},{"q":23,"r":12,"state":"off"},{"q":23,"r":13,"state":"off"},{"q":23,"r":14,"state":"off"},{"q":23,"r":15,"state":"off"},{"q":24,"r":15,"state":"off"},{"q":27,"r":10,"state":"off"},{"q":26,"r":11,"state":"off"},{"q":25,"r":12,"state":"off"},{"q":25,"r":13,"state":"off"},{"q":26,"r":13,"state":"off"},{"q":27,"r":12,"state":"off"},{"q":28,"r":12,"state":"off"},{"q":25,"r":22,"state":"off"},{"q":26,"r":22,"state":"off"},{"q":27,"r":22,"state":"off"},{"q":27,"r":23,"state":"off"},{"q":21,"r":11,"state":"off"},{"q":21,"r":10,"state":"off"},{"q":22,"r":9,"state":"off"},{"q":20,"r":10,"state":"off"},{"q":20,"r":9,"state":"off"},{"q":22,"r":8,"state":"off"},{"q":21,"r":8,"state":"off"},{"q":22,"r":7,"state":"off"},{"q":21,"r":7,"state":"off"},{"q":20,"r":8,"state":"off"},{"q":21,"r":6,"state":"off"},{"q":20,"r":6,"state":"off"},{"q":18,"r":8,"state":"off"},{"q":18,"r":9,"state":"off"},{"q":18,"r":10,"state":"off"},{"q":17,"r":11,"state":"off"},{"q":16,"r":11,"state":"off"},{"q":14,"r":10,"state":"head"},{"q":15,"r":10,"state":"off"},{"q":16,"r":10,"state":"off"},{"q":20,"r":2,"state":"off"},{"q":20,"r":1,"state":"off"},{"q":20,"r":0,"state":"off"},{"q":20,"r":-3,"state":"tail"},{"q":20,"r":-2,"state":"tail"},{"q":20,"r":-4,"state":"tail"},{"q":19,"r":-4,"state":"tail"},{"q":18,"r":-4,"state":"tail"},{"q":16,"r":-4,"state":"off"},{"q":15,"r":-4,"state":"off"},{"q":13,"r":-4,"state":"off"},{"q":14,"r":-4,"state":"off"},{"q":12,"r":-3,"state":"off"},{"q":11,"r":-2,"state":"off"},{"q":10,"r":-1,"state":"off"},{"q":8,"r":1,"state":"tail"},{"q":7,"r":2,"state":"tail"},{"q":6,"r":3,"state":"tail"},{"q":6,"r":5,"state":"tail"},{"q":6,"r":4,"state":"tail"},{"q":6,"r":7,"state":"off"},{"q":6,"r":8,"state":"off"},{"q":6,"r":9,"state":"off"},{"q":6,"r":10,"state":"off"},{"q":7,"r":10,"state":"off"},{"q":9,"r":10,"state":"off"},{"q":8,"r":10,"state":"off"},{"q":11,"r":10,"state":"tail"},{"q":12,"r":10,"state":"tail"},{"q":13,"r":-2,"state":"tail"},{"q":14,"r":-2,"state":"off"},{"q":15,"r":-2,"state":"off"},{"q":16,"r":-2,"state":"off"},{"q":17,"r":-2,"state":"off"},{"q":18,"r":-2,"state":"off"},{"q":18,"r":-1,"state":"off"},{"q":12,"r":-1,"state":"head"},{"q":17,"r":0,"state":"off"},{"q":16,"r":1,"state":"off"},{"q":12,"r":0,"state":"off"},{"q":13,"r":0,"state":"off"},{"q":15,"r":0,"state":"off"},{"q":14,"r":0,"state":"off"},{"q":15,"r":1,"state":"off"},{"q":14,"r":2,"state":"off"},{"q":14,"r":3,"state":"off"},{"q":13,"r":3,"state":"off"},{"q":13,"r":4,"state":"off"},{"q":12,"r":3,"state":"off"},{"q":12,"r":4,"state":"off"},{"q":13,"r":5,"state":"off"},{"q":13,"r":6,"state":"off"},{"q":13,"r":7,"state":"off"},{"q":13,"r":8,"state":"off"},{"q":7,"r":3,"state":"tail"},{"q":8,"r":3,"state":"off"},{"q":9,"r":2,"state":"off"},{"q":10,"r":2,"state":"off"},{"q":11,"r":2,"state":"off"},{"q":11,"r":3,"state":"off"},{"q":9,"r":4,"state":"off"},{"q":9,"r":3,"state":"off"},{"q":8,"r":4,"state":"off"},{"q":10,"r":4,"state":"off"},{"q":42,"r":-5,"state":"tail"},{"q":43,"r":-6,"state":"tail"},{"q":45,"r":-8,"state":"off"},{"q":46,"r":-9,"state":"off"},{"q":47,"r":-10,"state":"off"},{"q":48,"r":-11,"state":"off"},{"q":49,"r":-11,"state":"off"},{"q":50,"r":-11,"state":"off"},{"q":51,"r":-11,"state":"off"},{"q":53,"r":-11,"state":"tail"},{"q":54,"r":-11,"state":"tail"},{"q":55,"r":-11,"state":"tail"},{"q":55,"r":-10,"state":"tail"},{"q":55,"r":-9,"state":"tail"},{"q":55,"r":-7,"state":"off"},{"q":55,"r":-6,"state":"off"},{"q":55,"r":-5,"state":"off"},{"q":55,"r":-4,"state":"off"},{"q":54,"r":-3,"state":"off"},{"q":53,"r":-2,"state":"off"},{"q":52,"r":-1,"state":"off"},{"q":50,"r":1,"state":"tail"},{"q":49,"r":2,"state":"tail"},{"q":48,"r":2,"state":"off"},{"q":48,"r":3,"state":"tail"},{"q":47,"r":3,"state":"tail"},{"q":46,"r":3,"state":"tail"},{"q":44,"r":3,"state":"off"},{"q":43,"r":3,"state":"off"},{"q":42,"r":3,"state":"off"},{"q":43,"r":-4,"state":"off"},{"q":44,"r":-4,"state":"off"},{"q":45,"r":-4,"state":"off"},{"q":46,"r":-4,"state":"off"},{"q":47,"r":-4,"state":"off"},{"q":48,"r":-4,"state":"off"},{"q":49,"r":-5,"state":"off"},{"q":48,"r":-3,"state":"off"},{"q":48,"r":-2,"state":"off"},{"q":48,"r":1,"state":"off"},{"q":50,"r":-6,"state":"off"},{"q":50,"r":-7,"state":"off"},{"q":51,"r":-8,"state":"off"},{"q":52,"r":-9,"state":"off"},{"q":53,"r":-9,"state":"off"},{"q":53,"r":-8,"state":"off"},{"q":53,"r":-6,"state":"off"},{"q":53,"r":-7,"state":"off"},{"q":53,"r":-5,"state":"off"},{"q":53,"r":-4,"state":"tail"},{"q":52,"r":-3,"state":"head"},{"q":51,"r":-3,"state":"off"},{"q":51,"r":-4,"state":"off"},{"q":51,"r":-5,"state":"off"},{"q":51,"r":-6,"state":"off"},{"q":35,"r":-2,"state":"off"},{"q":34,"r":-1,"state":"off"},{"q":33,"r":0,"state":"off"},{"q":32,"r":1,"state":"off"},{"q":31,"r":2,"state":"off"},{"q":30,"r":3,"state":"off"},{"q":29,"r":4,"state":"off"},{"q":18,"r":7,"state":"off"},{"q":19,"r":6,"state":"off"},{"q":33,"r":3,"state":"off"},{"q":37,"r":-1,"state":"off"},{"q":35,"r":0,"state":"off"},{"q":35,"r":2,"state":"off"},{"q":34,"r":1,"state":"off"},{"q":33,"r":2,"state":"off"},{"q":32,"r":5,"state":"off"},{"q":33,"r":5,"state":"off"},{"q":34,"r":5,"state":"off"},{"q":34,"r":8,"state":"off"},{"q":33,"r":8,"state":"off"},{"q":29,"r":12,"state":"off"},{"q":36,"r":3,"state":"off"},{"q":37,"r":2,"state":"off"},{"q":35,"r":7,"state":"off"},{"q":34,"r":10,"state":"tail"},{"q":35,"r":9,"state":"tail"},{"q":36,"r":8,"state":"tail"},{"q":42,"r":-4,"state":"off"},{"q":48,"r":-1,"state":"off"},{"q":48,"r":0,"state":"off"},{"q":48,"r":4,"state":"tail"},{"q":48,"r":5,"state":"tail"},{"q":35,"r":17,"state":"off"},{"q":36,"r":17,"state":"off"},{"q":37,"r":17,"state":"off"},{"q":39,"r":17,"state":"tail"},{"q":40,"r":17,"state":"tail"},{"q":41,"r":17,"state":"tail"},{"q":42,"r":16,"state":"tail"},{"q":43,"r":15,"state":"tail"},{"q":41,"r":18,"state":"tail"},{"q":41,"r":19,"state":"tail"},{"q":45,"r":13,"state":"off"},{"q":46,"r":12,"state":"off"},{"q":47,"r":11,"state":"off"},{"q":48,"r":10,"state":"off"},{"q":48,"r":9,"state":"off"},{"q":48,"r":8,"state":"off"},{"q":48,"r":7,"state":"off"},{"q":49,"r":10,"state":"off"},{"q":50,"r":10,"state":"off"},{"q":51,"r":10,"state":"off"},{"q":56,"r":-4,"state":"off"},{"q":57,"r":-4,"state":"off"},{"q":58,"r":-4,"state":"off"},{"q":60,"r":-4,"state":"tail"},{"q":61,"r":-4,"state":"tail"},{"q":61,"r":-3,"state":"tail"},{"q":62,"r":-4,"state":"tail"},{"q":62,"r":-3,"state":"tail"},{"q":62,"r":-2,"state":"tail"},{"q":62,"r":0,"state":"off"},{"q":62,"r":1,"state":"off"},{"q":62,"r":3,"state":"off"},{"q":62,"r":2,"state":"off"},{"q":61,"r":4,"state":"off"},{"q":60,"r":5,"state":"off"},{"q":59,"r":6,"state":"off"},{"q":57,"r":8,"state":"tail"},{"q":56,"r":9,"state":"tail"},{"q":55,"r":10,"state":"tail"},{"q":54,"r":10,"state":"tail"},{"q":53,"r":10,"state":"tail"},{"q":55,"r":11,"state":"tail"},{"q":55,"r":12,"state":"tail"},{"q":55,"r":14,"state":"off"},{"q":55,"r":15,"state":"off"},{"q":55,"r":16,"state":"off"},{"q":55,"r":17,"state":"off"},{"q":54,"r":18,"state":"off"},{"q":53,"r":19,"state":"off"},{"q":52,"r":20,"state":"off"},{"q":50,"r":22,"state":"tail"},{"q":49,"r":23,"state":"tail"},{"q":47,"r":24,"state":"tail"},{"q":48,"r":24,"state":"tail"},{"q":46,"r":24,"state":"tail"},{"q":44,"r":24,"state":"off"},{"q":43,"r":24,"state":"off"},{"q":42,"r":24,"state":"off"},{"q":41,"r":24,"state":"off"},{"q":41,"r":23,"state":"off"},{"q":41,"r":22,"state":"off"},{"q":41,"r":21,"state":"off"},{"q":47,"r":4,"state":"head"},{"q":45,"r":6,"state":"off"},{"q":46,"r":5,"state":"off"},{"q":43,"r":8,"state":"off"},{"q":41,"r":10,"state":"off"},{"q":42,"r":9,"state":"off"},{"q":41,"r":16,"state":"off"},{"q":41,"r":15,"state":"off"},{"q":41,"r":14,"state":"off"},{"q":41,"r":13,"state":"off"},{"q":41,"r":12,"state":"off"},{"q":41,"r":11,"state":"off"},{"q":45,"r":5,"state":"off"},{"q":46,"r":6,"state":"off"},{"q":45,"r":7,"state":"off"},{"q":44,"r":6,"state":"off"},{"q":43,"r":7,"state":"off"},{"q":44,"r":8,"state":"off"},{"q":40,"r":10,"state":"off"},{"q":39,"r":10,"state":"off"},{"q":37,"r":10,"state":"off"},{"q":36,"r":10,"state":"off"},{"q":35,"r":10,"state":"tail"},{"q":37,"r":9,"state":"off"},{"q":38,"r":9,"state":"off"},{"q":39,"r":9,"state":"off"},{"q":38,"r":11,"state":"off"},{"q":37,"r":11,"state":"off"},{"q":36,"r":11,"state":"off"},{"q":49,"r":3,"state":"off"},{"q":50,"r":3,"state":"off"},{"q":51,"r":3,"state":"off"},{"q":51,"r":2,"state":"off"},{"q":50,"r":4,"state":"off"},{"q":51,"r":4,"state":"off"},{"q":52,"r":2,"state":"off"},{"q":53,"r":2,"state":"off"},{"q":52,"r":4,"state":"off"},{"q":53,"r":3,"state":"off"},{"q":54,"r":3,"state":"off"},{"q":60,"r":-2,"state":"off"},{"q":59,"r":-2,"state":"off"},{"q":60,"r":-1,"state":"off"},{"q":59,"r":-1,"state":"off"},{"q":58,"r":-1,"state":"off"},{"q":59,"r":0,"state":"off"},{"q":57,"r":1,"state":"off"},{"q":57,"r":0,"state":"off"},{"q":58,"r":1,"state":"off"},{"q":56,"r":2,"state":"off"},{"q":56,"r":3,"state":"off"},{"q":54,"r":4,"state":"off"},{"q":55,"r":3,"state":"off"},{"q":55,"r":4,"state":"off"},{"q":55,"r":5,"state":"off"},{"q":55,"r":6,"state":"off"},{"q":55,"r":7,"state":"off"},{"q":55,"r":8,"state":"off"},{"q":55,"r":9,"state":"tail"},{"q":54,"r":11,"state":"off"},{"q":52,"r":13,"state":"off"},{"q":53,"r":12,"state":"off"},{"q":52,"r":12,"state":"off"},{"q":53,"r":13,"state":"off"},{"q":52,"r":14,"state":"off"},{"q":51,"r":13,"state":"off"},{"q":50,"r":14,"state":"off"},{"q":51,"r":15,"state":"off"},{"q":50,"r":15,"state":"off"},{"q":42,"r":17,"state":"off"},{"q":43,"r":17,"state":"off"},{"q":44,"r":16,"state":"off"},{"q":43,"r":18,"state":"off"},{"q":44,"r":18,"state":"off"},{"q":45,"r":16,"state":"off"},{"q":44,"r":17,"state":"off"},{"q":46,"r":16,"state":"off"},{"q":45,"r":18,"state":"off"},{"q":46,"r":17,"state":"off"},{"q":47,"r":17,"state":"off"},{"q":48,"r":17,"state":"off"},{"q":49,"r":16,"state":"off"},{"q":48,"r":19,"state":"off"},{"q":48,"r":20,"state":"off"},{"q":48,"r":18,"state":"off"},{"q":48,"r":21,"state":"off"},{"q":48,"r":22,"state":"off"},{"q":48,"r":23,"state":"off"},{"q":28,"r":21,"state":"off"},{"q":29,"r":14,"state":"off"},{"q":29,"r":15,"state":"off"},{"q":29,"r":16,"state":"off"},{"q":28,"r":17,"state":"off"},{"q":30,"r":16,"state":"off"},{"q":30,"r":17,"state":"off"},{"q":28,"r":18,"state":"off"},{"q":29,"r":17,"state":"off"},{"q":30,"r":18,"state":"off"},{"q":28,"r":19,"state":"off"},{"q":29,"r":19,"state":"off"},{"q":29,"r":20,"state":"off"},{"q":30,"r":12,"state":"off"},{"q":30,"r":13,"state":"off"},{"q":24,"r":20,"state":"off"},{"q":24,"r":19,"state":"off"},{"q":26,"r":20,"state":"off"},{"q":26,"r":19,"state":"off"},{"q":26,"r":18,"state":"off"},{"q":25,"r":18,"state":"off"},{"q":25,"r":21,"state":"off"},{"q":24,"r":21,"state":"off"},{"q":25,"r":16,"state":"off"},{"q":25,"r":17,"state":"off"},{"q":25,"r":15,"state":"off"},{"q":25,"r":19,"state":"off"}]
+
+* better!
+       timing is functional with demonstrated kinks in other gates's tails
+** code
+        [{"q":13,"r":10,"state":"tail"},{"q":14,"r":9,"state":"tail"},{"q":15,"r":8,"state":"tail"},{"q":13,"r":11,"state":"tail"},{"q":13,"r":12,"state":"tail"},{"q":17,"r":6,"state":"off"},{"q":18,"r":5,"state":"off"},{"q":19,"r":4,"state":"off"},{"q":20,"r":3,"state":"off"},{"q":21,"r":3,"state":"off"},{"q":22,"r":3,"state":"off"},{"q":23,"r":3,"state":"off"},{"q":25,"r":3,"state":"tail"},{"q":26,"r":3,"state":"tail"},{"q":27,"r":3,"state":"tail"},{"q":27,"r":6,"state":"off"},{"q":28,"r":2,"state":"tail"},{"q":29,"r":1,"state":"tail"},{"q":31,"r":-1,"state":"off"},{"q":32,"r":-2,"state":"off"},{"q":33,"r":-3,"state":"off"},{"q":34,"r":-4,"state":"off"},{"q":35,"r":-4,"state":"off"},{"q":36,"r":-4,"state":"off"},{"q":37,"r":-4,"state":"off"},{"q":39,"r":-4,"state":"tail"},{"q":40,"r":-4,"state":"tail"},{"q":41,"r":-4,"state":"tail"},{"q":41,"r":-3,"state":"tail"},{"q":41,"r":-2,"state":"tail"},{"q":41,"r":0,"state":"off"},{"q":41,"r":1,"state":"off"},{"q":41,"r":2,"state":"off"},{"q":41,"r":3,"state":"off"},{"q":39,"r":5,"state":"off"},{"q":40,"r":4,"state":"off"},{"q":38,"r":6,"state":"off"},{"q":34,"r":11,"state":"tail"},{"q":34,"r":12,"state":"tail"},{"q":34,"r":14,"state":"off"},{"q":34,"r":15,"state":"off"},{"q":34,"r":16,"state":"off"},{"q":34,"r":17,"state":"off"},{"q":33,"r":18,"state":"off"},{"q":32,"r":19,"state":"off"},{"q":31,"r":20,"state":"off"},{"q":29,"r":22,"state":"tail"},{"q":28,"r":23,"state":"tail"},{"q":27,"r":24,"state":"tail"},{"q":26,"r":24,"state":"tail"},{"q":25,"r":24,"state":"tail"},{"q":23,"r":24,"state":"off"},{"q":22,"r":24,"state":"off"},{"q":21,"r":24,"state":"off"},{"q":20,"r":24,"state":"off"},{"q":20,"r":23,"state":"off"},{"q":20,"r":22,"state":"off"},{"q":20,"r":21,"state":"off"},{"q":20,"r":18,"state":"tail"},{"q":19,"r":17,"state":"tail"},{"q":20,"r":17,"state":"tail"},{"q":13,"r":16,"state":"off"},{"q":13,"r":15,"state":"off"},{"q":13,"r":14,"state":"off"},{"q":14,"r":17,"state":"off"},{"q":13,"r":17,"state":"off"},{"q":15,"r":17,"state":"off"},{"q":16,"r":17,"state":"off"},{"q":40,"r":-3,"state":"tail"},{"q":39,"r":-2,"state":"off"},{"q":38,"r":-2,"state":"off"},{"q":37,"r":-2,"state":"off"},{"q":36,"r":0,"state":"off"},{"q":36,"r":1,"state":"off"},{"q":35,"r":1,"state":"off"},{"q":34,"r":3,"state":"off"},{"q":36,"r":-2,"state":"off"},{"q":31,"r":5,"state":"off"},{"q":32,"r":4,"state":"off"},{"q":31,"r":6,"state":"off"},{"q":32,"r":6,"state":"off"},{"q":30,"r":7,"state":"off"},{"q":29,"r":8,"state":"off"},{"q":29,"r":9,"state":"off"},{"q":28,"r":10,"state":"off"},{"q":34,"r":6,"state":"off"},{"q":35,"r":5,"state":"off"},{"q":36,"r":4,"state":"off"},{"q":38,"r":2,"state":"off"},{"q":39,"r":2,"state":"off"},{"q":39,"r":3,"state":"off"},{"q":37,"r":5,"state":"tail"},{"q":38,"r":4,"state":"head"},{"q":36,"r":6,"state":"off"},{"q":33,"r":7,"state":"off"},{"q":20,"r":19,"state":"tail"},{"q":18,"r":17,"state":"tail"},{"q":29,"r":5,"state":"off"},{"q":28,"r":6,"state":"off"},{"q":28,"r":7,"state":"off"},{"q":27,"r":8,"state":"off"},{"q":26,"r":9,"state":"off"},{"q":26,"r":7,"state":"off"},{"q":27,"r":7,"state":"off"},{"q":25,"r":9,"state":"off"},{"q":25,"r":8,"state":"off"},{"q":24,"r":10,"state":"off"},{"q":23,"r":11,"state":"off"},{"q":22,"r":11,"state":"off"},{"q":22,"r":12,"state":"off"},{"q":24,"r":11,"state":"off"},{"q":23,"r":12,"state":"off"},{"q":23,"r":13,"state":"off"},{"q":23,"r":14,"state":"off"},{"q":23,"r":15,"state":"off"},{"q":24,"r":15,"state":"off"},{"q":27,"r":10,"state":"off"},{"q":26,"r":11,"state":"off"},{"q":25,"r":12,"state":"off"},{"q":25,"r":13,"state":"off"},{"q":26,"r":13,"state":"off"},{"q":27,"r":12,"state":"off"},{"q":28,"r":12,"state":"off"},{"q":25,"r":22,"state":"off"},{"q":26,"r":22,"state":"off"},{"q":27,"r":22,"state":"off"},{"q":27,"r":23,"state":"off"},{"q":21,"r":11,"state":"off"},{"q":21,"r":10,"state":"off"},{"q":22,"r":9,"state":"off"},{"q":20,"r":10,"state":"off"},{"q":20,"r":9,"state":"off"},{"q":22,"r":8,"state":"off"},{"q":21,"r":8,"state":"off"},{"q":22,"r":7,"state":"off"},{"q":21,"r":7,"state":"off"},{"q":20,"r":8,"state":"off"},{"q":21,"r":6,"state":"off"},{"q":20,"r":6,"state":"off"},{"q":18,"r":8,"state":"off"},{"q":18,"r":9,"state":"off"},{"q":18,"r":10,"state":"off"},{"q":17,"r":11,"state":"off"},{"q":16,"r":11,"state":"off"},{"q":14,"r":10,"state":"head"},{"q":15,"r":10,"state":"off"},{"q":16,"r":10,"state":"off"},{"q":20,"r":2,"state":"off"},{"q":20,"r":1,"state":"off"},{"q":20,"r":0,"state":"off"},{"q":20,"r":-3,"state":"tail"},{"q":20,"r":-2,"state":"tail"},{"q":20,"r":-4,"state":"tail"},{"q":19,"r":-4,"state":"tail"},{"q":18,"r":-4,"state":"tail"},{"q":16,"r":-4,"state":"off"},{"q":15,"r":-4,"state":"off"},{"q":13,"r":-4,"state":"off"},{"q":14,"r":-4,"state":"off"},{"q":12,"r":-3,"state":"off"},{"q":11,"r":-2,"state":"off"},{"q":10,"r":-1,"state":"off"},{"q":8,"r":1,"state":"tail"},{"q":7,"r":2,"state":"tail"},{"q":6,"r":3,"state":"tail"},{"q":6,"r":5,"state":"tail"},{"q":6,"r":4,"state":"tail"},{"q":6,"r":7,"state":"off"},{"q":6,"r":8,"state":"off"},{"q":6,"r":9,"state":"off"},{"q":6,"r":10,"state":"off"},{"q":7,"r":10,"state":"off"},{"q":9,"r":10,"state":"off"},{"q":8,"r":10,"state":"off"},{"q":11,"r":10,"state":"tail"},{"q":12,"r":10,"state":"tail"},{"q":13,"r":-2,"state":"tail"},{"q":14,"r":-2,"state":"off"},{"q":15,"r":-2,"state":"off"},{"q":16,"r":-2,"state":"off"},{"q":17,"r":-2,"state":"off"},{"q":18,"r":-2,"state":"off"},{"q":18,"r":-1,"state":"off"},{"q":12,"r":-1,"state":"head"},{"q":17,"r":0,"state":"off"},{"q":16,"r":1,"state":"off"},{"q":12,"r":0,"state":"off"},{"q":13,"r":0,"state":"off"},{"q":15,"r":0,"state":"off"},{"q":14,"r":0,"state":"off"},{"q":15,"r":1,"state":"off"},{"q":14,"r":2,"state":"off"},{"q":14,"r":3,"state":"off"},{"q":13,"r":3,"state":"off"},{"q":13,"r":4,"state":"off"},{"q":12,"r":3,"state":"off"},{"q":12,"r":4,"state":"off"},{"q":13,"r":5,"state":"off"},{"q":13,"r":6,"state":"off"},{"q":13,"r":7,"state":"off"},{"q":13,"r":8,"state":"off"},{"q":7,"r":3,"state":"tail"},{"q":8,"r":3,"state":"off"},{"q":9,"r":2,"state":"off"},{"q":10,"r":2,"state":"off"},{"q":11,"r":2,"state":"off"},{"q":11,"r":3,"state":"off"},{"q":9,"r":4,"state":"off"},{"q":9,"r":3,"state":"off"},{"q":8,"r":4,"state":"off"},{"q":10,"r":4,"state":"off"},{"q":42,"r":-5,"state":"tail"},{"q":43,"r":-6,"state":"tail"},{"q":45,"r":-8,"state":"off"},{"q":46,"r":-9,"state":"off"},{"q":47,"r":-10,"state":"off"},{"q":48,"r":-11,"state":"off"},{"q":49,"r":-11,"state":"off"},{"q":50,"r":-11,"state":"off"},{"q":51,"r":-11,"state":"off"},{"q":53,"r":-11,"state":"tail"},{"q":54,"r":-11,"state":"tail"},{"q":55,"r":-11,"state":"tail"},{"q":55,"r":-10,"state":"tail"},{"q":55,"r":-9,"state":"tail"},{"q":55,"r":-7,"state":"off"},{"q":55,"r":-6,"state":"off"},{"q":55,"r":-5,"state":"off"},{"q":55,"r":-4,"state":"off"},{"q":54,"r":-3,"state":"off"},{"q":53,"r":-2,"state":"off"},{"q":52,"r":-1,"state":"off"},{"q":50,"r":1,"state":"tail"},{"q":49,"r":2,"state":"tail"},{"q":48,"r":2,"state":"off"},{"q":48,"r":3,"state":"tail"},{"q":47,"r":3,"state":"tail"},{"q":46,"r":3,"state":"tail"},{"q":44,"r":3,"state":"off"},{"q":43,"r":3,"state":"off"},{"q":42,"r":3,"state":"off"},{"q":43,"r":-4,"state":"off"},{"q":44,"r":-4,"state":"off"},{"q":45,"r":-4,"state":"off"},{"q":46,"r":-4,"state":"off"},{"q":47,"r":-4,"state":"off"},{"q":48,"r":-4,"state":"off"},{"q":49,"r":-5,"state":"off"},{"q":48,"r":-3,"state":"off"},{"q":48,"r":-2,"state":"off"},{"q":48,"r":1,"state":"off"},{"q":50,"r":-6,"state":"off"},{"q":50,"r":-7,"state":"off"},{"q":51,"r":-8,"state":"off"},{"q":52,"r":-9,"state":"off"},{"q":53,"r":-9,"state":"off"},{"q":53,"r":-8,"state":"off"},{"q":53,"r":-6,"state":"off"},{"q":53,"r":-7,"state":"off"},{"q":53,"r":-5,"state":"off"},{"q":53,"r":-4,"state":"tail"},{"q":52,"r":-3,"state":"head"},{"q":51,"r":-3,"state":"off"},{"q":51,"r":-4,"state":"off"},{"q":51,"r":-5,"state":"off"},{"q":51,"r":-6,"state":"off"},{"q":35,"r":-2,"state":"off"},{"q":34,"r":-1,"state":"off"},{"q":33,"r":0,"state":"off"},{"q":32,"r":1,"state":"off"},{"q":31,"r":2,"state":"off"},{"q":30,"r":3,"state":"off"},{"q":29,"r":4,"state":"off"},{"q":18,"r":7,"state":"off"},{"q":19,"r":6,"state":"off"},{"q":33,"r":3,"state":"off"},{"q":37,"r":-1,"state":"off"},{"q":35,"r":0,"state":"off"},{"q":35,"r":2,"state":"off"},{"q":34,"r":1,"state":"off"},{"q":33,"r":2,"state":"off"},{"q":32,"r":5,"state":"off"},{"q":33,"r":5,"state":"off"},{"q":34,"r":5,"state":"off"},{"q":34,"r":8,"state":"off"},{"q":33,"r":8,"state":"off"},{"q":29,"r":12,"state":"off"},{"q":36,"r":3,"state":"off"},{"q":37,"r":2,"state":"off"},{"q":35,"r":7,"state":"off"},{"q":34,"r":10,"state":"tail"},{"q":35,"r":9,"state":"tail"},{"q":36,"r":8,"state":"tail"},{"q":42,"r":-4,"state":"off"},{"q":48,"r":-1,"state":"off"},{"q":48,"r":0,"state":"off"},{"q":48,"r":4,"state":"tail"},{"q":48,"r":5,"state":"tail"},{"q":35,"r":17,"state":"off"},{"q":36,"r":17,"state":"off"},{"q":37,"r":17,"state":"off"},{"q":39,"r":17,"state":"tail"},{"q":40,"r":17,"state":"tail"},{"q":41,"r":17,"state":"tail"},{"q":42,"r":16,"state":"tail"},{"q":43,"r":15,"state":"tail"},{"q":41,"r":18,"state":"tail"},{"q":41,"r":19,"state":"tail"},{"q":45,"r":13,"state":"off"},{"q":46,"r":12,"state":"off"},{"q":47,"r":11,"state":"off"},{"q":48,"r":10,"state":"off"},{"q":48,"r":9,"state":"off"},{"q":48,"r":8,"state":"off"},{"q":48,"r":7,"state":"off"},{"q":49,"r":10,"state":"off"},{"q":50,"r":10,"state":"off"},{"q":51,"r":10,"state":"off"},{"q":56,"r":-4,"state":"off"},{"q":57,"r":-4,"state":"off"},{"q":58,"r":-4,"state":"off"},{"q":60,"r":-4,"state":"tail"},{"q":61,"r":-4,"state":"tail"},{"q":61,"r":-3,"state":"tail"},{"q":62,"r":-4,"state":"tail"},{"q":62,"r":-3,"state":"tail"},{"q":62,"r":-2,"state":"tail"},{"q":62,"r":0,"state":"off"},{"q":62,"r":1,"state":"off"},{"q":62,"r":3,"state":"off"},{"q":62,"r":2,"state":"off"},{"q":61,"r":4,"state":"off"},{"q":60,"r":5,"state":"off"},{"q":59,"r":6,"state":"off"},{"q":57,"r":8,"state":"tail"},{"q":56,"r":9,"state":"tail"},{"q":55,"r":10,"state":"tail"},{"q":54,"r":10,"state":"tail"},{"q":53,"r":10,"state":"tail"},{"q":55,"r":11,"state":"tail"},{"q":55,"r":12,"state":"tail"},{"q":55,"r":14,"state":"off"},{"q":55,"r":15,"state":"off"},{"q":55,"r":16,"state":"off"},{"q":55,"r":17,"state":"off"},{"q":54,"r":18,"state":"off"},{"q":53,"r":19,"state":"off"},{"q":52,"r":20,"state":"off"},{"q":50,"r":22,"state":"tail"},{"q":49,"r":23,"state":"tail"},{"q":47,"r":24,"state":"tail"},{"q":48,"r":24,"state":"tail"},{"q":46,"r":24,"state":"tail"},{"q":44,"r":24,"state":"off"},{"q":43,"r":24,"state":"off"},{"q":42,"r":24,"state":"off"},{"q":41,"r":24,"state":"off"},{"q":41,"r":23,"state":"off"},{"q":41,"r":22,"state":"off"},{"q":41,"r":21,"state":"off"},{"q":47,"r":4,"state":"head"},{"q":45,"r":6,"state":"off"},{"q":46,"r":5,"state":"off"},{"q":43,"r":8,"state":"off"},{"q":41,"r":10,"state":"off"},{"q":42,"r":9,"state":"off"},{"q":41,"r":16,"state":"off"},{"q":41,"r":15,"state":"off"},{"q":41,"r":14,"state":"off"},{"q":41,"r":11,"state":"off"},{"q":45,"r":5,"state":"off"},{"q":46,"r":6,"state":"off"},{"q":45,"r":7,"state":"off"},{"q":44,"r":6,"state":"off"},{"q":43,"r":7,"state":"off"},{"q":44,"r":8,"state":"off"},{"q":40,"r":10,"state":"off"},{"q":39,"r":10,"state":"off"},{"q":37,"r":10,"state":"off"},{"q":36,"r":10,"state":"off"},{"q":35,"r":10,"state":"tail"},{"q":37,"r":9,"state":"off"},{"q":38,"r":9,"state":"off"},{"q":39,"r":9,"state":"off"},{"q":38,"r":11,"state":"off"},{"q":37,"r":11,"state":"off"},{"q":36,"r":11,"state":"off"},{"q":49,"r":3,"state":"off"},{"q":50,"r":3,"state":"off"},{"q":51,"r":3,"state":"off"},{"q":51,"r":2,"state":"off"},{"q":50,"r":4,"state":"off"},{"q":51,"r":4,"state":"off"},{"q":52,"r":2,"state":"off"},{"q":53,"r":2,"state":"off"},{"q":52,"r":4,"state":"off"},{"q":53,"r":3,"state":"off"},{"q":54,"r":3,"state":"off"},{"q":60,"r":-2,"state":"off"},{"q":59,"r":-2,"state":"off"},{"q":60,"r":-1,"state":"off"},{"q":59,"r":-1,"state":"off"},{"q":58,"r":-1,"state":"off"},{"q":59,"r":0,"state":"off"},{"q":57,"r":1,"state":"off"},{"q":57,"r":0,"state":"off"},{"q":58,"r":1,"state":"off"},{"q":56,"r":2,"state":"off"},{"q":56,"r":3,"state":"off"},{"q":54,"r":4,"state":"off"},{"q":55,"r":3,"state":"off"},{"q":55,"r":4,"state":"off"},{"q":55,"r":5,"state":"off"},{"q":55,"r":8,"state":"off"},{"q":55,"r":9,"state":"tail"},{"q":54,"r":11,"state":"off"},{"q":52,"r":13,"state":"off"},{"q":53,"r":12,"state":"off"},{"q":52,"r":12,"state":"off"},{"q":53,"r":13,"state":"off"},{"q":52,"r":14,"state":"off"},{"q":51,"r":13,"state":"off"},{"q":50,"r":14,"state":"off"},{"q":51,"r":15,"state":"off"},{"q":50,"r":15,"state":"off"},{"q":42,"r":17,"state":"off"},{"q":43,"r":17,"state":"off"},{"q":44,"r":16,"state":"off"},{"q":43,"r":18,"state":"off"},{"q":44,"r":18,"state":"off"},{"q":45,"r":16,"state":"off"},{"q":44,"r":17,"state":"off"},{"q":46,"r":16,"state":"off"},{"q":45,"r":18,"state":"off"},{"q":46,"r":17,"state":"off"},{"q":47,"r":17,"state":"off"},{"q":48,"r":17,"state":"off"},{"q":49,"r":16,"state":"off"},{"q":48,"r":18,"state":"off"},{"q":48,"r":21,"state":"off"},{"q":48,"r":22,"state":"off"},{"q":48,"r":23,"state":"off"},{"q":28,"r":21,"state":"off"},{"q":29,"r":14,"state":"off"},{"q":29,"r":15,"state":"off"},{"q":29,"r":16,"state":"off"},{"q":28,"r":17,"state":"off"},{"q":30,"r":16,"state":"off"},{"q":30,"r":17,"state":"off"},{"q":28,"r":18,"state":"off"},{"q":29,"r":17,"state":"off"},{"q":30,"r":18,"state":"off"},{"q":28,"r":19,"state":"off"},{"q":29,"r":19,"state":"off"},{"q":29,"r":20,"state":"off"},{"q":30,"r":12,"state":"off"},{"q":30,"r":13,"state":"off"},{"q":24,"r":20,"state":"off"},{"q":24,"r":19,"state":"off"},{"q":26,"r":20,"state":"off"},{"q":26,"r":19,"state":"off"},{"q":26,"r":18,"state":"off"},{"q":25,"r":18,"state":"off"},{"q":25,"r":21,"state":"off"},{"q":24,"r":21,"state":"off"},{"q":25,"r":16,"state":"off"},{"q":25,"r":17,"state":"off"},{"q":25,"r":15,"state":"off"},{"q":25,"r":19,"state":"off"},{"q":42,"r":11,"state":"off"},{"q":43,"r":10,"state":"off"},{"q":44,"r":10,"state":"off"},{"q":44,"r":11,"state":"off"},{"q":43,"r":12,"state":"off"},{"q":42,"r":13,"state":"off"},{"q":49,"r":18,"state":"off"},{"q":50,"r":17,"state":"off"},{"q":51,"r":17,"state":"off"},{"q":51,"r":18,"state":"off"},{"q":50,"r":19,"state":"off"},{"q":49,"r":20,"state":"off"},{"q":56,"r":5,"state":"off"},{"q":57,"r":4,"state":"off"},{"q":58,"r":4,"state":"off"},{"q":58,"r":5,"state":"off"},{"q":57,"r":6,"state":"off"},{"q":56,"r":7,"state":"off"}]
+
+* best!
+       timing is completely accurate over all visible loops and things
+       timing is fixed on arbitrary repetitions
+       this is the template!
+** code
+        [{"q":13,"r":10,"state":"tail"},{"q":14,"r":9,"state":"tail"},{"q":15,"r":8,"state":"tail"},{"q":13,"r":11,"state":"tail"},{"q":13,"r":12,"state":"tail"},{"q":17,"r":6,"state":"off"},{"q":18,"r":5,"state":"off"},{"q":19,"r":4,"state":"off"},{"q":20,"r":3,"state":"off"},{"q":21,"r":3,"state":"off"},{"q":22,"r":3,"state":"off"},{"q":23,"r":3,"state":"off"},{"q":25,"r":3,"state":"tail"},{"q":26,"r":3,"state":"tail"},{"q":27,"r":3,"state":"tail"},{"q":27,"r":6,"state":"off"},{"q":28,"r":2,"state":"tail"},{"q":29,"r":1,"state":"tail"},{"q":31,"r":-1,"state":"off"},{"q":32,"r":-2,"state":"off"},{"q":33,"r":-3,"state":"off"},{"q":34,"r":-4,"state":"off"},{"q":35,"r":-4,"state":"off"},{"q":36,"r":-4,"state":"off"},{"q":37,"r":-4,"state":"off"},{"q":39,"r":-4,"state":"tail"},{"q":40,"r":-4,"state":"tail"},{"q":41,"r":-4,"state":"tail"},{"q":41,"r":-3,"state":"tail"},{"q":41,"r":-2,"state":"tail"},{"q":41,"r":0,"state":"off"},{"q":41,"r":1,"state":"off"},{"q":41,"r":2,"state":"off"},{"q":41,"r":3,"state":"off"},{"q":39,"r":5,"state":"off"},{"q":40,"r":4,"state":"off"},{"q":38,"r":6,"state":"off"},{"q":34,"r":11,"state":"tail"},{"q":34,"r":12,"state":"tail"},{"q":34,"r":14,"state":"off"},{"q":34,"r":15,"state":"off"},{"q":34,"r":16,"state":"off"},{"q":34,"r":17,"state":"off"},{"q":33,"r":18,"state":"off"},{"q":32,"r":19,"state":"off"},{"q":31,"r":20,"state":"off"},{"q":29,"r":22,"state":"tail"},{"q":28,"r":23,"state":"tail"},{"q":27,"r":24,"state":"tail"},{"q":26,"r":24,"state":"tail"},{"q":25,"r":24,"state":"tail"},{"q":23,"r":24,"state":"off"},{"q":22,"r":24,"state":"off"},{"q":21,"r":24,"state":"off"},{"q":20,"r":24,"state":"off"},{"q":20,"r":23,"state":"off"},{"q":20,"r":22,"state":"off"},{"q":20,"r":21,"state":"off"},{"q":20,"r":18,"state":"tail"},{"q":19,"r":17,"state":"tail"},{"q":20,"r":17,"state":"tail"},{"q":13,"r":16,"state":"off"},{"q":13,"r":15,"state":"off"},{"q":13,"r":14,"state":"off"},{"q":14,"r":17,"state":"off"},{"q":13,"r":17,"state":"off"},{"q":15,"r":17,"state":"off"},{"q":16,"r":17,"state":"off"},{"q":40,"r":-3,"state":"head"},{"q":39,"r":-2,"state":"off"},{"q":38,"r":-2,"state":"off"},{"q":37,"r":-2,"state":"off"},{"q":36,"r":0,"state":"off"},{"q":36,"r":1,"state":"off"},{"q":35,"r":1,"state":"off"},{"q":34,"r":3,"state":"off"},{"q":36,"r":-2,"state":"off"},{"q":31,"r":5,"state":"off"},{"q":32,"r":4,"state":"off"},{"q":31,"r":6,"state":"off"},{"q":32,"r":6,"state":"off"},{"q":30,"r":7,"state":"off"},{"q":29,"r":8,"state":"off"},{"q":29,"r":9,"state":"off"},{"q":28,"r":10,"state":"off"},{"q":34,"r":6,"state":"off"},{"q":35,"r":5,"state":"off"},{"q":36,"r":4,"state":"off"},{"q":39,"r":2,"state":"off"},{"q":39,"r":3,"state":"off"},{"q":37,"r":5,"state":"tail"},{"q":38,"r":4,"state":"head"},{"q":36,"r":6,"state":"off"},{"q":33,"r":7,"state":"off"},{"q":20,"r":19,"state":"tail"},{"q":18,"r":17,"state":"tail"},{"q":29,"r":5,"state":"off"},{"q":28,"r":6,"state":"off"},{"q":28,"r":7,"state":"off"},{"q":27,"r":8,"state":"off"},{"q":26,"r":9,"state":"off"},{"q":26,"r":7,"state":"off"},{"q":27,"r":7,"state":"off"},{"q":25,"r":9,"state":"off"},{"q":25,"r":8,"state":"off"},{"q":24,"r":10,"state":"off"},{"q":23,"r":11,"state":"off"},{"q":22,"r":11,"state":"off"},{"q":22,"r":12,"state":"off"},{"q":24,"r":11,"state":"off"},{"q":23,"r":12,"state":"off"},{"q":23,"r":13,"state":"off"},{"q":23,"r":14,"state":"off"},{"q":23,"r":15,"state":"off"},{"q":24,"r":15,"state":"off"},{"q":27,"r":10,"state":"off"},{"q":26,"r":11,"state":"off"},{"q":25,"r":12,"state":"off"},{"q":25,"r":13,"state":"off"},{"q":26,"r":13,"state":"off"},{"q":27,"r":12,"state":"off"},{"q":28,"r":12,"state":"off"},{"q":25,"r":22,"state":"off"},{"q":26,"r":22,"state":"off"},{"q":27,"r":22,"state":"off"},{"q":27,"r":23,"state":"off"},{"q":21,"r":11,"state":"off"},{"q":21,"r":10,"state":"off"},{"q":22,"r":9,"state":"off"},{"q":20,"r":10,"state":"off"},{"q":20,"r":9,"state":"off"},{"q":22,"r":8,"state":"off"},{"q":21,"r":8,"state":"off"},{"q":22,"r":7,"state":"off"},{"q":21,"r":7,"state":"off"},{"q":20,"r":8,"state":"off"},{"q":21,"r":6,"state":"off"},{"q":20,"r":6,"state":"off"},{"q":18,"r":8,"state":"off"},{"q":18,"r":9,"state":"off"},{"q":18,"r":10,"state":"off"},{"q":17,"r":11,"state":"off"},{"q":16,"r":11,"state":"off"},{"q":14,"r":10,"state":"head"},{"q":15,"r":10,"state":"off"},{"q":16,"r":10,"state":"off"},{"q":20,"r":2,"state":"off"},{"q":20,"r":1,"state":"off"},{"q":20,"r":0,"state":"off"},{"q":20,"r":-3,"state":"tail"},{"q":20,"r":-2,"state":"tail"},{"q":20,"r":-4,"state":"tail"},{"q":19,"r":-4,"state":"tail"},{"q":18,"r":-4,"state":"tail"},{"q":16,"r":-4,"state":"off"},{"q":15,"r":-4,"state":"off"},{"q":13,"r":-4,"state":"off"},{"q":14,"r":-4,"state":"off"},{"q":12,"r":-3,"state":"off"},{"q":11,"r":-2,"state":"off"},{"q":10,"r":-1,"state":"off"},{"q":8,"r":1,"state":"tail"},{"q":7,"r":2,"state":"tail"},{"q":6,"r":3,"state":"tail"},{"q":6,"r":5,"state":"tail"},{"q":6,"r":4,"state":"tail"},{"q":6,"r":7,"state":"off"},{"q":6,"r":8,"state":"off"},{"q":6,"r":9,"state":"off"},{"q":6,"r":10,"state":"off"},{"q":7,"r":10,"state":"off"},{"q":9,"r":10,"state":"off"},{"q":8,"r":10,"state":"off"},{"q":11,"r":10,"state":"tail"},{"q":12,"r":10,"state":"tail"},{"q":14,"r":-2,"state":"off"},{"q":15,"r":-2,"state":"off"},{"q":17,"r":-2,"state":"off"},{"q":18,"r":-2,"state":"off"},{"q":18,"r":-1,"state":"off"},{"q":16,"r":1,"state":"off"},{"q":13,"r":0,"state":"off"},{"q":15,"r":1,"state":"off"},{"q":14,"r":2,"state":"off"},{"q":14,"r":3,"state":"off"},{"q":13,"r":4,"state":"off"},{"q":12,"r":3,"state":"off"},{"q":12,"r":4,"state":"off"},{"q":13,"r":5,"state":"off"},{"q":13,"r":8,"state":"off"},{"q":7,"r":3,"state":"head"},{"q":8,"r":3,"state":"off"},{"q":9,"r":2,"state":"off"},{"q":10,"r":2,"state":"off"},{"q":11,"r":2,"state":"off"},{"q":11,"r":3,"state":"off"},{"q":9,"r":4,"state":"off"},{"q":9,"r":3,"state":"off"},{"q":8,"r":4,"state":"off"},{"q":10,"r":4,"state":"off"},{"q":42,"r":-5,"state":"tail"},{"q":43,"r":-6,"state":"tail"},{"q":45,"r":-8,"state":"off"},{"q":46,"r":-9,"state":"off"},{"q":47,"r":-10,"state":"off"},{"q":48,"r":-11,"state":"off"},{"q":49,"r":-11,"state":"off"},{"q":50,"r":-11,"state":"off"},{"q":51,"r":-11,"state":"off"},{"q":53,"r":-11,"state":"tail"},{"q":54,"r":-11,"state":"tail"},{"q":55,"r":-11,"state":"tail"},{"q":55,"r":-10,"state":"tail"},{"q":55,"r":-9,"state":"tail"},{"q":55,"r":-7,"state":"off"},{"q":55,"r":-6,"state":"off"},{"q":55,"r":-5,"state":"off"},{"q":55,"r":-4,"state":"off"},{"q":54,"r":-3,"state":"off"},{"q":53,"r":-2,"state":"off"},{"q":52,"r":-1,"state":"off"},{"q":50,"r":1,"state":"tail"},{"q":49,"r":2,"state":"tail"},{"q":48,"r":2,"state":"off"},{"q":48,"r":3,"state":"tail"},{"q":47,"r":3,"state":"tail"},{"q":46,"r":3,"state":"tail"},{"q":44,"r":3,"state":"off"},{"q":43,"r":3,"state":"off"},{"q":42,"r":3,"state":"off"},{"q":43,"r":-4,"state":"off"},{"q":46,"r":-4,"state":"off"},{"q":47,"r":-4,"state":"off"},{"q":48,"r":-4,"state":"off"},{"q":49,"r":-5,"state":"off"},{"q":48,"r":-3,"state":"off"},{"q":48,"r":-2,"state":"off"},{"q":48,"r":1,"state":"off"},{"q":52,"r":-9,"state":"off"},{"q":53,"r":-9,"state":"off"},{"q":53,"r":-8,"state":"off"},{"q":53,"r":-7,"state":"off"},{"q":53,"r":-5,"state":"tail"},{"q":53,"r":-4,"state":"head"},{"q":52,"r":-3,"state":"off"},{"q":51,"r":-3,"state":"off"},{"q":35,"r":-2,"state":"off"},{"q":34,"r":-1,"state":"off"},{"q":33,"r":0,"state":"off"},{"q":32,"r":1,"state":"off"},{"q":31,"r":2,"state":"off"},{"q":30,"r":3,"state":"off"},{"q":29,"r":4,"state":"off"},{"q":18,"r":7,"state":"off"},{"q":19,"r":6,"state":"off"},{"q":33,"r":3,"state":"off"},{"q":37,"r":-1,"state":"off"},{"q":35,"r":0,"state":"off"},{"q":35,"r":2,"state":"off"},{"q":34,"r":1,"state":"off"},{"q":33,"r":2,"state":"off"},{"q":32,"r":5,"state":"off"},{"q":33,"r":5,"state":"off"},{"q":34,"r":5,"state":"off"},{"q":34,"r":8,"state":"off"},{"q":36,"r":3,"state":"off"},{"q":37,"r":2,"state":"off"},{"q":35,"r":7,"state":"off"},{"q":34,"r":10,"state":"tail"},{"q":35,"r":9,"state":"tail"},{"q":36,"r":8,"state":"tail"},{"q":48,"r":4,"state":"tail"},{"q":48,"r":5,"state":"tail"},{"q":35,"r":17,"state":"off"},{"q":36,"r":17,"state":"off"},{"q":37,"r":17,"state":"off"},{"q":39,"r":17,"state":"tail"},{"q":40,"r":17,"state":"tail"},{"q":41,"r":17,"state":"tail"},{"q":42,"r":16,"state":"tail"},{"q":43,"r":15,"state":"tail"},{"q":41,"r":18,"state":"tail"},{"q":41,"r":19,"state":"tail"},{"q":45,"r":13,"state":"off"},{"q":46,"r":12,"state":"off"},{"q":47,"r":11,"state":"off"},{"q":48,"r":10,"state":"off"},{"q":48,"r":9,"state":"off"},{"q":48,"r":8,"state":"off"},{"q":48,"r":7,"state":"off"},{"q":49,"r":10,"state":"off"},{"q":50,"r":10,"state":"off"},{"q":51,"r":10,"state":"off"},{"q":56,"r":-4,"state":"off"},{"q":57,"r":-4,"state":"off"},{"q":58,"r":-4,"state":"off"},{"q":60,"r":-4,"state":"tail"},{"q":61,"r":-4,"state":"tail"},{"q":61,"r":-3,"state":"tail"},{"q":62,"r":-4,"state":"tail"},{"q":62,"r":-3,"state":"tail"},{"q":62,"r":-2,"state":"tail"},{"q":62,"r":0,"state":"off"},{"q":62,"r":1,"state":"off"},{"q":62,"r":3,"state":"off"},{"q":62,"r":2,"state":"off"},{"q":61,"r":4,"state":"off"},{"q":60,"r":5,"state":"off"},{"q":59,"r":6,"state":"off"},{"q":57,"r":8,"state":"tail"},{"q":56,"r":9,"state":"tail"},{"q":55,"r":10,"state":"tail"},{"q":54,"r":10,"state":"tail"},{"q":53,"r":10,"state":"tail"},{"q":55,"r":11,"state":"tail"},{"q":55,"r":12,"state":"tail"},{"q":55,"r":14,"state":"off"},{"q":55,"r":15,"state":"off"},{"q":55,"r":16,"state":"off"},{"q":55,"r":17,"state":"off"},{"q":54,"r":18,"state":"off"},{"q":53,"r":19,"state":"off"},{"q":52,"r":20,"state":"off"},{"q":50,"r":22,"state":"tail"},{"q":49,"r":23,"state":"tail"},{"q":47,"r":24,"state":"tail"},{"q":48,"r":24,"state":"tail"},{"q":46,"r":24,"state":"tail"},{"q":44,"r":24,"state":"off"},{"q":43,"r":24,"state":"off"},{"q":42,"r":24,"state":"off"},{"q":41,"r":24,"state":"off"},{"q":41,"r":23,"state":"off"},{"q":41,"r":22,"state":"off"},{"q":41,"r":21,"state":"off"},{"q":47,"r":4,"state":"off"},{"q":45,"r":6,"state":"off"},{"q":46,"r":5,"state":"off"},{"q":43,"r":8,"state":"off"},{"q":41,"r":10,"state":"off"},{"q":42,"r":9,"state":"off"},{"q":41,"r":16,"state":"off"},{"q":41,"r":15,"state":"off"},{"q":41,"r":14,"state":"off"},{"q":41,"r":11,"state":"off"},{"q":45,"r":5,"state":"off"},{"q":46,"r":6,"state":"off"},{"q":45,"r":7,"state":"off"},{"q":44,"r":6,"state":"off"},{"q":43,"r":7,"state":"off"},{"q":44,"r":8,"state":"off"},{"q":40,"r":10,"state":"off"},{"q":39,"r":10,"state":"off"},{"q":37,"r":10,"state":"off"},{"q":36,"r":10,"state":"off"},{"q":35,"r":10,"state":"tail"},{"q":37,"r":9,"state":"off"},{"q":38,"r":9,"state":"off"},{"q":39,"r":9,"state":"off"},{"q":38,"r":11,"state":"off"},{"q":37,"r":11,"state":"off"},{"q":36,"r":11,"state":"off"},{"q":49,"r":3,"state":"off"},{"q":50,"r":3,"state":"off"},{"q":51,"r":3,"state":"off"},{"q":51,"r":2,"state":"off"},{"q":50,"r":4,"state":"off"},{"q":51,"r":4,"state":"off"},{"q":52,"r":2,"state":"off"},{"q":53,"r":2,"state":"off"},{"q":52,"r":4,"state":"off"},{"q":53,"r":3,"state":"off"},{"q":54,"r":3,"state":"off"},{"q":60,"r":-2,"state":"off"},{"q":59,"r":-2,"state":"off"},{"q":60,"r":-1,"state":"off"},{"q":59,"r":-1,"state":"off"},{"q":58,"r":-1,"state":"off"},{"q":59,"r":0,"state":"off"},{"q":57,"r":1,"state":"off"},{"q":57,"r":0,"state":"off"},{"q":58,"r":1,"state":"off"},{"q":56,"r":2,"state":"off"},{"q":56,"r":3,"state":"off"},{"q":54,"r":4,"state":"off"},{"q":55,"r":3,"state":"off"},{"q":55,"r":4,"state":"off"},{"q":55,"r":5,"state":"off"},{"q":55,"r":8,"state":"off"},{"q":55,"r":9,"state":"off"},{"q":54,"r":11,"state":"off"},{"q":52,"r":13,"state":"off"},{"q":53,"r":12,"state":"off"},{"q":52,"r":12,"state":"off"},{"q":53,"r":13,"state":"off"},{"q":52,"r":14,"state":"off"},{"q":51,"r":13,"state":"off"},{"q":50,"r":14,"state":"off"},{"q":51,"r":15,"state":"off"},{"q":50,"r":15,"state":"off"},{"q":42,"r":17,"state":"off"},{"q":43,"r":17,"state":"off"},{"q":44,"r":16,"state":"off"},{"q":43,"r":18,"state":"off"},{"q":44,"r":18,"state":"off"},{"q":45,"r":16,"state":"off"},{"q":44,"r":17,"state":"off"},{"q":46,"r":16,"state":"off"},{"q":45,"r":18,"state":"off"},{"q":46,"r":17,"state":"off"},{"q":47,"r":17,"state":"off"},{"q":48,"r":17,"state":"off"},{"q":49,"r":16,"state":"off"},{"q":48,"r":18,"state":"off"},{"q":48,"r":21,"state":"off"},{"q":48,"r":22,"state":"off"},{"q":48,"r":23,"state":"off"},{"q":28,"r":21,"state":"off"},{"q":29,"r":15,"state":"off"},{"q":29,"r":16,"state":"off"},{"q":28,"r":17,"state":"off"},{"q":30,"r":16,"state":"off"},{"q":30,"r":17,"state":"off"},{"q":28,"r":18,"state":"off"},{"q":29,"r":17,"state":"off"},{"q":30,"r":18,"state":"off"},{"q":28,"r":19,"state":"off"},{"q":29,"r":19,"state":"off"},{"q":29,"r":20,"state":"off"},{"q":24,"r":20,"state":"off"},{"q":24,"r":19,"state":"off"},{"q":26,"r":20,"state":"off"},{"q":26,"r":19,"state":"off"},{"q":26,"r":18,"state":"off"},{"q":25,"r":18,"state":"off"},{"q":25,"r":21,"state":"off"},{"q":24,"r":21,"state":"off"},{"q":25,"r":16,"state":"off"},{"q":25,"r":17,"state":"off"},{"q":25,"r":15,"state":"off"},{"q":25,"r":19,"state":"off"},{"q":42,"r":11,"state":"off"},{"q":43,"r":10,"state":"off"},{"q":44,"r":10,"state":"off"},{"q":44,"r":11,"state":"off"},{"q":43,"r":12,"state":"off"},{"q":42,"r":13,"state":"off"},{"q":49,"r":18,"state":"off"},{"q":50,"r":17,"state":"off"},{"q":51,"r":17,"state":"off"},{"q":51,"r":18,"state":"off"},{"q":50,"r":19,"state":"off"},{"q":49,"r":20,"state":"off"},{"q":56,"r":5,"state":"off"},{"q":57,"r":4,"state":"off"},{"q":58,"r":4,"state":"off"},{"q":58,"r":5,"state":"off"},{"q":57,"r":6,"state":"off"},{"q":56,"r":7,"state":"off"},{"q":49,"r":-6,"state":"off"},{"q":49,"r":-8,"state":"off"},{"q":18,"r":0,"state":"off"},{"q":16,"r":2,"state":"off"},{"q":18,"r":1,"state":"tail"},{"q":16,"r":3,"state":"off"},{"q":18,"r":2,"state":"head"},{"q":13,"r":9,"state":"off"},{"q":13,"r":-1,"state":"off"},{"q":17,"r":3,"state":"off"},{"q":28,"r":13,"state":"off"},{"q":27,"r":14,"state":"off"},{"q":27,"r":15,"state":"off"},{"q":28,"r":15,"state":"off"},{"q":33,"r":9,"state":"off"},{"q":31,"r":9,"state":"off"},{"q":31,"r":10,"state":"off"},{"q":32,"r":10,"state":"off"},{"q":42,"r":-4,"state":"off"},{"q":13,"r":3,"state":"off"},{"q":63,"r":-5,"state":"tail"},{"q":64,"r":-6,"state":"tail"},{"q":63,"r":-4,"state":"off"},{"q":64,"r":-4,"state":"off"},{"q":66,"r":-8,"state":"off"},{"q":67,"r":-9,"state":"off"},{"q":68,"r":-10,"state":"off"},{"q":69,"r":-11,"state":"off"},{"q":70,"r":-11,"state":"off"},{"q":71,"r":-11,"state":"off"},{"q":72,"r":-11,"state":"off"},{"q":74,"r":-11,"state":"tail"},{"q":75,"r":-11,"state":"tail"},{"q":76,"r":-11,"state":"tail"},{"q":76,"r":-10,"state":"tail"},{"q":76,"r":-9,"state":"tail"},{"q":76,"r":-7,"state":"off"},{"q":76,"r":-6,"state":"off"},{"q":76,"r":-5,"state":"off"},{"q":76,"r":-4,"state":"off"},{"q":75,"r":-3,"state":"off"},{"q":73,"r":-1,"state":"off"},{"q":74,"r":-2,"state":"off"},{"q":71,"r":1,"state":"tail"},{"q":69,"r":3,"state":"tail"},{"q":70,"r":2,"state":"tail"},{"q":68,"r":3,"state":"tail"},{"q":67,"r":3,"state":"tail"},{"q":65,"r":3,"state":"off"},{"q":64,"r":3,"state":"off"},{"q":63,"r":3,"state":"off"},{"q":65,"r":-4,"state":"off"},{"q":75,"r":-10,"state":"head"},{"q":74,"r":-9,"state":"off"},{"q":71,"r":-6,"state":"off"},{"q":68,"r":-4,"state":"off"},{"q":69,"r":-4,"state":"off"},{"q":70,"r":-5,"state":"off"},{"q":73,"r":-8,"state":"off"},{"q":69,"r":-3,"state":"off"},{"q":69,"r":-2,"state":"off"},{"q":69,"r":1,"state":"off"},{"q":69,"r":2,"state":"off"},{"q":69,"r":0,"state":"off"},{"q":73,"r":-9,"state":"off"},{"q":74,"r":-8,"state":"off"},{"q":71,"r":-7,"state":"off"},{"q":72,"r":-8,"state":"off"},{"q":73,"r":-7,"state":"off"},{"q":72,"r":-6,"state":"off"},{"q":70,"r":0,"state":"off"},{"q":70,"r":-1,"state":"off"},{"q":70,"r":-2,"state":"off"},{"q":68,"r":-1,"state":"off"},{"q":68,"r":0,"state":"off"},{"q":68,"r":1,"state":"off"},{"q":14,"r":1,"state":"off"},{"q":13,"r":1,"state":"off"},{"q":15,"r":-1,"state":"off"},{"q":16,"r":-1,"state":"off"},{"q":32,"r":8,"state":"off"},{"q":68,"r":-7,"state":"off"},{"q":68,"r":-5,"state":"off"},{"q":67,"r":-6,"state":"off"},{"q":66,"r":-5,"state":"off"},{"q":69,"r":-7,"state":"off"},{"q":69,"r":-6,"state":"off"},{"q":12,"r":6,"state":"off"},{"q":11,"r":8,"state":"off"},{"q":12,"r":8,"state":"off"},{"q":11,"r":6,"state":"off"},{"q":10,"r":7,"state":"off"},{"q":10,"r":8,"state":"off"},{"q":46,"r":-5,"state":"off"},{"q":50,"r":-5,"state":"off"},{"q":50,"r":-4,"state":"off"},{"q":50,"r":-3,"state":"off"},{"q":51,"r":-9,"state":"off"},{"q":50,"r":-9,"state":"off"},{"q":52,"r":-5,"state":"off"},{"q":52,"r":-6,"state":"off"},{"q":49,"r":-7,"state":"off"},{"q":44,"r":-5,"state":"off"},{"q":45,"r":-6,"state":"off"},{"q":47,"r":-7,"state":"off"},{"q":47,"r":-6,"state":"off"},{"q":46,"r":-7,"state":"off"},{"q":47,"r":1,"state":"off"},{"q":46,"r":1,"state":"off"},{"q":45,"r":1,"state":"off"},{"q":45,"r":0,"state":"off"},{"q":46,"r":-1,"state":"off"},{"q":47,"r":-1,"state":"off"},{"q":38,"r":2,"state":"off"}]
index 2194d5d9b4c41e398bc989f03944694ec8f2d20d..c5d93aa76f0fc243539c7da559dc39dd48a27930 100644 (file)
--- a/notes.org
+++ b/notes.org
@@ -19,6 +19,9 @@ diodes:
 'not' gate variation:
 [{"q":-5,"r":-1,"state":"off"},{"q":-4,"r":-2,"state":"off"},{"q":-4,"r":-1,"state":"off"},{"q":-5,"r":0,"state":"off"},{"q":-6,"r":-1,"state":"off"},{"q":-7,"r":-1,"state":"head"},{"q":-3,"r":-2,"state":"off"},{"q":-2,"r":-2,"state":"off"},{"q":-4,"r":0,"state":"off"},{"q":-3,"r":0,"state":"off"},{"q":-2,"r":-1,"state":"off"},{"q":0,"r":-1,"state":"off"},{"q":1,"r":-1,"state":"off"},{"q":-1,"r":-1,"state":"off"},{"q":2,"r":-1,"state":"off"},{"q":2,"r":0,"state":"off"},{"q":2,"r":1,"state":"off"},{"q":2,"r":3,"state":"off"},{"q":2,"r":2,"state":"off"},{"q":2,"r":-2,"state":"off"},{"q":1,"r":0,"state":"off"},{"q":3,"r":-2,"state":"off"},{"q":3,"r":-1,"state":"off"},{"q":4,"r":-3,"state":"off"},{"q":5,"r":-4,"state":"off"},{"q":6,"r":-6,"state":"off"},{"q":6,"r":-5,"state":"off"},{"q":7,"r":-7,"state":"off"},{"q":9,"r":-8,"state":"tail"},{"q":8,"r":-8,"state":"off"},{"q":10,"r":-8,"state":"head"},{"q":10,"r":-7,"state":"off"},{"q":10,"r":-6,"state":"off"},{"q":9,"r":-5,"state":"off"},{"q":8,"r":-4,"state":"off"},{"q":7,"r":-4,"state":"off"},{"q":6,"r":-4,"state":"off"}]
 
+better nand:
+[{"q":-6,"r":5,"state":"off"},{"q":-5,"r":5,"state":"off"},{"q":-4,"r":4,"state":"off"},{"q":-3,"r":4,"state":"off"},{"q":-4,"r":5,"state":"off"},{"q":-5,"r":6,"state":"off"},{"q":-4,"r":6,"state":"off"},{"q":-3,"r":6,"state":"off"},{"q":-2,"r":4,"state":"off"},{"q":-1,"r":5,"state":"off"},{"q":-2,"r":5,"state":"off"},{"q":0,"r":5,"state":"off"},{"q":0,"r":6,"state":"off"},{"q":-1,"r":6,"state":"off"},{"q":1,"r":5,"state":"off"},{"q":1,"r":4,"state":"off"},{"q":0,"r":7,"state":"off"},{"q":0,"r":8,"state":"off"},{"q":2,"r":3,"state":"off"},{"q":2,"r":2,"state":"off"},{"q":3,"r":3,"state":"off"},{"q":4,"r":2,"state":"off"},{"q":3,"r":1,"state":"off"},{"q":4,"r":1,"state":"off"},{"q":4,"r":0,"state":"off"},{"q":5,"r":1,"state":"off"},{"q":5,"r":0,"state":"off"},{"q":6,"r":-1,"state":"off"},{"q":7,"r":-2,"state":"off"},{"q":8,"r":-3,"state":"head"},{"q":7,"r":-1,"state":"off"},{"q":7,"r":0,"state":"off"},{"q":7,"r":1,"state":"off"},{"q":-8,"r":5,"state":"head"},{"q":-7,"r":5,"state":"off"},{"q":5,"r":3,"state":"off"},{"q":4,"r":4,"state":"off"},{"q":4,"r":6,"state":"off"},{"q":5,"r":8,"state":"off"},{"q":4,"r":9,"state":"off"},{"q":2,"r":10,"state":"off"},{"q":-1,"r":9,"state":"off"},{"q":-3,"r":10,"state":"off"},{"q":6,"r":8,"state":"off"},{"q":7,"r":7,"state":"off"},{"q":8,"r":5,"state":"off"},{"q":8,"r":6,"state":"off"},{"q":8,"r":4,"state":"off"},{"q":9,"r":3,"state":"off"},{"q":10,"r":3,"state":"off"},{"q":10,"r":4,"state":"off"},{"q":10,"r":5,"state":"off"},{"q":10,"r":6,"state":"off"},{"q":11,"r":6,"state":"head"},{"q":12,"r":5,"state":"tail"},{"q":13,"r":4,"state":"off"},{"q":13,"r":3,"state":"off"},{"q":13,"r":1,"state":"off"},{"q":13,"r":2,"state":"off"},{"q":12,"r":1,"state":"off"},{"q":11,"r":2,"state":"off"},{"q":7,"r":2,"state":"off"},{"q":6,"r":3,"state":"off"},{"q":6,"r":4,"state":"off"},{"q":5,"r":5,"state":"off"},{"q":5,"r":4,"state":"off"},{"q":3,"r":5,"state":"off"},{"q":3,"r":6,"state":"off"},{"q":2,"r":7,"state":"off"},{"q":2,"r":8,"state":"off"},{"q":2,"r":9,"state":"off"},{"q":1,"r":10,"state":"off"},{"q":2,"r":11,"state":"off"},{"q":3,"r":10,"state":"off"},{"q":1,"r":11,"state":"off"},{"q":0,"r":12,"state":"off"},{"q":-2,"r":9,"state":"off"},{"q":-1,"r":10,"state":"off"},{"q":-2,"r":11,"state":"off"},{"q":-2,"r":10,"state":"off"},{"q":-4,"r":11,"state":"off"},{"q":-3,"r":12,"state":"off"},{"q":-4,"r":12,"state":"off"},{"q":-5,"r":13,"state":"off"},{"q":-3,"r":14,"state":"off"},{"q":-1,"r":13,"state":"off"},{"q":-2,"r":15,"state":"off"},{"q":-1,"r":12,"state":"off"},{"q":0,"r":13,"state":"off"},{"q":-1,"r":14,"state":"off"},{"q":-2,"r":13,"state":"off"},{"q":-3,"r":15,"state":"off"},{"q":-4,"r":16,"state":"off"},{"q":-6,"r":14,"state":"off"},{"q":-6,"r":15,"state":"off"},{"q":-6,"r":16,"state":"off"},{"q":-6,"r":17,"state":"off"},{"q":-5,"r":17,"state":"off"},{"q":-6,"r":18,"state":"off"},{"q":-6,"r":19,"state":"off"},{"q":-6,"r":20,"state":"off"},{"q":-6,"r":21,"state":"off"}]
+
 nand: (a xor b) or (not b)
 wholly unoptimized, broken timing
 [{"q":-3,"r":1,"state":"off"},{"q":-2,"r":1,"state":"off"},{"q":10,"r":-6,"state":"off"},{"q":9,"r":-5,"state":"off"},{"q":8,"r":-4,"state":"off"},{"q":7,"r":-3,"state":"off"},{"q":5,"r":-2,"state":"off"},{"q":6,"r":-2,"state":"off"},{"q":6,"r":-3,"state":"off"},{"q":7,"r":-2,"state":"off"},{"q":6,"r":-1,"state":"off"},{"q":5,"r":0,"state":"off"},{"q":4,"r":-1,"state":"off"},{"q":4,"r":0,"state":"off"},{"q":3,"r":1,"state":"off"},{"q":2,"r":2,"state":"off"},{"q":1,"r":2,"state":"off"},{"q":0,"r":2,"state":"off"},{"q":-1,"r":2,"state":"off"},{"q":9,"r":-2,"state":"off"},{"q":10,"r":-2,"state":"off"},{"q":9,"r":-1,"state":"off"},{"q":9,"r":0,"state":"off"},{"q":11,"r":-1,"state":"off"},{"q":10,"r":-5,"state":"off"},{"q":10,"r":-4,"state":"off"},{"q":10,"r":-3,"state":"off"},{"q":11,"r":-3,"state":"off"},{"q":11,"r":-2,"state":"off"},{"q":10,"r":0,"state":"off"},{"q":10,"r":1,"state":"off"},{"q":11,"r":-7,"state":"head"},{"q":10,"r":2,"state":"off"},{"q":9,"r":2,"state":"off"},{"q":10,"r":3,"state":"off"},{"q":9,"r":3,"state":"off"},{"q":8,"r":4,"state":"off"},{"q":11,"r":2,"state":"off"},{"q":12,"r":2,"state":"off"},{"q":13,"r":1,"state":"off"},{"q":14,"r":0,"state":"off"},{"q":15,"r":-1,"state":"off"},{"q":15,"r":-2,"state":"off"},{"q":15,"r":-3,"state":"off"},{"q":15,"r":-4,"state":"off"},{"q":15,"r":-5,"state":"off"},{"q":15,"r":-6,"state":"head"},{"q":16,"r":-1,"state":"off"},{"q":17,"r":-1,"state":"off"},{"q":18,"r":-2,"state":"off"},{"q":18,"r":-3,"state":"off"},{"q":18,"r":-5,"state":"off"},{"q":18,"r":-4,"state":"off"},{"q":18,"r":-6,"state":"off"},{"q":18,"r":-7,"state":"off"},{"q":17,"r":-8,"state":"off"},{"q":18,"r":-8,"state":"off"},{"q":15,"r":-7,"state":"tail"},{"q":16,"r":-8,"state":"off"},{"q":-1,"r":1,"state":"off"},{"q":-2,"r":3,"state":"off"},{"q":-3,"r":3,"state":"off"},{"q":-3,"r":2,"state":"off"},{"q":-4,"r":3,"state":"off"},{"q":-4,"r":2,"state":"off"},{"q":-5,"r":2,"state":"off"},{"q":-6,"r":2,"state":"off"},{"q":1,"r":3,"state":"off"},{"q":3,"r":2,"state":"off"},{"q":2,"r":3,"state":"off"},{"q":2,"r":4,"state":"off"},{"q":2,"r":5,"state":"off"},{"q":7,"r":5,"state":"off"},{"q":3,"r":6,"state":"off"},{"q":5,"r":6,"state":"off"},{"q":6,"r":7,"state":"off"},{"q":7,"r":4,"state":"off"},{"q":8,"r":5,"state":"off"},{"q":6,"r":5,"state":"off"},{"q":7,"r":6,"state":"off"},{"q":5,"r":7,"state":"off"},{"q":4,"r":8,"state":"off"},{"q":1,"r":5,"state":"off"},{"q":3,"r":4,"state":"off"},{"q":3,"r":5,"state":"off"},{"q":1,"r":6,"state":"off"},{"q":1,"r":7,"state":"off"},{"q":2,"r":7,"state":"off"},{"q":2,"r":8,"state":"off"},{"q":2,"r":9,"state":"off"},{"q":3,"r":9,"state":"off"},{"q":2,"r":10,"state":"off"},{"q":2,"r":11,"state":"off"},{"q":2,"r":12,"state":"off"},{"q":3,"r":13,"state":"off"},{"q":2,"r":13,"state":"off"},{"q":4,"r":13,"state":"off"},{"q":4,"r":14,"state":"off"},{"q":-7,"r":2,"state":"head"}]
@@ -26,3 +29,14 @@ wholly unoptimized, broken timing
 
 broken 'nand' attempt:
 [{"q":-3,"r":-2,"state":"off"},{"q":-2,"r":-2,"state":"off"},{"q":-1,"r":-3,"state":"off"},{"q":0,"r":-3,"state":"off"},{"q":-2,"r":-1,"state":"off"},{"q":-1,"r":-1,"state":"off"},{"q":1,"r":-2,"state":"off"},{"q":2,"r":-2,"state":"off"},{"q":3,"r":-2,"state":"off"},{"q":4,"r":-2,"state":"off"},{"q":4,"r":-1,"state":"off"},{"q":5,"r":-3,"state":"off"},{"q":6,"r":-4,"state":"off"},{"q":8,"r":-7,"state":"off"},{"q":9,"r":-6,"state":"off"},{"q":10,"r":-8,"state":"off"},{"q":11,"r":-9,"state":"off"},{"q":3,"r":-1,"state":"off"},{"q":5,"r":-2,"state":"off"},{"q":0,"r":-2,"state":"off"},{"q":-2,"r":-3,"state":"off"},{"q":-3,"r":-1,"state":"off"},{"q":-4,"r":-2,"state":"head"},{"q":8,"r":-6,"state":"off"},{"q":11,"r":-8,"state":"off"},{"q":12,"r":-10,"state":"tail"},{"q":7,"r":-4,"state":"off"},{"q":4,"r":0,"state":"off"},{"q":3,"r":1,"state":"off"},{"q":5,"r":0,"state":"off"},{"q":4,"r":1,"state":"off"},{"q":3,"r":2,"state":"off"},{"q":5,"r":1,"state":"off"},{"q":5,"r":2,"state":"off"},{"q":3,"r":3,"state":"off"},{"q":4,"r":3,"state":"off"},{"q":4,"r":4,"state":"off"},{"q":8,"r":2,"state":"off"},{"q":4,"r":6,"state":"off"},{"q":5,"r":6,"state":"off"},{"q":7,"r":4,"state":"off"},{"q":6,"r":5,"state":"off"},{"q":6,"r":6,"state":"off"},{"q":4,"r":7,"state":"off"},{"q":5,"r":7,"state":"off"},{"q":5,"r":8,"state":"off"},{"q":5,"r":9,"state":"off"},{"q":4,"r":10,"state":"off"},{"q":3,"r":11,"state":"off"},{"q":2,"r":11,"state":"off"},{"q":1,"r":11,"state":"off"},{"q":5,"r":10,"state":"off"},{"q":6,"r":8,"state":"off"},{"q":6,"r":9,"state":"off"},{"q":7,"r":9,"state":"off"},{"q":7,"r":10,"state":"off"},{"q":1,"r":10,"state":"off"},{"q":0,"r":10,"state":"off"},{"q":0,"r":12,"state":"off"},{"q":-1,"r":12,"state":"off"},{"q":-2,"r":12,"state":"off"},{"q":-1,"r":11,"state":"off"},{"q":-1,"r":10,"state":"off"},{"q":-2,"r":11,"state":"off"},{"q":-3,"r":11,"state":"off"},{"q":-4,"r":11,"state":"off"},{"q":-5,"r":11,"state":"off"},{"q":-6,"r":11,"state":"off"},{"q":-7,"r":11,"state":"off"},{"q":-4,"r":5,"state":"head"},{"q":-4,"r":6,"state":"off"},{"q":-4,"r":4,"state":"tail"},{"q":-5,"r":6,"state":"off"},{"q":-6,"r":7,"state":"off"},{"q":-3,"r":6,"state":"off"},{"q":-2,"r":6,"state":"off"},{"q":-1,"r":5,"state":"off"},{"q":0,"r":4,"state":"off"},{"q":0,"r":3,"state":"off"},{"q":0,"r":2,"state":"off"},{"q":-1,"r":2,"state":"off"},{"q":-2,"r":2,"state":"off"},{"q":-3,"r":3,"state":"off"},{"q":-8,"r":11,"state":"off"},{"q":-9,"r":11,"state":"off"},{"q":-9,"r":10,"state":"off"},{"q":-7,"r":7,"state":"off"},{"q":-8,"r":7,"state":"off"},{"q":-9,"r":8,"state":"off"},{"q":-9,"r":9,"state":"off"},{"q":6,"r":-5,"state":"off"},{"q":8,"r":-5,"state":"off"},{"q":7,"r":-6,"state":"off"},{"q":9,"r":-7,"state":"off"},{"q":11,"r":-7,"state":"off"},{"q":7,"r":3,"state":"off"},{"q":8,"r":4,"state":"off"},{"q":9,"r":3,"state":"off"},{"q":9,"r":2,"state":"off"},{"q":10,"r":2,"state":"off"},{"q":9,"r":1,"state":"off"},{"q":10,"r":1,"state":"off"},{"q":11,"r":0,"state":"off"},{"q":11,"r":-1,"state":"off"},{"q":11,"r":-2,"state":"off"},{"q":12,"r":-3,"state":"off"},{"q":13,"r":-4,"state":"off"},{"q":13,"r":-5,"state":"off"},{"q":12,"r":-7,"state":"off"},{"q":13,"r":-7,"state":"off"},{"q":4,"r":5,"state":"off"},{"q":13,"r":-6,"state":"off"}]
+
+
+major big thing testing:
+[{"q":-6,"r":5,"state":"off"},{"q":-5,"r":5,"state":"off"},{"q":-4,"r":4,"state":"off"},{"q":-3,"r":4,"state":"off"},{"q":-4,"r":5,"state":"off"},{"q":-5,"r":6,"state":"off"},{"q":-4,"r":6,"state":"off"},{"q":-3,"r":6,"state":"off"},{"q":-2,"r":4,"state":"off"},{"q":-1,"r":5,"state":"off"},{"q":-2,"r":5,"state":"off"},{"q":0,"r":5,"state":"off"},{"q":0,"r":6,"state":"off"},{"q":-1,"r":6,"state":"off"},{"q":1,"r":5,"state":"off"},{"q":1,"r":4,"state":"off"},{"q":0,"r":7,"state":"off"},{"q":0,"r":8,"state":"off"},{"q":2,"r":3,"state":"off"},{"q":2,"r":2,"state":"off"},{"q":3,"r":3,"state":"off"},{"q":4,"r":2,"state":"off"},{"q":3,"r":1,"state":"off"},{"q":4,"r":1,"state":"off"},{"q":4,"r":0,"state":"off"},{"q":5,"r":1,"state":"off"},{"q":5,"r":0,"state":"off"},{"q":6,"r":-1,"state":"off"},{"q":7,"r":-2,"state":"off"},{"q":8,"r":-3,"state":"off"},{"q":7,"r":-1,"state":"off"},{"q":7,"r":0,"state":"off"},{"q":7,"r":1,"state":"off"},{"q":-8,"r":5,"state":"off"},{"q":-7,"r":5,"state":"off"},{"q":5,"r":3,"state":"off"},{"q":4,"r":4,"state":"off"},{"q":4,"r":6,"state":"off"},{"q":5,"r":8,"state":"off"},{"q":4,"r":9,"state":"off"},{"q":2,"r":10,"state":"tail"},{"q":-1,"r":9,"state":"off"},{"q":-3,"r":10,"state":"off"},{"q":6,"r":8,"state":"off"},{"q":7,"r":7,"state":"off"},{"q":8,"r":5,"state":"off"},{"q":8,"r":6,"state":"off"},{"q":8,"r":4,"state":"off"},{"q":9,"r":3,"state":"off"},{"q":10,"r":3,"state":"off"},{"q":10,"r":4,"state":"head"},{"q":10,"r":5,"state":"tail"},{"q":10,"r":6,"state":"off"},{"q":11,"r":6,"state":"off"},{"q":12,"r":5,"state":"off"},{"q":13,"r":4,"state":"off"},{"q":13,"r":3,"state":"off"},{"q":13,"r":1,"state":"off"},{"q":13,"r":2,"state":"off"},{"q":12,"r":1,"state":"off"},{"q":11,"r":2,"state":"off"},{"q":7,"r":2,"state":"off"},{"q":6,"r":3,"state":"off"},{"q":6,"r":4,"state":"off"},{"q":5,"r":5,"state":"off"},{"q":5,"r":4,"state":"off"},{"q":3,"r":5,"state":"off"},{"q":3,"r":6,"state":"off"},{"q":2,"r":7,"state":"off"},{"q":2,"r":8,"state":"off"},{"q":2,"r":9,"state":"head"},{"q":1,"r":10,"state":"head"},{"q":2,"r":11,"state":"tail"},{"q":3,"r":10,"state":"off"},{"q":1,"r":11,"state":"head"},{"q":0,"r":12,"state":"off"},{"q":-2,"r":9,"state":"off"},{"q":-1,"r":10,"state":"off"},{"q":-2,"r":11,"state":"off"},{"q":-2,"r":10,"state":"off"},{"q":-4,"r":11,"state":"off"},{"q":-3,"r":12,"state":"off"},{"q":-4,"r":12,"state":"off"},{"q":-5,"r":13,"state":"off"},{"q":-3,"r":14,"state":"off"},{"q":-1,"r":13,"state":"off"},{"q":-2,"r":15,"state":"off"},{"q":-1,"r":12,"state":"off"},{"q":0,"r":13,"state":"off"},{"q":-1,"r":14,"state":"off"},{"q":-2,"r":13,"state":"off"},{"q":-3,"r":15,"state":"off"},{"q":-4,"r":16,"state":"off"},{"q":-6,"r":14,"state":"off"},{"q":-6,"r":15,"state":"off"},{"q":-6,"r":16,"state":"off"},{"q":-6,"r":17,"state":"off"},{"q":-5,"r":17,"state":"off"},{"q":-6,"r":18,"state":"off"},{"q":-6,"r":19,"state":"off"},{"q":-6,"r":20,"state":"off"},{"q":23,"r":-1,"state":"tail"},{"q":24,"r":-1,"state":"head"},{"q":25,"r":-2,"state":"off"},{"q":24,"r":0,"state":"off"},{"q":25,"r":0,"state":"off"},{"q":26,"r":-2,"state":"off"},{"q":25,"r":-1,"state":"off"},{"q":27,"r":-2,"state":"off"},{"q":26,"r":0,"state":"off"},{"q":28,"r":-1,"state":"off"},{"q":27,"r":-1,"state":"off"},{"q":29,"r":-1,"state":"off"},{"q":30,"r":-2,"state":"off"},{"q":31,"r":-3,"state":"off"},{"q":31,"r":-4,"state":"off"},{"q":32,"r":-3,"state":"off"},{"q":33,"r":-4,"state":"off"},{"q":32,"r":-5,"state":"off"},{"q":33,"r":-6,"state":"off"},{"q":33,"r":-5,"state":"off"},{"q":34,"r":-5,"state":"off"},{"q":34,"r":-6,"state":"head"},{"q":35,"r":-7,"state":"tail"},{"q":29,"r":0,"state":"off"},{"q":29,"r":2,"state":"off"},{"q":29,"r":3,"state":"off"},{"q":29,"r":1,"state":"off"},{"q":22,"r":-1,"state":"tail"},{"q":23,"r":-2,"state":"head"},{"q":24,"r":-3,"state":"off"},{"q":25,"r":-4,"state":"off"},{"q":27,"r":-6,"state":"off"},{"q":26,"r":-5,"state":"off"},{"q":36,"r":-8,"state":"tail"},{"q":35,"r":-8,"state":"head"},{"q":34,"r":-8,"state":"off"},{"q":33,"r":-8,"state":"off"},{"q":32,"r":-8,"state":"off"},{"q":31,"r":-8,"state":"off"},{"q":30,"r":-8,"state":"off"},{"q":28,"r":-7,"state":"off"},{"q":29,"r":-8,"state":"off"},{"q":22,"r":0,"state":"off"},{"q":22,"r":1,"state":"off"},{"q":22,"r":2,"state":"off"},{"q":22,"r":3,"state":"off"},{"q":22,"r":4,"state":"off"},{"q":22,"r":5,"state":"off"},{"q":22,"r":6,"state":"off"},{"q":23,"r":6,"state":"off"},{"q":29,"r":4,"state":"off"},{"q":25,"r":6,"state":"off"},{"q":28,"r":6,"state":"off"},{"q":27,"r":6,"state":"off"},{"q":26,"r":6,"state":"off"},{"q":24,"r":6,"state":"off"},{"q":29,"r":6,"state":"off"},{"q":29,"r":5,"state":"off"},{"q":30,"r":5,"state":"off"},{"q":31,"r":4,"state":"off"},{"q":32,"r":3,"state":"off"},{"q":33,"r":2,"state":"off"},{"q":35,"r":0,"state":"off"},{"q":34,"r":1,"state":"off"},{"q":36,"r":-1,"state":"off"},{"q":36,"r":-7,"state":"off"},{"q":36,"r":-5,"state":"off"},{"q":36,"r":-6,"state":"off"},{"q":36,"r":-4,"state":"off"},{"q":36,"r":-3,"state":"off"},{"q":36,"r":-2,"state":"off"},{"q":29,"r":7,"state":"off"},{"q":29,"r":8,"state":"off"},{"q":29,"r":9,"state":"off"},{"q":29,"r":10,"state":"off"},{"q":29,"r":11,"state":"off"},{"q":29,"r":12,"state":"off"},{"q":29,"r":13,"state":"head"},{"q":30,"r":13,"state":"off"},{"q":31,"r":13,"state":"off"},{"q":30,"r":6,"state":"off"},{"q":31,"r":6,"state":"off"},{"q":32,"r":5,"state":"off"},{"q":31,"r":7,"state":"off"},{"q":32,"r":6,"state":"off"},{"q":33,"r":5,"state":"off"},{"q":32,"r":7,"state":"off"},{"q":33,"r":7,"state":"off"},{"q":34,"r":5,"state":"off"},{"q":34,"r":6,"state":"off"},{"q":35,"r":6,"state":"off"},{"q":36,"r":6,"state":"off"},{"q":37,"r":5,"state":"off"},{"q":38,"r":4,"state":"off"},{"q":38,"r":3,"state":"off"},{"q":39,"r":4,"state":"off"},{"q":39,"r":2,"state":"off"},{"q":40,"r":2,"state":"tail"},{"q":40,"r":3,"state":"off"},{"q":41,"r":2,"state":"tail"},{"q":40,"r":1,"state":"tail"},{"q":41,"r":1,"state":"off"},{"q":42,"r":0,"state":"tail"},{"q":35,"r":7,"state":"off"},{"q":36,"r":7,"state":"off"},{"q":37,"r":6,"state":"off"},{"q":36,"r":8,"state":"off"},{"q":36,"r":9,"state":"off"},{"q":36,"r":10,"state":"off"},{"q":36,"r":11,"state":"off"},{"q":37,"r":-1,"state":"off"},{"q":43,"r":-1,"state":"tail"},{"q":42,"r":-1,"state":"off"},{"q":41,"r":-1,"state":"off"},{"q":40,"r":-1,"state":"off"},{"q":38,"r":-1,"state":"off"},{"q":39,"r":-1,"state":"off"},{"q":43,"r":0,"state":"head"},{"q":43,"r":1,"state":"off"},{"q":43,"r":3,"state":"off"},{"q":43,"r":2,"state":"off"},{"q":43,"r":4,"state":"off"},{"q":43,"r":5,"state":"off"},{"q":43,"r":6,"state":"off"},{"q":42,"r":7,"state":"off"},{"q":41,"r":8,"state":"off"},{"q":37,"r":12,"state":"off"},{"q":38,"r":11,"state":"off"},{"q":39,"r":10,"state":"tail"},{"q":40,"r":9,"state":"head"},{"q":36,"r":13,"state":"off"},{"q":35,"r":13,"state":"off"},{"q":36,"r":12,"state":"off"},{"q":33,"r":13,"state":"off"},{"q":34,"r":13,"state":"off"},{"q":32,"r":13,"state":"off"},{"q":21,"r":7,"state":"off"},{"q":20,"r":8,"state":"off"},{"q":18,"r":10,"state":"off"},{"q":19,"r":9,"state":"off"},{"q":28,"r":14,"state":"tail"},{"q":27,"r":15,"state":"off"},{"q":26,"r":16,"state":"off"},{"q":25,"r":17,"state":"off"},{"q":24,"r":18,"state":"off"},{"q":23,"r":19,"state":"off"},{"q":22,"r":20,"state":"off"},{"q":21,"r":20,"state":"off"},{"q":20,"r":20,"state":"off"},{"q":19,"r":20,"state":"off"},{"q":18,"r":20,"state":"off"},{"q":17,"r":20,"state":"off"},{"q":16,"r":20,"state":"tail"},{"q":15,"r":20,"state":"head"},{"q":15,"r":19,"state":"off"},{"q":15,"r":18,"state":"off"},{"q":15,"r":17,"state":"off"},{"q":15,"r":16,"state":"off"},{"q":15,"r":15,"state":"off"},{"q":17,"r":11,"state":"off"},{"q":16,"r":12,"state":"off"},{"q":15,"r":13,"state":"off"},{"q":15,"r":14,"state":"off"},{"q":16,"r":13,"state":"off"},{"q":17,"r":13,"state":"off"},{"q":22,"r":19,"state":"off"},{"q":22,"r":17,"state":"off"},{"q":22,"r":18,"state":"off"},{"q":21,"r":17,"state":"off"},{"q":23,"r":16,"state":"off"},{"q":22,"r":16,"state":"off"},{"q":23,"r":15,"state":"head"},{"q":21,"r":16,"state":"off"},{"q":20,"r":16,"state":"off"},{"q":19,"r":16,"state":"off"},{"q":18,"r":16,"state":"off"},{"q":17,"r":16,"state":"off"},{"q":17,"r":15,"state":"off"},{"q":17,"r":14,"state":"off"},{"q":23,"r":14,"state":"tail"},{"q":23,"r":13,"state":"off"},{"q":24,"r":13,"state":"tail"},{"q":26,"r":11,"state":"off"},{"q":26,"r":9,"state":"off"},{"q":26,"r":10,"state":"off"},{"q":24,"r":9,"state":"off"},{"q":23,"r":10,"state":"off"},{"q":23,"r":11,"state":"off"},{"q":25,"r":9,"state":"off"},{"q":25,"r":12,"state":"head"},{"q":23,"r":12,"state":"off"},{"q":24,"r":8,"state":"off"},{"q":14,"r":22,"state":"off"},{"q":15,"r":22,"state":"off"},{"q":21,"r":22,"state":"tail"},{"q":20,"r":22,"state":"tail"},{"q":19,"r":22,"state":"tail"},{"q":17,"r":22,"state":"off"},{"q":16,"r":22,"state":"off"},{"q":21,"r":23,"state":"tail"},{"q":21,"r":24,"state":"tail"},{"q":21,"r":26,"state":"off"},{"q":21,"r":27,"state":"off"},{"q":21,"r":28,"state":"off"},{"q":21,"r":29,"state":"off"},{"q":20,"r":30,"state":"off"},{"q":19,"r":31,"state":"off"},{"q":18,"r":32,"state":"off"},{"q":17,"r":33,"state":"off"},{"q":16,"r":34,"state":"off"},{"q":15,"r":35,"state":"off"},{"q":14,"r":36,"state":"off"},{"q":12,"r":36,"state":"off"},{"q":10,"r":36,"state":"off"},{"q":13,"r":23,"state":"off"},{"q":12,"r":24,"state":"off"},{"q":11,"r":25,"state":"off"},{"q":10,"r":26,"state":"off"},{"q":9,"r":27,"state":"off"},{"q":8,"r":28,"state":"off"},{"q":7,"r":29,"state":"off"},{"q":14,"r":37,"state":"off"},{"q":14,"r":38,"state":"off"},{"q":14,"r":39,"state":"off"},{"q":14,"r":40,"state":"off"},{"q":14,"r":41,"state":"off"},{"q":14,"r":42,"state":"off"},{"q":14,"r":43,"state":"off"},{"q":13,"r":44,"state":"off"},{"q":12,"r":45,"state":"off"},{"q":11,"r":46,"state":"off"},{"q":9,"r":48,"state":"tail"},{"q":8,"r":49,"state":"tail"},{"q":7,"r":50,"state":"tail"},{"q":6,"r":50,"state":"tail"},{"q":5,"r":50,"state":"tail"},{"q":3,"r":50,"state":"off"},{"q":2,"r":50,"state":"off"},{"q":1,"r":50,"state":"off"},{"q":0,"r":50,"state":"off"},{"q":0,"r":49,"state":"off"},{"q":0,"r":48,"state":"off"},{"q":0,"r":47,"state":"off"},{"q":0,"r":46,"state":"off"},{"q":0,"r":45,"state":"off"},{"q":0,"r":44,"state":"off"},{"q":0,"r":43,"state":"off"},{"q":3,"r":40,"state":"off"},{"q":-1,"r":43,"state":"off"},{"q":-2,"r":43,"state":"off"},{"q":-3,"r":43,"state":"off"},{"q":6,"r":29,"state":"off"},{"q":5,"r":29,"state":"off"},{"q":4,"r":29,"state":"off"},{"q":3,"r":29,"state":"off"},{"q":2,"r":29,"state":"off"},{"q":1,"r":29,"state":"off"},{"q":0,"r":29,"state":"off"},{"q":-4,"r":43,"state":"off"},{"q":-5,"r":43,"state":"off"},{"q":-6,"r":43,"state":"off"},{"q":-7,"r":43,"state":"off"},{"q":-7,"r":42,"state":"off"},{"q":-7,"r":41,"state":"off"},{"q":-7,"r":40,"state":"off"},{"q":-7,"r":38,"state":"tail"},{"q":-7,"r":37,"state":"tail"},{"q":-1,"r":30,"state":"off"},{"q":-2,"r":31,"state":"off"},{"q":-3,"r":32,"state":"off"},{"q":-5,"r":34,"state":"tail"},{"q":-6,"r":35,"state":"tail"},{"q":-7,"r":36,"state":"tail"},{"q":-6,"r":36,"state":"tail"},{"q":-5,"r":36,"state":"off"},{"q":20,"r":23,"state":"head"},{"q":19,"r":24,"state":"off"},{"q":16,"r":27,"state":"off"},{"q":14,"r":29,"state":"off"},{"q":18,"r":28,"state":"off"},{"q":17,"r":29,"state":"off"},{"q":10,"r":33,"state":"off"},{"q":18,"r":24,"state":"off"},{"q":17,"r":24,"state":"off"},{"q":2,"r":38,"state":"off"},{"q":3,"r":39,"state":"off"},{"q":2,"r":43,"state":"off"},{"q":2,"r":42,"state":"off"},{"q":3,"r":41,"state":"off"},{"q":4,"r":41,"state":"off"},{"q":4,"r":42,"state":"off"},{"q":7,"r":49,"state":"off"},{"q":7,"r":48,"state":"off"},{"q":3,"r":44,"state":"off"},{"q":3,"r":45,"state":"off"},{"q":3,"r":46,"state":"off"},{"q":3,"r":47,"state":"off"},{"q":3,"r":48,"state":"off"},{"q":4,"r":48,"state":"off"},{"q":5,"r":48,"state":"off"},{"q":6,"r":48,"state":"off"},{"q":19,"r":28,"state":"off"},{"q":19,"r":29,"state":"off"},{"q":18,"r":30,"state":"off"},{"q":17,"r":31,"state":"head"},{"q":16,"r":32,"state":"tail"},{"q":15,"r":33,"state":"off"},{"q":14,"r":34,"state":"off"},{"q":13,"r":35,"state":"off"},{"q":12,"r":37,"state":"off"},{"q":12,"r":38,"state":"off"},{"q":12,"r":39,"state":"off"},{"q":6,"r":47,"state":"off"},{"q":6,"r":46,"state":"off"},{"q":5,"r":46,"state":"off"},{"q":7,"r":45,"state":"off"},{"q":7,"r":44,"state":"off"},{"q":5,"r":45,"state":"off"},{"q":6,"r":44,"state":"off"},{"q":7,"r":43,"state":"off"},{"q":5,"r":44,"state":"off"},{"q":6,"r":43,"state":"off"},{"q":6,"r":42,"state":"off"},{"q":12,"r":40,"state":"off"},{"q":12,"r":41,"state":"off"},{"q":12,"r":42,"state":"off"},{"q":12,"r":43,"state":"off"},{"q":11,"r":44,"state":"off"},{"q":10,"r":39,"state":"off"},{"q":10,"r":38,"state":"off"},{"q":10,"r":37,"state":"off"},{"q":11,"r":35,"state":"off"},{"q":12,"r":34,"state":"off"},{"q":13,"r":33,"state":"off"},{"q":14,"r":32,"state":"off"},{"q":15,"r":31,"state":"off"},{"q":16,"r":30,"state":"off"},{"q":16,"r":24,"state":"off"},{"q":3,"r":37,"state":"off"},{"q":2,"r":37,"state":"off"},{"q":1,"r":37,"state":"off"},{"q":6,"r":33,"state":"off"},{"q":10,"r":40,"state":"off"},{"q":10,"r":41,"state":"off"},{"q":10,"r":42,"state":"off"},{"q":10,"r":43,"state":"off"},{"q":10,"r":44,"state":"off"},{"q":16,"r":26,"state":"off"},{"q":15,"r":27,"state":"off"},{"q":12,"r":30,"state":"off"},{"q":11,"r":31,"state":"off"},{"q":1,"r":36,"state":"off"},{"q":-4,"r":36,"state":"off"},{"q":-4,"r":37,"state":"off"},{"q":0,"r":35,"state":"off"},{"q":8,"r":38,"state":"off"},{"q":6,"r":41,"state":"off"},{"q":12,"r":32,"state":"off"},{"q":11,"r":32,"state":"off"},{"q":7,"r":33,"state":"off"},{"q":2,"r":35,"state":"off"},{"q":0,"r":36,"state":"off"},{"q":2,"r":34,"state":"off"},{"q":2,"r":33,"state":"off"},{"q":0,"r":34,"state":"off"},{"q":1,"r":33,"state":"off"},{"q":1,"r":34,"state":"off"},{"q":1,"r":32,"state":"off"},{"q":0,"r":32,"state":"off"},{"q":-2,"r":34,"state":"off"},{"q":-2,"r":35,"state":"off"},{"q":-2,"r":36,"state":"off"},{"q":5,"r":35,"state":"off"},{"q":7,"r":32,"state":"off"},{"q":18,"r":25,"state":"off"},{"q":17,"r":26,"state":"off"},{"q":17,"r":27,"state":"off"},{"q":16,"r":28,"state":"off"},{"q":15,"r":29,"state":"off"},{"q":14,"r":28,"state":"off"},{"q":13,"r":30,"state":"off"},{"q":10,"r":32,"state":"off"},{"q":13,"r":32,"state":"off"},{"q":11,"r":33,"state":"off"},{"q":9,"r":34,"state":"off"},{"q":-3,"r":37,"state":"off"},{"q":15,"r":25,"state":"off"},{"q":14,"r":26,"state":"off"},{"q":13,"r":27,"state":"off"},{"q":12,"r":28,"state":"off"},{"q":11,"r":29,"state":"off"},{"q":10,"r":30,"state":"off"},{"q":9,"r":31,"state":"off"},{"q":7,"r":36,"state":"off"},{"q":8,"r":32,"state":"off"},{"q":3,"r":38,"state":"off"},{"q":4,"r":37,"state":"off"},{"q":8,"r":33,"state":"off"},{"q":7,"r":34,"state":"off"},{"q":4,"r":36,"state":"off"},{"q":6,"r":35,"state":"off"},{"q":5,"r":34,"state":"off"},{"q":-1,"r":33,"state":"off"},{"q":7,"r":38,"state":"off"},{"q":6,"r":37,"state":"off"},{"q":5,"r":38,"state":"off"},{"q":8,"r":39,"state":"off"},{"q":9,"r":35,"state":"off"},{"q":8,"r":36,"state":"off"},{"q":7,"r":40,"state":"off"},{"q":4,"r":43,"state":"off"},{"q":2,"r":44,"state":"off"},{"q":3,"r":42,"state":"off"},{"q":5,"r":39,"state":"off"},{"q":6,"r":39,"state":"off"},{"q":36,"r":24,"state":"tail"},{"q":37,"r":23,"state":"tail"},{"q":38,"r":22,"state":"tail"},{"q":17,"r":36,"state":"off"},{"q":18,"r":35,"state":"off"},{"q":19,"r":34,"state":"off"},{"q":20,"r":33,"state":"off"},{"q":21,"r":32,"state":"off"},{"q":22,"r":31,"state":"off"},{"q":23,"r":30,"state":"off"},{"q":24,"r":29,"state":"off"},{"q":25,"r":29,"state":"off"},{"q":26,"r":29,"state":"off"},{"q":27,"r":29,"state":"off"},{"q":28,"r":29,"state":"off"},{"q":29,"r":29,"state":"off"},{"q":30,"r":29,"state":"off"},{"q":31,"r":29,"state":"off"},{"q":17,"r":37,"state":"off"},{"q":17,"r":43,"state":"tail"},{"q":17,"r":42,"state":"tail"},{"q":17,"r":41,"state":"tail"},{"q":17,"r":39,"state":"off"},{"q":17,"r":38,"state":"off"},{"q":18,"r":43,"state":"tail"},{"q":19,"r":43,"state":"tail"},{"q":21,"r":43,"state":"off"},{"q":22,"r":43,"state":"off"},{"q":24,"r":43,"state":"off"},{"q":23,"r":43,"state":"off"},{"q":28,"r":39,"state":"off"},{"q":30,"r":37,"state":"off"},{"q":29,"r":38,"state":"off"},{"q":31,"r":36,"state":"off"},{"q":31,"r":33,"state":"off"},{"q":31,"r":34,"state":"off"},{"q":31,"r":35,"state":"off"},{"q":24,"r":44,"state":"off"},{"q":24,"r":45,"state":"off"},{"q":24,"r":46,"state":"off"},{"q":24,"r":48,"state":"tail"},{"q":24,"r":47,"state":"off"},{"q":24,"r":49,"state":"tail"},{"q":24,"r":50,"state":"tail"},{"q":25,"r":50,"state":"tail"},{"q":26,"r":50,"state":"tail"},{"q":28,"r":50,"state":"off"},{"q":29,"r":50,"state":"off"},{"q":30,"r":50,"state":"off"},{"q":31,"r":50,"state":"off"},{"q":32,"r":49,"state":"off"},{"q":33,"r":48,"state":"off"},{"q":34,"r":47,"state":"off"},{"q":35,"r":46,"state":"off"},{"q":36,"r":45,"state":"tail"},{"q":37,"r":44,"state":"tail"},{"q":38,"r":43,"state":"tail"},{"q":38,"r":42,"state":"tail"},{"q":38,"r":41,"state":"tail"},{"q":38,"r":39,"state":"off"},{"q":38,"r":38,"state":"off"},{"q":38,"r":37,"state":"off"},{"q":38,"r":36,"state":"off"},{"q":34,"r":36,"state":"off"},{"q":33,"r":36,"state":"off"},{"q":32,"r":36,"state":"off"},{"q":39,"r":35,"state":"off"},{"q":40,"r":34,"state":"off"},{"q":41,"r":33,"state":"off"},{"q":43,"r":31,"state":"tail"},{"q":44,"r":30,"state":"tail"},{"q":45,"r":29,"state":"tail"},{"q":45,"r":28,"state":"tail"},{"q":45,"r":27,"state":"tail"},{"q":45,"r":25,"state":"off"},{"q":45,"r":24,"state":"off"},{"q":45,"r":23,"state":"off"},{"q":45,"r":22,"state":"off"},{"q":32,"r":28,"state":"off"},{"q":34,"r":26,"state":"off"},{"q":33,"r":27,"state":"off"},{"q":43,"r":22,"state":"off"},{"q":44,"r":22,"state":"off"},{"q":42,"r":22,"state":"off"},{"q":40,"r":22,"state":"tail"},{"q":39,"r":22,"state":"tail"},{"q":38,"r":29,"state":"off"},{"q":44,"r":29,"state":"head"},{"q":38,"r":23,"state":"head"},{"q":38,"r":24,"state":"off"},{"q":37,"r":25,"state":"off"},{"q":37,"r":26,"state":"off"},{"q":38,"r":25,"state":"off"},{"q":39,"r":24,"state":"off"},{"q":39,"r":25,"state":"off"},{"q":39,"r":26,"state":"off"},{"q":38,"r":27,"state":"off"},{"q":37,"r":27,"state":"off"},{"q":38,"r":28,"state":"off"},{"q":43,"r":28,"state":"off"},{"q":43,"r":29,"state":"off"},{"q":42,"r":30,"state":"off"},{"q":42,"r":28,"state":"off"},{"q":41,"r":30,"state":"off"},{"q":42,"r":29,"state":"off"},{"q":41,"r":28,"state":"off"},{"q":40,"r":29,"state":"off"},{"q":40,"r":30,"state":"off"},{"q":39,"r":29,"state":"off"},{"q":37,"r":29,"state":"off"},{"q":38,"r":30,"state":"off"},{"q":37,"r":30,"state":"off"},{"q":36,"r":31,"state":"off"},{"q":35,"r":32,"state":"off"},{"q":33,"r":34,"state":"off"},{"q":32,"r":35,"state":"off"},{"q":25,"r":49,"state":"head"},{"q":26,"r":47,"state":"off"},{"q":26,"r":48,"state":"off"},{"q":27,"r":48,"state":"off"},{"q":28,"r":47,"state":"off"},{"q":27,"r":47,"state":"off"},{"q":27,"r":46,"state":"off"},{"q":28,"r":45,"state":"off"},{"q":29,"r":45,"state":"off"},{"q":29,"r":46,"state":"off"},{"q":30,"r":44,"state":"off"},{"q":36,"r":43,"state":"off"},{"q":37,"r":43,"state":"head"},{"q":36,"r":42,"state":"off"},{"q":35,"r":44,"state":"off"},{"q":35,"r":43,"state":"off"},{"q":35,"r":42,"state":"off"},{"q":34,"r":42,"state":"off"},{"q":33,"r":43,"state":"off"},{"q":34,"r":44,"state":"off"},{"q":33,"r":44,"state":"off"},{"q":32,"r":43,"state":"off"},{"q":31,"r":43,"state":"off"},{"q":31,"r":42,"state":"off"},{"q":30,"r":41,"state":"off"},{"q":31,"r":41,"state":"off"},{"q":31,"r":39,"state":"off"},{"q":31,"r":38,"state":"off"},{"q":31,"r":37,"state":"off"},{"q":30,"r":36,"state":"off"},{"q":30,"r":42,"state":"off"},{"q":32,"r":41,"state":"off"},{"q":32,"r":40,"state":"off"},{"q":32,"r":39,"state":"off"},{"q":30,"r":40,"state":"off"},{"q":35,"r":31,"state":"off"},{"q":36,"r":32,"state":"off"},{"q":35,"r":33,"state":"off"},{"q":34,"r":32,"state":"off"},{"q":33,"r":33,"state":"off"},{"q":34,"r":34,"state":"off"},{"q":29,"r":36,"state":"off"},{"q":28,"r":36,"state":"off"},{"q":27,"r":36,"state":"off"},{"q":26,"r":36,"state":"off"},{"q":18,"r":42,"state":"off"},{"q":19,"r":41,"state":"off"},{"q":20,"r":40,"state":"off"},{"q":21,"r":39,"state":"off"},{"q":22,"r":38,"state":"off"},{"q":23,"r":37,"state":"off"},{"q":24,"r":36,"state":"off"},{"q":25,"r":36,"state":"off"},{"q":-9,"r":36,"state":"tail"},{"q":-8,"r":35,"state":"tail"},{"q":-7,"r":34,"state":"tail"},{"q":-9,"r":35,"state":"off"},{"q":-5,"r":32,"state":"off"},{"q":-4,"r":31,"state":"off"},{"q":-3,"r":30,"state":"off"},{"q":-2,"r":29,"state":"off"},{"q":-2,"r":28,"state":"off"},{"q":-2,"r":27,"state":"off"},{"q":-2,"r":26,"state":"off"},{"q":-2,"r":24,"state":"tail"},{"q":-2,"r":23,"state":"tail"},{"q":-2,"r":22,"state":"tail"},{"q":-3,"r":22,"state":"tail"},{"q":-4,"r":22,"state":"tail"},{"q":-6,"r":22,"state":"off"},{"q":-7,"r":22,"state":"off"},{"q":-9,"r":22,"state":"off"},{"q":-8,"r":22,"state":"off"},{"q":-10,"r":23,"state":"off"},{"q":-11,"r":24,"state":"off"},{"q":-12,"r":25,"state":"off"},{"q":-14,"r":27,"state":"tail"},{"q":-15,"r":28,"state":"tail"},{"q":-16,"r":29,"state":"tail"},{"q":-16,"r":30,"state":"tail"},{"q":-16,"r":31,"state":"tail"},{"q":-17,"r":29,"state":"tail"},{"q":-18,"r":29,"state":"tail"},{"q":-10,"r":37,"state":"off"},{"q":-9,"r":37,"state":"tail"},{"q":-9,"r":38,"state":"tail"},{"q":-9,"r":40,"state":"off"},{"q":-9,"r":41,"state":"off"},{"q":-9,"r":42,"state":"off"},{"q":-9,"r":43,"state":"off"},{"q":-10,"r":44,"state":"off"},{"q":-11,"r":45,"state":"off"},{"q":-12,"r":46,"state":"off"},{"q":-14,"r":48,"state":"tail"},{"q":-15,"r":49,"state":"tail"},{"q":-16,"r":50,"state":"tail"},{"q":-17,"r":50,"state":"tail"},{"q":-18,"r":50,"state":"tail"},{"q":-20,"r":50,"state":"off"},{"q":-21,"r":50,"state":"off"},{"q":-22,"r":50,"state":"off"},{"q":-23,"r":50,"state":"off"},{"q":-23,"r":49,"state":"off"},{"q":-23,"r":48,"state":"off"},{"q":-23,"r":47,"state":"off"},{"q":-23,"r":45,"state":"tail"},{"q":-23,"r":43,"state":"tail"},{"q":-23,"r":44,"state":"tail"},{"q":-22,"r":42,"state":"tail"},{"q":-24,"r":43,"state":"tail"},{"q":-25,"r":43,"state":"tail"},{"q":-27,"r":43,"state":"off"},{"q":-28,"r":43,"state":"off"},{"q":-29,"r":43,"state":"off"},{"q":-30,"r":43,"state":"off"},{"q":-30,"r":42,"state":"off"},{"q":-30,"r":41,"state":"off"},{"q":-30,"r":40,"state":"off"},{"q":-30,"r":38,"state":"tail"},{"q":-30,"r":37,"state":"tail"},{"q":-29,"r":35,"state":"tail"},{"q":-28,"r":34,"state":"tail"},{"q":-26,"r":32,"state":"off"},{"q":-25,"r":31,"state":"off"},{"q":-24,"r":30,"state":"off"},{"q":-23,"r":29,"state":"off"},{"q":-22,"r":29,"state":"off"},{"q":-21,"r":29,"state":"off"},{"q":-20,"r":29,"state":"off"},{"q":-16,"r":36,"state":"tail"},{"q":-16,"r":35,"state":"tail"},{"q":-16,"r":34,"state":"tail"},{"q":-17,"r":37,"state":"tail"},{"q":-18,"r":38,"state":"tail"},{"q":-15,"r":36,"state":"tail"},{"q":-14,"r":36,"state":"tail"},{"q":-15,"r":29,"state":"head"},{"q":-14,"r":29,"state":"off"},{"q":-13,"r":28,"state":"off"},{"q":-14,"r":30,"state":"off"},{"q":-13,"r":30,"state":"off"},{"q":-12,"r":28,"state":"off"},{"q":-13,"r":29,"state":"off"},{"q":-11,"r":28,"state":"off"},{"q":-12,"r":30,"state":"off"},{"q":-11,"r":29,"state":"off"},{"q":-3,"r":23,"state":"head"},{"q":-4,"r":24,"state":"off"},{"q":-5,"r":25,"state":"off"},{"q":-5,"r":24,"state":"off"},{"q":-4,"r":25,"state":"off"},{"q":-5,"r":26,"state":"off"},{"q":-6,"r":27,"state":"off"},{"q":-7,"r":27,"state":"off"},{"q":-6,"r":25,"state":"off"},{"q":-7,"r":26,"state":"off"},{"q":-8,"r":28,"state":"off"},{"q":-10,"r":29,"state":"off"},{"q":-9,"r":29,"state":"off"},{"q":-9,"r":30,"state":"off"},{"q":-9,"r":31,"state":"off"},{"q":-9,"r":32,"state":"off"},{"q":-9,"r":34,"state":"off"},{"q":-9,"r":33,"state":"off"},{"q":-10,"r":36,"state":"tail"},{"q":-11,"r":36,"state":"tail"},{"q":-21,"r":41,"state":"tail"},{"q":-18,"r":31,"state":"off"},{"q":-19,"r":31,"state":"off"},{"q":-18,"r":32,"state":"off"},{"q":-20,"r":34,"state":"off"},{"q":-21,"r":33,"state":"off"},{"q":-21,"r":34,"state":"off"},{"q":-22,"r":35,"state":"off"},{"q":-29,"r":36,"state":"head"},{"q":-28,"r":36,"state":"off"},{"q":-27,"r":35,"state":"off"},{"q":-28,"r":37,"state":"off"},{"q":-27,"r":36,"state":"off"},{"q":-27,"r":37,"state":"off"},{"q":-26,"r":35,"state":"off"},{"q":-25,"r":35,"state":"off"},{"q":-26,"r":37,"state":"off"},{"q":-24,"r":36,"state":"off"},{"q":-25,"r":36,"state":"off"},{"q":-23,"r":36,"state":"off"},{"q":-22,"r":36,"state":"off"},{"q":-24,"r":37,"state":"off"},{"q":-23,"r":37,"state":"off"},{"q":-23,"r":38,"state":"off"},{"q":-23,"r":39,"state":"off"},{"q":-23,"r":40,"state":"off"},{"q":-23,"r":41,"state":"off"},{"q":-23,"r":42,"state":"off"},{"q":-22,"r":43,"state":"off"},{"q":-20,"r":43,"state":"off"},{"q":-21,"r":43,"state":"off"},{"q":-11,"r":38,"state":"off"},{"q":-12,"r":39,"state":"off"},{"q":-12,"r":38,"state":"off"},{"q":-11,"r":39,"state":"off"},{"q":-13,"r":39,"state":"off"},{"q":-12,"r":40,"state":"off"},{"q":-13,"r":41,"state":"off"},{"q":-14,"r":40,"state":"off"},{"q":-14,"r":41,"state":"off"},{"q":-20,"r":42,"state":"off"},{"q":-21,"r":44,"state":"off"},{"q":-20,"r":44,"state":"off"},{"q":-19,"r":42,"state":"off"},{"q":-18,"r":42,"state":"off"},{"q":-19,"r":44,"state":"off"},{"q":-18,"r":43,"state":"off"},{"q":-16,"r":43,"state":"off"},{"q":-15,"r":42,"state":"off"},{"q":-17,"r":43,"state":"off"},{"q":-17,"r":44,"state":"off"},{"q":-15,"r":43,"state":"off"},{"q":-16,"r":44,"state":"off"},{"q":-16,"r":45,"state":"off"},{"q":-16,"r":46,"state":"off"},{"q":-16,"r":47,"state":"off"},{"q":-16,"r":48,"state":"off"},{"q":-16,"r":49,"state":"off"},{"q":-22,"r":33,"state":"off"},{"q":-23,"r":33,"state":"off"},{"q":-23,"r":32,"state":"off"},{"q":-22,"r":31,"state":"head"},{"q":-21,"r":31,"state":"tail"},{"q":-20,"r":31,"state":"off"},{"q":-18,"r":33,"state":"off"},{"q":-18,"r":34,"state":"off"},{"q":-19,"r":35,"state":"off"},{"q":-20,"r":35,"state":"off"}]
+
+
+
+HERE
+for figuring out the nand timing:
+[{"q":13,"r":10,"state":"tail"},{"q":14,"r":9,"state":"tail"},{"q":15,"r":8,"state":"tail"},{"q":13,"r":11,"state":"tail"},{"q":13,"r":12,"state":"tail"},{"q":17,"r":6,"state":"off"},{"q":18,"r":5,"state":"off"},{"q":19,"r":4,"state":"off"},{"q":20,"r":3,"state":"off"},{"q":21,"r":3,"state":"off"},{"q":22,"r":3,"state":"off"},{"q":23,"r":3,"state":"off"},{"q":25,"r":3,"state":"tail"},{"q":26,"r":3,"state":"tail"},{"q":27,"r":3,"state":"tail"},{"q":27,"r":6,"state":"off"},{"q":28,"r":2,"state":"tail"},{"q":29,"r":1,"state":"tail"},{"q":31,"r":-1,"state":"off"},{"q":32,"r":-2,"state":"off"},{"q":33,"r":-3,"state":"off"},{"q":34,"r":-4,"state":"off"},{"q":35,"r":-4,"state":"off"},{"q":36,"r":-4,"state":"off"},{"q":37,"r":-4,"state":"off"},{"q":39,"r":-4,"state":"tail"},{"q":40,"r":-4,"state":"tail"},{"q":41,"r":-4,"state":"tail"},{"q":41,"r":-3,"state":"tail"},{"q":41,"r":-2,"state":"tail"},{"q":41,"r":0,"state":"off"},{"q":41,"r":1,"state":"off"},{"q":41,"r":2,"state":"off"},{"q":41,"r":3,"state":"off"},{"q":39,"r":5,"state":"off"},{"q":40,"r":4,"state":"off"},{"q":38,"r":6,"state":"off"},{"q":36,"r":8,"state":"tail"},{"q":35,"r":9,"state":"tail"},{"q":34,"r":10,"state":"tail"},{"q":32,"r":10,"state":"off"},{"q":34,"r":11,"state":"tail"},{"q":34,"r":12,"state":"tail"},{"q":34,"r":14,"state":"off"},{"q":34,"r":15,"state":"off"},{"q":34,"r":16,"state":"off"},{"q":34,"r":17,"state":"off"},{"q":33,"r":18,"state":"off"},{"q":32,"r":19,"state":"off"},{"q":31,"r":20,"state":"off"},{"q":29,"r":22,"state":"tail"},{"q":28,"r":23,"state":"tail"},{"q":27,"r":24,"state":"tail"},{"q":26,"r":24,"state":"tail"},{"q":25,"r":24,"state":"tail"},{"q":23,"r":24,"state":"off"},{"q":22,"r":24,"state":"off"},{"q":21,"r":24,"state":"off"},{"q":20,"r":24,"state":"off"},{"q":20,"r":23,"state":"off"},{"q":20,"r":22,"state":"off"},{"q":20,"r":21,"state":"off"},{"q":20,"r":18,"state":"tail"},{"q":19,"r":17,"state":"tail"},{"q":20,"r":17,"state":"tail"},{"q":13,"r":16,"state":"off"},{"q":13,"r":15,"state":"off"},{"q":13,"r":14,"state":"off"},{"q":14,"r":17,"state":"off"},{"q":13,"r":17,"state":"off"},{"q":15,"r":17,"state":"off"},{"q":16,"r":17,"state":"off"},{"q":40,"r":-3,"state":"tail"},{"q":39,"r":-2,"state":"off"},{"q":38,"r":-2,"state":"off"},{"q":37,"r":-2,"state":"off"},{"q":38,"r":-1,"state":"off"},{"q":37,"r":0,"state":"off"},{"q":36,"r":0,"state":"off"},{"q":37,"r":1,"state":"off"},{"q":36,"r":1,"state":"off"},{"q":36,"r":2,"state":"off"},{"q":35,"r":1,"state":"off"},{"q":34,"r":2,"state":"off"},{"q":34,"r":3,"state":"off"},{"q":35,"r":3,"state":"off"},{"q":33,"r":4,"state":"off"},{"q":36,"r":-2,"state":"off"},{"q":35,"r":-1,"state":"off"},{"q":34,"r":0,"state":"off"},{"q":33,"r":1,"state":"off"},{"q":32,"r":2,"state":"off"},{"q":31,"r":3,"state":"off"},{"q":30,"r":4,"state":"off"},{"q":31,"r":5,"state":"off"},{"q":32,"r":4,"state":"off"},{"q":30,"r":6,"state":"off"},{"q":31,"r":6,"state":"off"},{"q":32,"r":6,"state":"off"},{"q":30,"r":7,"state":"off"},{"q":31,"r":7,"state":"off"},{"q":33,"r":6,"state":"off"},{"q":29,"r":8,"state":"off"},{"q":29,"r":9,"state":"off"},{"q":28,"r":10,"state":"off"},{"q":34,"r":6,"state":"off"},{"q":35,"r":5,"state":"off"},{"q":36,"r":4,"state":"off"},{"q":37,"r":3,"state":"off"},{"q":38,"r":2,"state":"off"},{"q":39,"r":2,"state":"off"},{"q":39,"r":3,"state":"off"},{"q":37,"r":5,"state":"head"},{"q":38,"r":4,"state":"off"},{"q":36,"r":6,"state":"tail"},{"q":35,"r":7,"state":"off"},{"q":33,"r":7,"state":"off"},{"q":32,"r":8,"state":"off"},{"q":31,"r":9,"state":"off"},{"q":30,"r":10,"state":"off"},{"q":30,"r":11,"state":"off"},{"q":33,"r":9,"state":"off"},{"q":34,"r":8,"state":"off"},{"q":32,"r":11,"state":"off"},{"q":32,"r":13,"state":"off"},{"q":32,"r":12,"state":"off"},{"q":32,"r":14,"state":"off"},{"q":32,"r":15,"state":"off"},{"q":32,"r":16,"state":"off"},{"q":32,"r":17,"state":"off"},{"q":30,"r":18,"state":"off"},{"q":31,"r":18,"state":"off"},{"q":30,"r":17,"state":"off"},{"q":30,"r":16,"state":"off"},{"q":30,"r":15,"state":"off"},{"q":30,"r":13,"state":"off"},{"q":30,"r":12,"state":"off"},{"q":30,"r":14,"state":"off"},{"q":20,"r":19,"state":"tail"},{"q":18,"r":17,"state":"tail"},{"q":29,"r":5,"state":"off"},{"q":28,"r":6,"state":"off"},{"q":28,"r":7,"state":"off"},{"q":27,"r":8,"state":"off"},{"q":26,"r":9,"state":"off"},{"q":26,"r":7,"state":"off"},{"q":27,"r":7,"state":"off"},{"q":25,"r":9,"state":"off"},{"q":25,"r":8,"state":"off"},{"q":24,"r":10,"state":"off"},{"q":23,"r":11,"state":"off"},{"q":22,"r":11,"state":"off"},{"q":22,"r":12,"state":"off"},{"q":24,"r":11,"state":"off"},{"q":23,"r":12,"state":"off"},{"q":23,"r":13,"state":"off"},{"q":23,"r":14,"state":"off"},{"q":23,"r":15,"state":"off"},{"q":22,"r":16,"state":"off"},{"q":22,"r":17,"state":"off"},{"q":24,"r":15,"state":"off"},{"q":24,"r":16,"state":"off"},{"q":23,"r":16,"state":"off"},{"q":22,"r":18,"state":"off"},{"q":24,"r":17,"state":"off"},{"q":23,"r":18,"state":"off"},{"q":27,"r":10,"state":"off"},{"q":26,"r":11,"state":"off"},{"q":25,"r":12,"state":"off"},{"q":25,"r":13,"state":"off"},{"q":26,"r":13,"state":"off"},{"q":27,"r":12,"state":"off"},{"q":28,"r":12,"state":"off"},{"q":28,"r":13,"state":"off"},{"q":27,"r":14,"state":"off"},{"q":26,"r":15,"state":"off"},{"q":26,"r":16,"state":"off"},{"q":26,"r":17,"state":"off"},{"q":25,"r":18,"state":"off"},{"q":27,"r":17,"state":"off"},{"q":27,"r":19,"state":"off"},{"q":26,"r":18,"state":"off"},{"q":27,"r":18,"state":"off"},{"q":25,"r":19,"state":"off"},{"q":25,"r":20,"state":"off"},{"q":26,"r":20,"state":"off"},{"q":23,"r":19,"state":"off"},{"q":23,"r":20,"state":"off"},{"q":23,"r":21,"state":"off"},{"q":23,"r":22,"state":"off"},{"q":24,"r":22,"state":"off"},{"q":25,"r":22,"state":"off"},{"q":26,"r":21,"state":"off"},{"q":26,"r":22,"state":"off"},{"q":27,"r":22,"state":"off"},{"q":27,"r":23,"state":"off"},{"q":21,"r":11,"state":"off"},{"q":21,"r":10,"state":"off"},{"q":22,"r":9,"state":"off"},{"q":20,"r":10,"state":"off"},{"q":20,"r":9,"state":"off"},{"q":22,"r":8,"state":"off"},{"q":21,"r":8,"state":"off"},{"q":22,"r":7,"state":"off"},{"q":21,"r":7,"state":"off"},{"q":20,"r":8,"state":"off"},{"q":21,"r":6,"state":"off"},{"q":20,"r":6,"state":"off"},{"q":19,"r":7,"state":"off"},{"q":18,"r":8,"state":"off"},{"q":18,"r":9,"state":"off"},{"q":18,"r":10,"state":"off"},{"q":17,"r":11,"state":"off"},{"q":16,"r":11,"state":"off"},{"q":14,"r":10,"state":"head"},{"q":15,"r":10,"state":"off"},{"q":16,"r":10,"state":"off"},{"q":20,"r":2,"state":"off"},{"q":20,"r":1,"state":"off"},{"q":20,"r":0,"state":"off"},{"q":20,"r":-3,"state":"tail"},{"q":20,"r":-2,"state":"tail"},{"q":20,"r":-4,"state":"tail"},{"q":19,"r":-4,"state":"tail"},{"q":18,"r":-4,"state":"tail"},{"q":16,"r":-4,"state":"off"},{"q":15,"r":-4,"state":"off"},{"q":13,"r":-4,"state":"off"},{"q":14,"r":-4,"state":"off"},{"q":12,"r":-3,"state":"off"},{"q":11,"r":-2,"state":"off"},{"q":10,"r":-1,"state":"off"},{"q":8,"r":1,"state":"tail"},{"q":7,"r":2,"state":"tail"},{"q":6,"r":3,"state":"tail"},{"q":6,"r":5,"state":"tail"},{"q":6,"r":4,"state":"tail"},{"q":6,"r":7,"state":"off"},{"q":6,"r":8,"state":"off"},{"q":6,"r":9,"state":"off"},{"q":6,"r":10,"state":"off"},{"q":7,"r":10,"state":"off"},{"q":9,"r":10,"state":"off"},{"q":8,"r":10,"state":"off"},{"q":11,"r":10,"state":"tail"},{"q":12,"r":10,"state":"tail"},{"q":13,"r":-2,"state":"tail"},{"q":14,"r":-2,"state":"off"},{"q":15,"r":-2,"state":"off"},{"q":16,"r":-2,"state":"off"},{"q":17,"r":-2,"state":"off"},{"q":18,"r":-2,"state":"off"},{"q":18,"r":-1,"state":"off"},{"q":12,"r":-1,"state":"head"},{"q":17,"r":0,"state":"off"},{"q":16,"r":1,"state":"off"},{"q":12,"r":0,"state":"off"},{"q":13,"r":0,"state":"off"},{"q":15,"r":0,"state":"off"},{"q":14,"r":0,"state":"off"},{"q":15,"r":1,"state":"off"},{"q":14,"r":2,"state":"off"},{"q":14,"r":3,"state":"off"},{"q":13,"r":3,"state":"off"},{"q":13,"r":4,"state":"off"},{"q":12,"r":3,"state":"off"},{"q":12,"r":4,"state":"off"},{"q":13,"r":5,"state":"off"},{"q":13,"r":6,"state":"off"},{"q":13,"r":7,"state":"off"},{"q":13,"r":8,"state":"off"},{"q":13,"r":9,"state":"off"},{"q":7,"r":3,"state":"tail"},{"q":8,"r":3,"state":"off"},{"q":9,"r":2,"state":"off"},{"q":10,"r":2,"state":"off"},{"q":11,"r":2,"state":"off"},{"q":11,"r":3,"state":"off"},{"q":9,"r":4,"state":"off"},{"q":9,"r":3,"state":"off"},{"q":8,"r":4,"state":"off"},{"q":10,"r":4,"state":"off"},{"q":42,"r":-5,"state":"tail"},{"q":43,"r":-6,"state":"tail"},{"q":45,"r":-8,"state":"off"},{"q":46,"r":-9,"state":"off"},{"q":47,"r":-10,"state":"off"},{"q":48,"r":-11,"state":"off"},{"q":49,"r":-11,"state":"off"},{"q":50,"r":-11,"state":"off"},{"q":51,"r":-11,"state":"off"},{"q":53,"r":-11,"state":"tail"},{"q":54,"r":-11,"state":"tail"},{"q":55,"r":-11,"state":"tail"},{"q":55,"r":-10,"state":"tail"},{"q":55,"r":-9,"state":"tail"},{"q":55,"r":-7,"state":"off"},{"q":55,"r":-6,"state":"off"},{"q":55,"r":-5,"state":"off"},{"q":55,"r":-4,"state":"off"},{"q":54,"r":-3,"state":"off"},{"q":53,"r":-2,"state":"off"},{"q":52,"r":-1,"state":"off"},{"q":50,"r":1,"state":"tail"},{"q":49,"r":2,"state":"tail"},{"q":48,"r":2,"state":"tail"},{"q":48,"r":3,"state":"tail"},{"q":47,"r":3,"state":"tail"},{"q":46,"r":3,"state":"tail"},{"q":44,"r":3,"state":"off"},{"q":43,"r":3,"state":"off"},{"q":42,"r":3,"state":"off"},{"q":42,"r":-4,"state":"off"},{"q":43,"r":-4,"state":"off"},{"q":44,"r":-4,"state":"off"},{"q":45,"r":-4,"state":"off"},{"q":46,"r":-4,"state":"off"},{"q":47,"r":-4,"state":"off"},{"q":48,"r":-5,"state":"off"},{"q":47,"r":-3,"state":"off"},{"q":48,"r":-4,"state":"off"},{"q":49,"r":-5,"state":"off"},{"q":48,"r":-3,"state":"off"},{"q":48,"r":-2,"state":"off"},{"q":49,"r":-2,"state":"off"},{"q":47,"r":-1,"state":"off"},{"q":47,"r":0,"state":"off"},{"q":47,"r":1,"state":"off"},{"q":48,"r":1,"state":"off"},{"q":48,"r":0,"state":"off"},{"q":49,"r":0,"state":"off"},{"q":49,"r":-1,"state":"off"},{"q":50,"r":-6,"state":"off"},{"q":50,"r":-7,"state":"off"},{"q":51,"r":-8,"state":"off"},{"q":52,"r":-9,"state":"off"},{"q":53,"r":-9,"state":"off"},{"q":53,"r":-8,"state":"off"},{"q":53,"r":-6,"state":"off"},{"q":53,"r":-7,"state":"off"},{"q":53,"r":-5,"state":"off"},{"q":53,"r":-4,"state":"tail"},{"q":52,"r":-3,"state":"head"},{"q":51,"r":-3,"state":"off"},{"q":51,"r":-4,"state":"off"},{"q":51,"r":-5,"state":"off"},{"q":51,"r":-6,"state":"off"}]
+
diff --git a/play.js b/play.js
index 059b0a32f50100cd06aa9308536ce640872d7ea8..a2e127531f072ab6c1c49ab7031d4a5d1f7d5c04 100644 (file)
--- a/play.js
+++ b/play.js
@@ -47,7 +47,8 @@ function lc() {
                playbtn = document.getElementById('playpause');
                playbtn.addEventListener('click',pptoggle);
                range = document.getElementById("tempo");
-               range.addEventListener('click', function(e) {timeout=range.value});
+               //range.addEventListener('click', function(e) {timeout=range.value});
+               range.onclick = (e) => rangeManage(e);
                clr = document.getElementById("clear");
                clr.onclick = () => {g.cells = [];
                                                                                                                 drawGrid(g, ctx, xcenter,ycenter,scale)};
@@ -70,6 +71,16 @@ function lc() {
                load_demos(document.getElementById('seldemo'));
                dl = document.getElementById("dload");
                dl.onclick = demoHandler;
+               demoHandler(null);
+}
+
+rangeManage = function(e) {
+               timeout = document.getElementById('tempo').value;
+               if(intervalID != null) { // is running
+                               clearInterval(intervalID);
+                               intervalID = setInterval(play,timeout);
+                               // playbtn already set right
+               }
 }
 
 demoHandler = function(e) {
@@ -96,6 +107,7 @@ loadState = function(e) {
 
 
 pptoggle = function(e) {
+               timeout = document.getElementById('tempo').value;
                if(intervalID == null) {
                                g.clean();
                                rstgrid = g.clone();