Compare commits

..

No commits in common. "e17232f29c5bbdf8efee50dfb688a710be7b1ea5" and "db7728bb10df3238007545a223e6ddf4269be71c" have entirely different histories.

5 changed files with 8 additions and 12 deletions

View File

@ -3,7 +3,7 @@
# et de tout le crap... # et de tout le crap...
# #
COPT = -g -fpic -no-pie -Wall -DDEBUG_LEVEL=0 -Werror=parentheses COPT = -g -no-pie -Wall -DDEBUG_LEVEL=0 -Werror=parentheses
LIBS = ../libfloatimg.a -lpnglite -lm LIBS = ../libfloatimg.a -lpnglite -lm
OBJS = fonctions.o sfx.o crapulator.o glitches.o metriques.o OBJS = fonctions.o sfx.o crapulator.o glitches.o metriques.o

View File

@ -5,6 +5,7 @@
/* /*
* some constants for effect numbers */ * some constants for effect numbers */
/* /*
* the main function */ * the main function */

View File

@ -14,8 +14,8 @@
int verbosity; int verbosity;
#define PNG "out.png" #define PNG "out.png"
#define W 512 #define W 800
#define H 512 #define H 600
#define LMAX 233.333 #define LMAX 233.333
#define TIMER 1 #define TIMER 1
@ -26,8 +26,7 @@ FloatImg image;
char buff[1000]; char buff[1000];
double debut, fin; double debut, fin;
float omega; float omega;
verbosity = 1;
verbosity = 2;
fimg_print_version(1); fimg_print_version(1);
@ -37,12 +36,10 @@ if (foo) {
exit(1); exit(1);
} }
fimg_printhead(&image);
srand(getpid()); srand(getpid());
debut = fimg_timer_set(TIMER); debut = fimg_timer_set(TIMER);
for (iter=0; iter<127; iter++) { for (iter=0; iter<72; iter++) {
fimg_vdeg_a(&image, LMAX); fimg_vdeg_a(&image, LMAX);
@ -65,8 +62,6 @@ for (iter=0; iter<127; iter++) {
fin = fimg_timer_set(TIMER); fin = fimg_timer_set(TIMER);
fprintf(stderr, "elapsed %f\n", fin-debut); fprintf(stderr, "elapsed %f\n", fin-debut);
fimg_destroy(&image);
return 0; return 0;
} }

View File

@ -3,7 +3,7 @@
* ugly code from tTh * ugly code from tTh
*/ */
#define FIMG_VERSION 114 #define FIMG_VERSION 113
/* /*
* in memory descriptor * in memory descriptor

View File

@ -2,7 +2,7 @@
# building the base library # building the base library
# #
COPT = -Wall -fpic -g -no-pie -DDEBUG_LEVEL=0 COPT = -Wall -fpic -g -pg -no-pie -DDEBUG_LEVEL=0
OBJS = fimg-core.o fimg-pnm.o fimg-file.o fimg-math.o \ OBJS = fimg-core.o fimg-pnm.o fimg-file.o fimg-math.o \
fimg-timers.o operators.o fimg-2gray.o \ fimg-timers.o operators.o fimg-2gray.o \