example_tree.txt (1123B)
1 RCT 1 /* YCoCg */ 2 GroupShift 3 /* Group size is 128 << 3 == 1024 */ 3 Width 1024 4 Height 1024 5 Bitdepth 8 6 /* FloatExpBits 3 */ 7 /* Alpha */ 8 /* Squeeze */ 9 /* XYB */ 10 /* CbYCr */ 11 12 13 if c > 0 14 /* Co, Cg: diagonal stripes */ 15 if W > 50 16 - Set -50 17 - W + 5 18 /* Y: elementary cellular automaton */ 19 if y > 0 20 if N > 0 21 if NW-N > -1 22 if N-NE > 0 23 - Set 0 24 - Set 255 25 if N-NE > 0 26 - Set 255 27 - Set 0 28 if NW-N > 0 29 if N-NE > -1 30 - Set 255 31 - Set 0 32 if N-NE > -1 33 - Set 0 34 - Set 255 35 /* First row initialization */ 36 if x > 511 37 - Set 255 38 - Set 0 39 40 Everything after the end of the tree is ignored. 41 42 The tree above represents a cellular automaton on a subtly striped background. 43 44 45 46 List of properties: c, g, y, x, |N|, |W|, N, W, W-WW-NW+NWW, W+N-NW, W-NW, NW-N, N-NE, N-NN, W-WW, WGH, 47 PrevAbs, Prev, PrevAbsErr, PrevErr, PPrevAbs, PPrev, PPrevAbsErr, PPrevErr 48 49 List of predictors: Set, W, N, AvgW+N, Select, Gradient, Weighted, NE, NW, WW, AvgW+NW, AvgN+NW, AvgN+NE, AvgAll 50