Rule:Abelian Sandpiles

From LifeWiki
Revision as of 19:23, 4 October 2023 by Ian07 (talk | contribs) (from discord)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

@RULE Abelian_Sandpiles

0:empty, untouched 1-3:sandpile with X sand on 4-7:sandpile with X sand on, about to topple 8:wall state/sink 9:permanent source 10:empty,touched

@TABLE n_states:11 neighborhood:vonNeumann symmetries:permute

var a={4,5,6,7,9} var b=a var c=a var d=a var e={0,1,2,3,8,10} var f=e var g=e var h=e var w={0,1,2,3,4,5,6,7,8,9,10} var x=w var y=w var z=w

0,a,e,f,g,1 10,a,e,f,g,1 1,a,e,f,g,2 2,a,e,f,g,3 3,a,e,f,g,4

0,a,b,f,g,2 10,a,b,f,g,2 1,a,b,f,g,3 2,a,b,f,g,4 3,a,b,f,g,5

0,a,b,c,g,3 10,a,b,c,g,3 1,a,b,c,g,4 2,a,b,c,g,5 3,a,b,c,g,6

0,a,b,c,d,4 10,a,b,c,d,4 1,a,b,c,d,5 2,a,b,c,d,6 3,a,b,c,d,7

4,w,x,y,z,10 5,w,x,y,z,1 6,w,x,y,z,2 7,w,x,y,z,3

@COLORS 0 0 0 0 1 250 204 124 2 251 162 96 3 251 121 68 4 252 79 40 5 224 95 65 6 197 110 91 7 169 126 116 8 0 128 96 9 20 255 40 10 249 245 152