some random changes

This commit is contained in:
Florian Stecker
2022-03-02 10:46:42 -06:00
parent 1e0b0c5359
commit 5538cca954
2 changed files with 115 additions and 31 deletions

8
main.c
View File

@@ -35,12 +35,12 @@ void setupContext(DrawingContext *ctx, int argc, char *argv[])
ctx->show_attractors = 0;
ctx->show_reflectors = 0;
ctx->show_rotated_reflectors = 0;
ctx->show_limit= 1;
ctx->show_limit= 0;
ctx->show_dual_limit= 0;
ctx->show_text = 1;
ctx->mode = 0;
ctx->use_rotation_basis = 0;
ctx->limit_with_lines = 0;
ctx->limit_with_lines = 1;
ctx->use_repelling = 0;
ctx->show_marking = 1;
ctx->marking.x = -0.73679;
@@ -268,12 +268,12 @@ int processEvent(GraphicsInfo *info, XEvent *ev)
computeLimitCurve(screen_context);
break;
case XK_Page_Down:
screen_context->parameter /= exp(0.2);
screen_context->parameter /= exp(0.02);
updateMatrices(screen_context);
computeLimitCurve(screen_context);
break;
case XK_Page_Up:
screen_context->parameter *= exp(0.2);
screen_context->parameter *= exp(0.02);
updateMatrices(screen_context);
computeLimitCurve(screen_context);
break;