compositor for 2d glitch effects
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

statics_and_lists.pde 1.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. final static int INTVAL = 100;
  2. final static int FLOATVAL = 101;
  3. //waveforms for oscillator
  4. final static int SINE = 0; //add 0.25 to phase to get cos
  5. final static int SAWTOOTH = 1;
  6. final static int SAWTOOTHINVERSE = 2;
  7. final static int SQUAR = 3; //switches between -1 and 1, that's all
  8. final static int TRIANG = 4;
  9. final static int TAN = 5;
  10. final static int TANINVERSE = 6;
  11. final static int RAMP = 7; //line for half the sequence up to 1, then stay at 1 for the other half
  12. final static int RAMPINVERSE = 8; //line for half the sequence up to 1, then stay at 1 for the other half
  13. final static int RAMPUPDOWN = 9; //line up, stay, line down, stay
  14. final static int RANDOM = 10;
  15. //available shaders
  16. String availableFx[] = {
  17. "fxASDFPixelSort",
  18. "fxDistorter",
  19. "fxWahWah",
  20. "fxAuEcho",
  21. "fxPhaser",
  22. "fxWZIP",
  23. "fxDarker",
  24. "fxBrighter",
  25. "fxMove",
  26. "fxScale",
  27. "fxEpilepsy",
  28. "fxPosterize",
  29. "fxCopyZoom",
  30. "fxDual",
  31. "fxScanker",
  32. "fxPixelSort",
  33. "fxHSB",
  34. "fxEcho",
  35. "fxSubtleSort",
  36. "fxBlackWhite",
  37. "fxDrawGenerative",
  38. "fxDrawStrokes",
  39. "fxFM",
  40. "fxGrauzone",
  41. "fxSlitScan"
  42. };