jacky tuning

This commit is contained in:
tonton th 2021-01-05 22:55:34 +01:00
parent 46fad56471
commit de3a50cc1d
1 changed files with 2 additions and 2 deletions

View File

@ -173,7 +173,7 @@ static int x_delta(float dy, float phy)
{ {
float param, fv; float param, fv;
param = dy + phy; param = dy + phy;
fv = 9.999*sin(param) + 6.666*sin(param*3) + 3.333*sin(param*5); fv = 12.11*sin(param+0.22) + 8.5*sin(param*3.02) + 0.42*sin(param*5.1);
return (int)fv; return (int)fv;
} }
/* -------------------------------------------------------------- */ /* -------------------------------------------------------------- */
@ -193,7 +193,7 @@ fprintf(stderr, ">>> %s ( %p %d %f %f )\n", __func__, picz,
#endif #endif
h = picz->height; w = picz->width; h = picz->height; w = picz->width;
#define BB 4 #define BB 2
for (y=BB; y<h-BB; y++) { for (y=BB; y<h-BB; y++) {
dy = (float)y * omega; /* normalize vertical position */ dy = (float)y * omega; /* normalize vertical position */