forked from tTh/FloatImg
tweaking a glitcher
This commit is contained in:
parent
7c1ad9633a
commit
ba945daa54
|
@ -117,9 +117,10 @@ switch (idFx) {
|
||||||
case 11:
|
case 11:
|
||||||
retval = trinarize(image, 0);
|
retval = trinarize(image, 0);
|
||||||
break;
|
break;
|
||||||
/* --- WTF -- */
|
|
||||||
case 25:
|
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;
|
break;
|
||||||
default :
|
default :
|
||||||
fprintf(stderr, "%s : effect #%d invalid\n",
|
fprintf(stderr, "%s : effect #%d invalid\n",
|
||||||
|
|
Loading…
Reference in New Issue