From 81338b6203c00f644e160f2214f3590cec1d2ce2 Mon Sep 17 00:00:00 2001 From: Simon Cambier Date: Thu, 23 Feb 2023 08:32:20 +0100 Subject: [PATCH] Fixed bg lines positions --- bg.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bg.lua b/bg.lua index fe3feef..3fe3ba1 100644 --- a/bg.lua +++ b/bg.lua @@ -6,7 +6,7 @@ function draw_animated_bg(startx) local color = 1 -- vertical lines local t = t()+10 - for i=startx-1,127,11 do + for i=startx-1,127,9 do local a=sin(i*t/512)*amplitude+64 local b=cos(i*t/256)*amplitude+64 line( @@ -18,7 +18,7 @@ function draw_animated_bg(startx) end -- horizontal lines - for i=startx-1,127,11 do + for i=startx-1,127,9 do local a=sin(i*t/512)*amplitude+64 local b=cos(i*t/256)*amplitude+64 line(