From 03c748476b85e2ce7750797243cbe3d99b05a04c Mon Sep 17 00:00:00 2001 From: nick black Date: Fri, 12 Jun 2020 09:09:40 -0400 Subject: [PATCH] normal: speed up rotation out #599 --- src/demo/normal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/demo/normal.c b/src/demo/normal.c index 6a03de1fa..0e0f423b5 100644 --- a/src/demo/normal.c +++ b/src/demo/normal.c @@ -79,7 +79,7 @@ rotate_visual(struct notcurses* nc, struct ncplane* n, int dy, int dx){ ncplane_erase(n); for(double i = 0 ; i < ROTATIONS ; ++i){ demo_nanosleep(nc, &scaled); - if(ncvisual_rotate(ncv, -M_PI / 4)){ + if(ncvisual_rotate(ncv, -M_PI / (i / 8 + 2))){ failed = true; break; }