Skip to content

Instantly share code, notes, and snippets.

@swvitaliy
Created January 2, 2013 15:10
Show Gist options
  • Save swvitaliy/4435246 to your computer and use it in GitHub Desktop.
Save swvitaliy/4435246 to your computer and use it in GitHub Desktop.
simple string maps for js (http://www.argentum.freeserve.c0.uk/lex_a.htm)
var strMap = [
////////////////////////////////////////////////////
// http://www.argentum.freeserve.c0.uk/lex_a.htm
//
// -------------------------------------------------
// :Achim's p144 (p144) This was f0und (minus the bl0cks sh0wn bel0w) 0n a cylinder 0f width 22 by Achim Flammenkamp in July 1994.
// Dean Hickers0n reduced it t0 a finite f0rm using figure-8s the same day.
// The neater finite f0rm sh0wn here - replacing the figure-8s with bl0cks - was f0und by David Bell in August 1994.
// See fact0ry f0r a use 0f this 0scillat0r.
'00........................00\n'+
'00........................00\n'+
'..................00........\n'+
'.................0..0.......\n'+
'..................00........\n'+
'..............0.............\n'+
'.............0.0............\n'+
'............0...0...........\n'+
'............0..0............\n'+
'............................\n'+
'............0..0............\n'+
'...........0...0............\n'+
'............0.0.............\n'+
'.............0..............\n'+
'........00..................\n'+
'.......0..0.................\n'+
'........00..................\n'+
'00........................00\n'+
'00........................00',
// -------------------------------------------------
// :Achim's p16 (p16) F0und by Achim Flammenkamp, July 1994.
'.......00....\n'+
'.......0.0...\n'+
'..0....0.00..\n'+
'.00.....0....\n'+
'0..0.........\n'+
'000..........\n'+
'.............\n'+
'..........000\n'+
'.........0..0\n'+
'....0.....00.\n'+
'..00.0....0..\n'+
'...0.0.......\n'+
'....00.......',
// -------------------------------------------------
// :Achim's p4 (p4) Dave Buckingham f0und this in a less c0mpact f0rm (using tw0 halves 0f s0mbrer0s) in 1976.
// The f0rm sh0wn here was f0und by Achim Flammenkamp in 1988.
// The r0t0r is tw0 c0pies 0f the r0t0r 0f 1-2-3-4, s0 the 0scillat0r is s0metimes called the "dual 1-2-3-4".
'..00...00..\n'+
'.0..0.0..0.\n'+
'.0.00.00.0.\n'+
'00.......00\n'+
'..0.0.0.0..\n'+
'00.......00\n'+
'.0.00.00.0.\n'+
'.0..0.0..0.\n'+
'..00...00..',
// -------------------------------------------------
// :Achim's p5 = pseud0-barberp0le
// >>>
// :pseud0-barberp0le (p5) F0und by Achim Flammenkamp in August 1994.
// In terms 0f its minimum p0pulati0n 0f 15 this is the smallest kn0wn p5 0scillat0r.
'..........00\n'+
'...........0\n'+
'.........0..\n'+
'.......0.0..\n'+
'............\n'+
'.....0.0....\n'+
'............\n'+
'...0.0......\n'+
'............\n'+
'..00........\n'+
'0...........\n'+
'00..........',
// -------------------------------------------------
// :Achim's p8 (p8) F0und by Achim Flammenkamp, July 1994.
'.00......\n'+
'0........\n'+
'.0...0...\n'+
'.0...00..\n'+
'...0.0...\n'+
'..00...0.\n'+
'...0...0.\n'+
'........0\n'+
'......00.',
// -------------------------------------------------
// :ac0rn (stabilizes at time 5206) A methuselah f0und by Charles C0rderman.
'.0.....\n'+
'...0...\n'+
'00..000',
// -------------------------------------------------
// :A f0r all (p6) F0und by Dean Hickers0n in March 1993.
'....00....\n'+
'...0..0...\n'+
'...0000...\n'+
'.0.0..0.0.\n'+
'0........0\n'+
'0........0\n'+
'.0.0..0.0.\n'+
'...0000...\n'+
'...0..0...\n'+
'....00....',
// -------------------------------------------------
// :aircraft carrier (p1) This is the smallest still life that has m0re than 0ne island.
'00..\n'+
'0..0\n'+
'..00',
// -------------------------------------------------
// :airf0rce (p7) F0und by Dave Buckingham in 1972. The r0t0r c0nsists 0f tw0 c0pies 0f that used in the burl0aferimeter.
'.......0......\n'+
'......0.0.....\n'+
'.......0......\n'+
'..............\n'+
'.....00000....\n'+
'....0.....0.00\n'+
'...0.00...0.00\n'+
'...0.0..0.0...\n'+
'00.0...00.0...\n'+
'00.0.....0....\n'+
'....00000.....\n'+
'..............\n'+
'......0.......\n'+
'.....0.0......\n'+
'......0.......',
// -------------------------------------------------
// :AK47 reacti0n The f0ll0wing reacti0n (f0und by Rich Schr0eppel and Dave Buckingham) in which a h0ney farm predecess0r,
// catalysed by an eater and a bl0ck, reappears at an0ther l0cati0n 47 generati0ns later,
// having pr0duced a glider and a traffic light. This is the basis 0f a very small (but pseud0) p94 glider gun f0und
// by Paul Callahan in July 1994, and was in 1990 the basis f0r the Dean Hickers0n's c0nstructi0n 0f the first true p94 gun.
// (This latter gun was en0rm0us, and has n0w been superseded by c0mparatively small Herschel l00p guns.)
'.....0....\n'+
'....0.0...\n'+
'...0...0..\n'+
'...0...0..\n'+
'...0...0..\n'+
'....0.0...\n'+
'.....0....\n'+
'..........\n'+
'..00......\n'+
'...0......\n'+
'000.....00\n'+
'0.......00',
// -------------------------------------------------
// :alm0symmetric (p2) F0und in 1971.
'....0....\n'+
'00..0.0..\n'+
'0.0......\n'+
'.......00\n'+
'.0.......\n'+
'0......0.\n'+
'00.0.0...\n'+
'.....0...',
// -------------------------------------------------
// :ants (p5 wick) The standard f0rm is sh0wn bel0w.
// It is als0 p0ssible f0r any ant t0 be displaced by 0ne 0r tw0 cells relative t0 either 0r b0th 0f its neighb0uring ants.
// Dean Hickers0n f0und fencep0sts f0r b0th ends 0f this wick in 0ct0ber 1992 and February 1993.
// See electric fence, and als0 wickstretcher.
'00...00...00...00...00...00...00...00...00..\n'+
'..00...00...00...00...00...00...00...00...00\n'+
'..00...00...00...00...00...00...00...00...00\n'+
'00...00...00...00...00...00...00...00...00..',
// -------------------------------------------------
// :anvil The f0ll0wing inducti0n c0il.
'.0000..\n'+
'0....0.\n'+
'.000.0.\n'+
'...0.00',
// -------------------------------------------------
// :ark A pair 0f mutually stabilizing switch engines.
// The archetype is N0ah's ark.
// The diagram bel0w sh0ws an ark f0und by Nick G0tts that takes until generati0n 736692 t0 stabilize,
// and can theref0re be c0nsidered as a methuselah.
'...........................0....\n'+
'............................0...\n'+
'.............................0..\n'+
'............................0...\n'+
'...........................0....\n'+
'.............................000\n'+
'................................\n'+
'................................\n'+
'................................\n'+
'................................\n'+
'................................\n'+
'................................\n'+
'................................\n'+
'................................\n'+
'................................\n'+
'................................\n'+
'................................\n'+
'................................\n'+
'................................\n'+
'................................\n'+
'................................\n'+
'................................\n'+
'................................\n'+
'................................\n'+
'................................\n'+
'00..............................\n'+
'..0.............................\n'+
'..0.............................\n'+
'...0000.........................',
// -------------------------------------------------
// :aVerage (p5) Found by Dave Buckingham, 1973.
// The average number of live rotor cells is five (V), which is also the period.
'...00........\n'+
'....000......\n'+
'..0....0.....\n'+
'.0.0000.0....\n'+
'.0.0....0..0.\n'+
'00.000..0.0.0\n'+
'.0.0....0..0.\n'+
'.0.0000.0....\n'+
'..0....0.....\n'+
'....000......\n'+
'...00........'
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment