Files
manglr2/statics_and_lists.pde
2022-07-16 09:48:45 +02:00

74 lines
1.8 KiB
Plaintext

final static int INTVAL = 100;
final static int FLOATVAL = 101;
final int[] blends = {ADD, SUBTRACT, DARKEST, LIGHTEST, DIFFERENCE, EXCLUSION, MULTIPLY, SCREEN, OVERLAY, HARD_LIGHT, SOFT_LIGHT, DODGE, BURN};
//waveforms for oscillator
final static int SINE = 0; //add 0.25 to phase to get cos
final static int SAWTOOTH = 1;
final static int SAWTOOTHINVERSE = 2;
final static int SQUAR = 3; //switches between -1 and 1, that's all
final static int TRIANG = 4;
final static int TAN = 5;
final static int TANINVERSE = 6;
final static int RAMP = 7; //line for half the sequence up to 1, then stay at 1 for the other half
final static int RAMPINVERSE = 8; //line for half the sequence up to 1, then stay at 1 for the other half
final static int RAMPUPDOWN = 9; //line up, stay, line down, stay
final static int RANDOM = 10;
//colorspaces from tomasz sulej's FM effect
final static int COLORSPACES = 16;
final static int OHTA = 0;
// RGB == 1; defined in processing
final static int CMY = 2;
// HSB == 3; defined in processing
final static int XYZ = 4;
final static int YXY = 5;
final static int HCL = 6;
final static int LUV = 7;
final static int LAB = 8;
final static int HWB = 9;
final static int RGGBG = 10;
final static int YPbPr = 11;
final static int YCbCr = 12;
final static int YDbDr = 13;
final static int GS = 14;
final static int YUV = 15;
//available shaders
String availableFx[] = {
"fxASDFPixelSort",
"fxDistorter",
"fxFM",
"fxWZIP",
"fxAuEcho",
"fxSlitscan",
"fxWahWah",
"fxPhaser",
"fxEcho",
"fxDarker",
"fxBrighter",
"fxAmplify",
"fxBrokenColorRot",
"fxPosterize",
"fxMove",
"fxEpilepsy",
"fxCopyZoom",
"fxDual",
"fxScanker",
"fxPixelSort",
"fxEcho",
"fxSubtleSort",
"fxBlackWhite",
"fxDrawGenerative",
"fxDrawStrokes",
"fxGrauzone"
};