From ba945daa548b2a504dd27bffbfbc30fda1947851 Mon Sep 17 00:00:00 2001 From: le vieux Date: Wed, 18 Nov 2020 11:47:26 +0100 Subject: [PATCH] tweaking a glitcher --- Fonderie/crapulator.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Fonderie/crapulator.c b/Fonderie/crapulator.c index 931aaaa9..98f8946b 100644 --- a/Fonderie/crapulator.c +++ b/Fonderie/crapulator.c @@ -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",