not ready for prime time

This commit is contained in:
le vieux
2020-11-16 11:12:29 +01:00
parent fdc2544ad1
commit 7c1ad9633a
3 changed files with 21 additions and 12 deletions

View File

@@ -9,6 +9,7 @@
#include "fonctions.h"
#include "crapulator.h"
#include "glitches.h"
/* -------------------------------------------------------------- */
static int effect_3(FloatImg *image)
@@ -118,7 +119,7 @@ switch (idFx) {
break;
/* --- WTF -- */
case 25:
retval = vertical_singlitch(image, 250, fval, 18, 0);
retval = vertical_singlitch(image, 250+rand()%15 , fval, 18, 0);
break;
default :
fprintf(stderr, "%s : effect #%d invalid\n",