From 1ab85c2a330dceb8354e25e0153a7683a834e7bd Mon Sep 17 00:00:00 2001 From: Caleb Connolly Date: Sat, 6 Aug 2022 19:30:23 +0100 Subject: [PATCH] TEST: animate: thicker circle outline --- src/animate.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/animate.c b/src/animate.c index 9f03a66..5e98d89 100644 --- a/src/animate.c +++ b/src/animate.c @@ -26,9 +26,12 @@ void circles_wave(int frame, int w, int y_off, long dpi) int x = left + (i * dist); double offset = sin(f / 60.0 * PI + i); int y = y_off + offset * amplitude; - tfb_fill_rect(x - rad - 1, y_off - amplitude - rad, rad * 2 + 2, - amplitude * 2 + rad * 2 + 1, tfb_black); + tfb_fill_rect(x - rad - 3, y_off - amplitude - rad - 3, + rad * 2 + 6, amplitude * 2 + rad * 2 + 6, + tfb_black); tfb_draw_circle(x, y, rad, t_col); + tfb_draw_circle(x, y, rad+1, t_col); + tfb_draw_circle(x, y, rad+2, t_col); } }