# This is a list of "active formulas". These are formulas that will # be candidates for use in creating transformed images. # Each entry has the following form: # NAME: FORMULA # Where NAME is a short string containing no whitespace or special characters. # It will be used as part of the filenames of the outputs, and so it is # subject to restrictions on filenames. # Here FORMULA is a legal PixelMath calculator formula, assumed to be # run in Cartesian mode. Polar mode is not currently used in the game. Negate-and-flip: 255-S1(x, ymax-y) Shuffle-columns: S1(if (x mod 2)=1 then w/2+x/2 else x/2, y) Monochrome: (Red1(x,y)+Green1(x,y)+Blue1(x,y))/3 Shuffle-rows: S1(x, if (y mod 2)=1 then h/2+y/2 else y/2) Permute-RGB: RGB(Green1(x,y),Blue1(x,y),Red1(x,y)) ScaleIntensitiesWithMod: (Source1(x,y)*2) mod 256