Browse Source

tweaking a glitcher

master
le vieux 2 years ago
parent
commit
ba945daa54
  1. 5
      Fonderie/crapulator.c

5
Fonderie/crapulator.c

@ -117,9 +117,10 @@ switch (idFx) { @@ -117,9 +117,10 @@ switch (idFx) {
case 11:
retval = trinarize(image, 0);
break;
/* --- WTF -- */
case 25:
retval = vertical_singlitch(image, 250+rand()%15 , fval, 18, 0);
/* please make this function more tweakable */
retval = vertical_singlitch(image, 290+rand()%35,
fval, 0.18, 0);
break;
default :
fprintf(stderr, "%s : effect #%d invalid\n",

Loading…
Cancel
Save