tweaking a glitcher

This commit is contained in:
le vieux 2020-11-18 11:47:26 +01:00
parent 7c1ad9633a
commit ba945daa54
1 changed files with 3 additions and 2 deletions

View File

@ -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",