compositor for 2d glitch effects
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

statics_and_lists.pde 1.7KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. final static int INTVAL = 100;
  2. final static int FLOATVAL = 101;
  3. final int[] blends = {ADD, SUBTRACT, DARKEST, LIGHTEST, DIFFERENCE, EXCLUSION, MULTIPLY, SCREEN, OVERLAY, HARD_LIGHT, SOFT_LIGHT, DODGE, BURN};
  4. //waveforms for oscillator
  5. final static int SINE = 0; //add 0.25 to phase to get cos
  6. final static int SAWTOOTH = 1;
  7. final static int SAWTOOTHINVERSE = 2;
  8. final static int SQUAR = 3; //switches between -1 and 1, that's all
  9. final static int TRIANG = 4;
  10. final static int TAN = 5;
  11. final static int TANINVERSE = 6;
  12. final static int RAMP = 7; //line for half the sequence up to 1, then stay at 1 for the other half
  13. final static int RAMPINVERSE = 8; //line for half the sequence up to 1, then stay at 1 for the other half
  14. final static int RAMPUPDOWN = 9; //line up, stay, line down, stay
  15. final static int RANDOM = 10;
  16. //colorspaces from tomasz sulej's FM effect
  17. final static int COLORSPACES = 16;
  18. final static int OHTA = 0;
  19. // RGB == 1; defined in processing
  20. final static int CMY = 2;
  21. // HSB == 3; defined in processing
  22. final static int XYZ = 4;
  23. final static int YXY = 5;
  24. final static int HCL = 6;
  25. final static int LUV = 7;
  26. final static int LAB = 8;
  27. final static int HWB = 9;
  28. final static int RGGBG = 10;
  29. final static int YPbPr = 11;
  30. final static int YCbCr = 12;
  31. final static int YDbDr = 13;
  32. final static int GS = 14;
  33. final static int YUV = 15;
  34. //available shaders
  35. String availableFx[] = {
  36. "fxASDFPixelSort",
  37. "fxDistorter",
  38. "fxFM",
  39. "fxWZIP",
  40. "fxAuEcho",
  41. "fxSlitscan",
  42. "fxWahWah",
  43. "fxPhaser",
  44. "fxEcho",
  45. "fxDarker",
  46. "fxBrighter",
  47. "fxAmplify",
  48. "fxBrokenColorRot",
  49. "fxPosterize",
  50. "fxDual",
  51. "fxGrauzone",
  52. "fxCopyZoom",
  53. "fxSubtleSort",
  54. "fxScanker",
  55. "fxMosh",
  56. "fxPixelDrifter",
  57. "fxDrawGenerative",
  58. "fxDrawStrokes"
  59. };